/* ==================== */
/* ESTILOS PARA EL POPUP DE STATUS */
/* ==================== */

:root {
    --blue: #001e5d;
    --yellow: #edd21b;
    --blue-light: #065df7;
    --white: #fefefb;
    --black: #fefefb;
    --dark-gray: #fefefb;
    --medium-gray: #16213e;
    --light-gray: #0f3460;
    --text-light: #0a0a0a;
    --border-dark: #2a3a5e;
    --red:#b80f0f;
}


#custom-status-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#custom-status-popup.show {
    opacity: 1;
}

.popup-content {
    background-color: var(--dark-gray);
    border-radius: 8px;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--medium-gray);
    animation: fadeInPopup 0.3s ease;
}

.popup-message {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-light);
}

.popup-message.success {
    color: #4caf50;
}

.popup-message.error {
    color: var(--red);
}

.popup-message.loading {
    color: var(--yellow);
}

.popup-button {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    float: right;
    background-color: var(--red);
    color: white;
}

.popup-button:hover {
    background-color: #d62839;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}

@keyframes fadeInPopup {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutPopup {
    from { opacity: 1; }
    to { opacity: 0; }
}