.glass-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.glass-modal-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0px);
}

.glass-modal-content {
    width: 400px;
    max-width: 90vw;
    background: rgba(20, 15, 30, 0.6);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(147, 51, 234, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(147, 51, 234, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(0) scale(1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.glass-modal-wrapper.hidden .glass-modal-content {
    transform: translateY(50px) scale(0.9);
}

.glass-modal-content h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.glass-modal-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 10px;
}

.error-msg {
    color: #ef4444 !important;
    font-size: 0.85rem !important;
    background: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}



.admin-isolated {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 5, 15, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-muted);
}

.admin-isolated:hover {
    border-color: rgba(147, 51, 234, 0.5);
    background: rgba(147, 51, 234, 0.2);
    color: white;
}

.icon-lock-anim svg {
    transition: transform 0.3s;
}

.admin-isolated:hover .icon-lock-anim svg {
    transform: scale(1.1);
}


.admin-bubble {
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.4);
    color: white;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
}

.admin-bubble.hidden {
    display: none;
}

.admin-bubble .admin-text {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-bubble .logout-icon {
    position: absolute;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
    color: #ef4444;
}


.admin-bubble:hover .admin-text {
    opacity: 0;
    transform: translateY(-10px);
}

.admin-bubble:hover .logout-icon {
    opacity: 1;
    transform: scale(1);
}

.icon-x-anim svg {
    transition: transform 0.3s;
}

.admin-bubble:hover .icon-x-anim svg {
    animation: xSpin 0.5s forwards;
}

@keyframes xSpin {
    0% {
        transform: rotate(-90deg) scale(0.5);
    }

    100% {
        transform: rotate(0deg) scale(1.2);
    }
}