﻿
.modal-overlay {
            display: none; 
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
        }

        /* --- Modal Box --- */
        .modal-content {
            background-color: white;
            margin: 5% auto; 
            width: 700px;    
            max-width: 90%; 
            border-radius: 8px;
            overflow-y: auto; 
            max-height: 85vh; 
            position: relative;
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
        }

        .modal-header {
            background-color: #00264c;
            color: white;
            padding: 20px;
            text-align: center;
        }

.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: white !important; /* Forces the color regardless of other scripts */
}

        .close-x {
            position: absolute;
            right: 15px;
            top: 10px;
            font-size: 28px;
            color: white;
            cursor: pointer;
            line-height: 1;
        }

        /* --- Tab System --- */
        .tab-bar {
            display: flex;
            background: #eee;
            border-bottom: 1px solid #ccc;
        }

        .tab-btn {
            flex: 1;
            padding: 12px;
            border: none;
            outline: none;
            cursor: pointer;
            background: #eee;
            font-weight: bold;
            color: #555;
            transition: 0.3s;
        }

        .tab-btn:hover {
            background: #ddd;
        }

        .tab-btn.active {
            background: white;
            color: #00264c;
            border-bottom: 3px solid #00264c;
        }

        /* --- Content Area --- */
        .tab-content {
            padding: 30px;
            min-height: 100px;
            text-align: left; 
            font-size: 1rem;  
            line-height: 1.6; 
            display: none;  
            color: #333;
        }

        .tab-content.active {
            display: block;
        }

        /* --- Contact List Styling --- */
        .MenuItem2 {
            margin-bottom: 4px;
        }
        .Button {
            font-weight: bold;
            margin-top: 18px;
            margin-bottom: 5px;
            color: #00264c;
            border-bottom: 1px solid #ddd;
            padding-bottom: 3px;
        }

        ul {
            padding-left: 20px;
        }
        li {
            margin-bottom: 10px;
        }