﻿.logout-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    padding: 15px 20px;
    animation: fadeIn 0.3s ease;
    max-width: 300px;
    width: 90%;
}

.logout-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .logout-content span {
        font-size: 16px;
        color: #333;
    }

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0 0 0 15px;
}

    .close-btn:hover {
        color: #333;
    }

/* Overlay para oscurecer el fondo cuando se muestra la notificación */
.logout-notification::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Ajustes responsivos */
@media (max-width: 576px) {
    .logout-notification {
        max-width: 250px;
    }

    .logout-content span {
        font-size: 14px;
    }
}
