@keyframes fadeInModal {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-overlay.hidden {
    display: none;
}

.modal-creation {
    width: 38%;
    min-width: 340px;
    min-height: 39%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    flex-shrink: 0;
    padding: 2rem 2.1rem;

    border-radius: 3.125rem;
    background: #FFF;
    box-shadow: var(--shadow-objects);
    animation: fadeInModal 0.3s ease-out forwards;
}

.modal-close {
    width: 5%;
}

.modal-close:hover {
    cursor: pointer;
}

.modal-header-text {
    flex: 1 0 0;
    color: #000;
    align-self: stretch;
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 1.7rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.modal-buttons {
    display: flex;
    padding: 0 0.625rem;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
}

.toggle-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;

    border-radius: 0.625rem;
    border: 1.4px solid #000;
    background: rgba(255, 255, 255, 0.7);

    font-family: 'Poppins', sans-serif;
    font-size: 0.825rem;
}

.toggle-button-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.toggle-button-left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.toggle-button:hover {
    cursor: pointer;
    background: #b8c8dc;
}

.toggle-button.active {
    background: rgba(150, 165, 189, 0.70);
}

.toggle-button.active:hover {
    background: rgba(150, 165, 189, 0.70);
}

.navigator-do-down {
    width: 0.75rem;
    height: 1.25rem;
    flex-shrink: 0;
    fill: #646060;
    cursor: pointer;
}

.modal-close-page {
    position: fixed;
    transform: translate(-50%, -50%);
    background: white;
    border: 1.4px solid black;
    z-index: 1000;
    height: 15vw;
    min-height: 12rem;
    display: flex;
    align-items: flex-start;
    gap:0.1rem;
    flex-direction: column;
}

.modal-buttons-close {
    gap: 0.625rem;
}