/* Navigation Styles */



/* Announcement Bar */

.announcement-bar {

    background: linear-gradient(135deg, var(--cr-pink) 0%, var(--cr-blue) 100%);

    color: white;

    padding: 0.75rem 0;

    text-align: center;

    font-size: 0.9rem;

    font-weight: 500;

    position: relative;

    overflow: hidden;

    z-index: 1001;

}



.announcement-bar::before {

    content: '';

    position: absolute;

    top: -50%;

    left: -50%;

    width: 200%;

    height: 200%;

    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);

    animation: shimmer 3s infinite;

}



@keyframes shimmer {

    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }

    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }

}



.announcement-content {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 1rem;

    flex-wrap: wrap;

}



.announcement-badge {

    background: rgba(255, 255, 255, 0.2);

    padding: 0.25rem 0.75rem;

    border-radius: 20px;

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.3);

    animation: pulse 2s ease-in-out infinite;

}



@keyframes pulse {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.05); }

}

/* WAX Connection Status in Header - Compact Version */
.wax-connection-status {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid transparent;
    border-radius: 20px;
    padding: 0.2rem 0.35rem;
    margin-right: 0.55rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 0.85rem; /* Slightly smaller text */
}

.wax-connection-status.connected {
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.04));
}

.wax-connection-status.disconnected {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.04));
}

.wax-connection-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.wax-connection-status:hover::before {
    left: 100%;
}

.wax-connection-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wax-status-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.4rem;
    animation: statusPulse 2s infinite;
}

.wax-status-icon.connected {
    background: var(--success-green, #10b981);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.wax-status-icon.disconnected {
    background: var(--warning-orange, #f59e0b);
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

@keyframes statusPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2);
    }
}

.wax-status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-navy, #1e293b);
    margin: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.wax-logo {
    width: 18px;
    height: 18px;
    margin-left: 0.4rem;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.wax-connection-status:hover .wax-logo {
    transform: rotate(360deg);
}

.auto-sign-hint {
    font-size: 0.7rem;
    color: var(--medium-gray, #6b7280);
    margin-top: 0.15rem;
    line-height: 1;
}

/* Alternative: Even more minimal version */
.wax-connection-status.minimal {
    padding: 0.35rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

.wax-connection-status.minimal .wax-status-icon {
    width: 6px;
    height: 6px;
    margin-right: 0.35rem;
}

.wax-connection-status.minimal .wax-logo {
    width: 16px;
    height: 16px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .wax-connection-status {
        margin-bottom: 0.75rem;
        margin-right: 0;
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }
}

@media (max-width: 576px) {
    .wax-connection-status {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .wax-logo {
        width: 16px;
        height: 16px;
    }
}



.announcement-link {

    color: white;

    text-decoration: none;

    font-weight: 600;

    border-bottom: 2px solid transparent;

    transition: border-color 0.3s ease;

}



.announcement-link:hover {

    color: white;

    border-bottom-color: white;

}



.announcement-close {

    position: absolute;

    right: 1rem;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.2);

    border: none;

    color: white;

    width: 24px;

    height: 24px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;

}



.announcement-close:hover {

    background: rgba(255, 255, 255, 0.3);

    transform: translateY(-50%) scale(1.1);

}



/* Modern Navigation */

.navbar {

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(218, 29, 73, 0.1);

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);

    padding: 0.75rem 0;

    position: sticky;

    top: 0;

    z-index: 1000;

    transition: all 0.3s ease;

}





.navbar-brand img {

    height: 80px;

    transition: transform 0.3s ease;

}



.navbar-brand:hover img {

    transform: scale(1.05) rotate(-2deg);

}



/* Main Navigation Menu */

.navbar-nav {

    margin-left: 2rem;

}



.nav-link {

    color: var(--dark-navy);

    font-weight: 500;

    padding: 0.6rem 1.2rem;

    margin: 0 0.25rem;

    border-radius: 12px;

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    position: relative;

    overflow: hidden;

}



.nav-link::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(218, 29, 73, 0.1), transparent);

    transition: left 0.6s ease;

}



.nav-link:hover::before {

    left: 100%;

}



.nav-link:hover {

    color: var(--cr-pink);

    background: rgba(218, 29, 73, 0.05);

    transform: translateY(-2px);

}



