/* ========================================
   BANNER STYLES - SHARED ACROSS ALL PAGES
   ======================================== */

/* Header - Activity Page Style */
.header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(30, 30, 60, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0; /* Reduced padding for tighter spacing */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Reduced padding for tighter spacing */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem; /* Reduced gap for tighter spacing */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem; /* Reduced gap for tighter spacing */
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem; /* Reduced gap for tighter spacing */
    flex-shrink: 0;
}

/* Hide navigation buttons on mobile */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
}

.nav-btn {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 0.8rem; /* Reduced padding for smaller buttons */
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.4rem; /* Reduced gap for tighter spacing */
    font-size: 0.9rem; /* Smaller font size */
}

.nav-btn:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.nav-btn.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-btn i {
    font-size: 0.9rem; /* Smaller icon size */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.8rem; /* Reduced gap for tighter spacing */
    flex-shrink: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* Reduced gap for tighter spacing */
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-logo-icon {
    width: 32px; /* Reduced size */
    height: 32px; /* Reduced size */
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #282a36;
    font-size: 1.1rem; /* Smaller font size */
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-logo:hover .header-logo-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.4),
        0 0 0 1px rgba(255, 215, 0, 0.3);
}

.header-logo-text {
    font-size: 1.4rem; /* Smaller font size */
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.header-logo:hover .header-logo-text {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.6rem; /* Reduced gap for tighter spacing */
    color: #e0e0e0;
}

.user-avatar {
    width: 32px; /* Reduced size */
    height: 32px; /* Reduced size */
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #282a36;
    font-weight: 700;
    font-size: 1rem; /* Smaller font size */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem; /* Smaller font size */
}

.logout-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.8rem; /* Reduced padding for smaller button */
    font-size: 0.8rem; /* Smaller font size */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem; /* Reduced gap for tighter spacing */
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    white-space: nowrap; /* Prevent text wrapping */
    min-width: fit-content; /* Ensure button is fully visible */
}

.logout-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(30, 30, 60, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding: 0.4rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0.3rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 50px;
}

.mobile-nav-item:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.mobile-nav-item.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.mobile-logout-btn {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.mobile-logout-btn:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0.6rem 0; /* Reduced mobile header padding */
    }

    .header-content {
        padding: 0 1.2rem; /* Reduced mobile padding */
        flex-wrap: wrap;
        gap: 0.8rem; /* Reduced gap */
    }

    .header-left {
        gap: 0.8rem; /* Reduced gap */
    }

    .header-logo-text {
        font-size: 1.2rem; /* Smaller mobile logo size */
    }

    .header-right {
        display: none; /* Hide entire header-right section on mobile */
    }

    .mobile-bottom-nav {
        display: block; /* Show on mobile */
    }

    .user-avatar {
        width: 30px; /* Smaller mobile avatar */
        height: 30px; /* Smaller mobile avatar */
        font-size: 0.9rem;
    }

    .user-name {
        font-size: 0.8rem; /* Smaller mobile username */
    }

    .logout-btn {
        padding: 0.4rem 0.7rem; /* Smaller mobile logout button */
        font-size: 0.7rem; /* Smaller mobile logout text */
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 0.8rem; /* Reduced small mobile padding */
        flex-direction: column;
        align-items: center;
        gap: 0.6rem; /* Reduced gap */
    }

    .header-left {
        gap: 0.5rem; /* Reduced gap */
    }

    .header-logo-text {
        font-size: 1rem; /* Smaller logo for very small screens */
    }

    .header-right {
        display: none; /* Hide entire header-right section on mobile */
    }

    .user-name {
        display: none; /* Hide user name on mobile */
    }

    .logout-btn {
        display: none; /* Hide logout button on mobile */
    }
}