.common-header {
    background-color: white;
    border-bottom: 2px solid #ddd;
    width: 100%;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    position: relative;
}

.header-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.header-brand:hover {
    text-decoration: none;
    color: #333;
}

/* Adjust title visibility or styling if needed */
.header-title {
    color: #f63;
    /* Matching OPIC orange theme */
}

.header-logo {
    height: 40px;
    margin-right: 10px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 5px;
    margin-left: auto;
    margin-right: 15px;
}

/* Header Right - Login + Menu Button Container */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tab {
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    font-size: 16px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.nav-tab:hover {
    color: #f63;
    text-decoration: none;
    background-color: rgba(255, 102, 51, 0.05);
}

.nav-tab.active {
    color: #f63;
    border-bottom: 3px solid #f63;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    .nav-tab {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        border: 1px solid #ddd;
        flex-direction: column;
        width: 100%;
        max-width: 250px;
        z-index: 9999;
        gap: 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-tab {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eee;
        padding: 15px 20px;
        font-size: 16px;
    }

    .nav-tab:last-child {
        border-bottom: none;
    }

    .nav-tab.active {
        border-bottom: 1px solid #eee;
        background-color: #f8f9fa;
        border-left: 5px solid #f63;
        border-bottom-color: #eee;
    }
}

/* Global Shadow Removal & Visibility Fixes */
* {
    box-shadow: none !important;
}

/* Adjustments for elements losing shadow on white background */
.card,
.modal-content,
.dropdown-menu {
    background-color: #f8f9fa !important;
}

/* Header Primary Standardized Margin */
.header-primary {
    margin-top: 1.4rem !important;
}

/* Material Symbols Class */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    margin-top: 0.8rem;
}

/* Animation Utilities */
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ========== Google Auth Styles ========== */
.google-auth-area {
    display: flex;
    align-items: center;
}

.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-user-info {
    display: flex;
    align-items: center;
}

.google-user-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f63;
    cursor: pointer;
    transition: all 0.2s ease;
}

.google-user-pic:hover {
    border-color: #ff8c5a;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        margin-right: 0;
    }

    .google-user-pic {
        width: 32px;
        height: 32px;
    }
}