.model {
    opacity: 0;
    transition: all 1s var(--timing-func) 0s;
    top: calc(50% - 37.5%);
    left: calc(50% - 37.5%);
    z-index: -1;
    width: 90%; 
}

.model-toggle {
    opacity: 1; 
    z-index: 11;
    transition: opacity 1s var(--timing-func) 0s;
}

.model-toggle-remove {
    opacity: 0; 
    z-index: -1;
    transition: opacity 1s var(--timing-func) 0s;
}

.model-negative {
    background-color: rgba(0, 0, 0, 0.9);
    z-index: -1;
    opacity: 0;
    transition: all 1s var(--timing-func) 0s;
}

.model-negative-toggle {
    opacity: 1; 
    z-index: 10;
    transition: all 1s var(--timing-func) 0s;
}

.model-negative-toggle-remove {
    opacity: 0; 
    z-index: -1;
    transition: all 1s var(--timing-func) 0s;
}

.model-close {
    right: 1%;
    top: 1%;
    cursor: pointer;

}

.model-back {
    left: 1%;
    top: 1%;
    cursor: pointer;
}

.number-input-con {
    height: 0;
    transition: all 1s linear 0s;
}

.number-input {
    transform: translateY(-100%);
    transition: all 1s linear 0s;
}

.number-input-con-toggle {
    height: 100%;
    transition: all 1s linear 0s;
}

.number-input-toggle {
    transform: translateY(0%);
    transition: all 1s linear 0s;
}

.monthly-input-con {
    height: 0;
    transition: all 1s linear 0s;
}

.monthly-input {
    transform: translateY(-100%);
    transition: all 1s linear 0s;
}

.monthly-input-con-toggle {
    height: 100%;
    transition: all 1s linear 0s;
}

.monthly-input-toggle {
    transform: translateY(0%);
    transition: all 1s linear 0s;
}

.model-form {
    padding-top: var(--large);
    padding-bottom: var(--large);
}


.model-btn {
    width: 100%; 
}

.model-item {
    display: none;
}

.model-item:first-child {
    display: flex;
}

@media (min-width: 1440px) {
    .model {
        width: 75%; 
    }
    .model-btn {
        width: 99%; 
    }
    .model-form {
        padding-top: var(--xlarge);
        padding-bottom: var(--xlarge);
    }
    
}








