body.no-scroll {
    overflow: hidden;
}

body.modal-open {
    pointer-events: none;
}

body.modal-open .modal-container {
    pointer-events: auto;
}

.modal-container.hidden {
    display: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(26, 26, 26, 0.5);
    z-index: 1000;
}

.modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--blanco);
    border-radius: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 90%;
    height: auto;
    max-width: 385px;
    z-index: 1001;
}

.modal-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 4rem;
    gap: 2rem;
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.modal-title {
    font-size: 2.4rem;
    font-weight: bold;
    margin: 0;
    color: var(--fondo);
}

.modal-close-button-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1002;
}

.modal-close-button {
    position: absolute;
    top: 0;
    right: 0;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 1rem;
    margin-top: 1rem;
}

.modal-close-button:hover {
    color: #111827;
}

.modal-content {
    width: 100%;
    height: 100%;
}