.nav-link.active {

    background: linear-gradient(135deg, var(--cr-pink), var(--cr-blue));

    color: white;

    box-shadow: 0 4px 15px rgba(218, 29, 73, 0.3);

}



.nav-link.active:hover {

    color: white;

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(218, 29, 73, 0.4);

}



/* Navigation Icons */

.nav-link i {

    margin-right: 0.5rem;

    font-size: 1rem;

    transition: transform 0.3s ease;

}



.nav-link:hover i {

    transform: scale(1.1);

}



/* Dropdown Styling */

.dropdown-menu {

    border: none;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);

    border-radius: 15px;

    padding: 0.75rem;

    margin-top: 0.5rem;

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(10px);

    animation: dropdownFade 0.3s ease;

}



@keyframes dropdownFade {

    from {

        opacity: 0;

        transform: translateY(-10px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.dropdown-item {

    border-radius: 10px;

    padding: 0.6rem 1rem;

    transition: all 0.3s ease;

    font-weight: 500;

}



.dropdown-item:hover {

    background: linear-gradient(135deg, rgba(218, 29, 73, 0.1), rgba(10, 70, 121, 0.1));

    color: var(--cr-pink);

    transform: translateX(5px);

    padding-left: 1.25rem;

}



.dropdown-item i {

    transition: transform 0.3s ease;

}



.dropdown-item:hover i {

    transform: scale(1.2);

}



.dropdown-divider {

    margin: 0.5rem 0;

    opacity: 0.1;

}





.wax-status-icon {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    display: inline-block;

    margin-right: 0.5rem;

    animation: statusPulse 2s infinite;

}



.wax-status-icon.connected {

    background: var(--success-green);

    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);

}



.wax-status-icon.disconnected {

    background: var(--warning-orange);

    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);

}



@keyframes statusPulse {

    0%, 100% { 

        opacity: 1; 

        transform: scale(1);

    }

    50% { 

        opacity: 0.7; 

        transform: scale(1.1);

    }

}



.wax-status-text {

    font-size: 0.875rem;

    font-weight: 600;

    color: var(--dark-navy);

    margin: 0;

    display: flex;

    align-items: center;

}



.wax-logo {

    width: 24px;

    height: 24px;

    margin-left: 0.5rem;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.3);

    transition: transform 0.3s ease;

}



.wax-connection-status:hover .wax-logo {

    transform: rotate(360deg);

}



.auto-sign-hint {

    font-size: 0.75rem;

    color: var(--medium-gray);

    margin-top: 0.25rem;

}



.user-menu-btn {

    background: linear-gradient(135deg, var(--cr-pink), var(--cr-blue));

    border: none;

    color: white;

    padding: 10px 24px;

    border-radius: 25px;

    font-weight: 600;

    display: flex;

    align-items: center;

    gap: 8px;

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    box-shadow: 0 4px 15px rgba(218, 29, 73, 0.3);

}



.user-menu-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 25px rgba(218, 29, 73, 0.4);

    color: white;

}



.user-menu-btn:active {

    transform: translateY(0);

}



/* Mobile Menu Toggle */

.navbar-toggler {

    border: none;

    padding: 0.25rem 0.5rem;

    position: relative;

}



.navbar-toggler:focus {

    box-shadow: none;

}



.navbar-toggler-icon {

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(218, 29, 73, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

    transition: transform 0.3s ease;

}



.navbar-toggler:hover .navbar-toggler-icon {

    transform: scale(1.1);

}



/* Responsive Design */

@media (max-width: 992px) {

    .announcement-bar {

        font-size: 0.85rem;

        padding: 0.5rem 2.5rem 0.5rem 0.5rem;

    }



    .navbar.with-announcement {

        top: 42px;

    }



    .navbar-nav {

        margin-left: 0;

        margin-top: 1rem;

        padding: 1rem;

        background: rgba(248, 250, 252, 0.95);

        border-radius: 15px;

    }

    

    .nav-link {

        margin: 0.25rem 0;

    }

    




    .navbar-brand img {

        height: 60px;

    }

}



@media (max-width: 576px) {

    .announcement-content {

        font-size: 0.8rem;

    }



    .announcement-badge {

        font-size: 0.7rem;

        padding: 0.2rem 0.5rem;

    }

}