﻿
/* Estilos del modal */
.modald-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

    .modald-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modald-container {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modald-overlay.active .modald-container {
    transform: translateY(0);
}

.modald-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modald-title {
    font-size: 20px;
    font-weight: 600;
    color: #2f3542;
}

.closed-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #a4b0be;
    transition: color 0.2s;
}

    .closed-btn:hover {
        color: #ff4757;
    }

.modald-body {
    margin-bottom: 25px;
    color: #57606f;
    line-height: 1.5;
}

.modald-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modald-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.canceld-btn {
    background-color: #f1f2f6;
    color: #57606f;
}

    .canceld-btn:hover {
        background-color: #dfe4ea;
    }

.deleted-btn {
    background-color: #ff4757;
    color: white;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

    .deleted-btn:hover {
        background-color: #ff6b81;
        transform: translateY(-1px);
        box-shadow: 0 4px 6px rgba(255, 71, 87, 0.3);
    }

/* Icono de advertencia */
.warningd-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .warningd-icon svg {
        width: 60px;
        height: 60px;
        fill: #ffa502;
    }
