.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* fondo semitransparente */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.modal-hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    background-color: var(--color-card);
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    font-family: var(--font-family-base);
    color: var(--color-text);
}

.modal-title {
    font-size: var(--font-size-heading);
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: center;
}

.modal-body {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
}

.modal-footer {
    margin-top: 25px;
    text-align: center;
}

.modal-footer .btn {
        background-color: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    font-size: var(--font-size-base);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-footer .btn:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    position: relative;
}

.modal-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-weight: bold;
    color: red;
}

