/* Admin Logout Confirmation Modal Styles */
.admin-logout-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.admin-logout-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-logout-modal-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(7, 100, 255, 0.3);
    max-width: 450px;
    width: 90%;
    overflow: hidden;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.admin-logout-modal-header {
    background: linear-gradient(to right, #77aaff 0%, #0764ff 51%, #77aaff 100%);
    background-size: 200% auto;
    padding: 30px;
    text-align: center;
    position: relative;
}

.admin-logout-modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: pulse 2s ease-in-out infinite;
}

.admin-logout-modal-icon i {
    font-size: 40px;
    color: #fff;
}

.admin-logout-modal-header h4 {
    color: #fff;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-logout-modal-body {
    padding: 35px 30px;
    text-align: center;
}

.admin-logout-modal-body p {
    font-size: 16px;
    color: #4a5568;
    margin: 0 0 10px;
    line-height: 1.6;
}

.admin-logout-modal-body .admin-info {
    background: linear-gradient(135deg, #e6f0ff 0%, #f0f7ff 100%);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #0764ff;
}

.admin-logout-modal-body .admin-info strong {
    color: #0764ff;
    font-size: 15px;
}

.admin-logout-modal-body .admin-info .admin-badge {
    display: inline-block;
    background: #0764ff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}

.admin-logout-modal-footer {
    padding: 0 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.admin-logout-modal-btn {
    flex: 1;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-logout-modal-btn i {
    font-size: 18px;
}

.admin-logout-modal-btn-cancel {
    background: #e2e8f0;
    color: #4a5568;
}

.admin-logout-modal-btn-cancel:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.admin-logout-modal-btn-confirm {
    background: linear-gradient(to right, #77aaff 0%, #0764ff 51%, #77aaff 100%);
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 4px 15px rgba(7, 100, 255, 0.3);
}

.admin-logout-modal-btn-confirm:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 100, 255, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* Close animation */
.admin-logout-modal-content.closing {
    animation: slideOut 0.3s ease-out forwards;
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .admin-logout-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .admin-logout-modal-header {
        padding: 25px 20px;
    }

    .admin-logout-modal-header h4 {
        font-size: 20px;
    }

    .admin-logout-modal-body {
        padding: 25px 20px;
    }

    .admin-logout-modal-footer {
        padding: 0 20px 25px;
        flex-direction: column;
    }

    .admin-logout-modal-btn {
        width: 100%;
    }
}
