/* ----- Всплывающее окно START ----- */
#modal-pop {
    visibility: hidden;
    opacity: 0;

    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 600px;
    max-height: 90svh;
    border-radius: 15px;
    border: solid 1px rgba(255, 255, 255, 0.5);
    background-color: rgba(33, 37, 41, 1);
    display: block;
    z-index: 6;
    backdrop-filter: blur(10px);
    cursor: default;
    overflow: hidden;
}

#modal-pop-backdrop {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    visibility: hidden;
    opacity: 0;
}
#modal-pop-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 100%;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    column-gap: 10px;
    flex-wrap: wrap;
    padding: 0 10px;
}
#modal-pop-header p {
    white-space: nowrap;
    margin: 0;
    padding: 0;
    font-size: clamp(16px, 5vw, 20px);
}
#modal-pop-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    height: 400px;
    overflow-y: hidden; /* Запрещаем скролл внутри контента */
    touch-action: pan-y; /* Разрешаем вертикальные жесты */
}
#modal-pop-content .input-group-text {
    background-color: rgba(33, 37, 41, 1);
    }
#modal-pop-content #phone {
    background-color: rgba(33, 37, 41, 1);
    color: white;
}
#modal-pop-content #phone::placeholder {
    color: white;
}
#modal-pop-content .fill {
    color: white;
}
#modal-pop-content .form-select {
background-color: rgba(33, 37, 41, 1);
color: white;
    }
#modal-pop-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    bottom: 0;
    height: 50px;
    border-top: solid 1px rgba(255, 255, 255, 0.1);
    
    }
#modal-pop-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    color: white;
}
#form-request {
    row-gap: 20px;
}
.form-select {
    height: 50px;
}
#phone-group-field {
    height: 50px;
}
#modal-pop-btn-submit {
display: flex;
justify-content: center;
align-items: center;
width: 180px;
margin: 0 auto;
height: 50px;
border-radius: 5px;
background-color: white;
color: black;
margin-top: 30px;
margin-bottom: 0px;
transition: 0.2s;
cursor: pointer;
border: none;
padding: 0 40px;
}
#modal-pop-btn-submit:hover {
background-color: #5c636a;
color: white;   
}
#spinner-request-btn {
    position:absolute;

}
.spinner-border {
    --bs-spinner-width: 1.5rem;
    --bs-spinner-height: 1.5rem;
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-border-width: 0.15em;
    --bs-spinner-animation-speed: 0.8s;
    --bs-spinner-animation-name: spinner-border;
    border: var(--bs-spinner-border-width) solid currentcolor;
    border-right-color: transparent;
}




 .form-submit-button.disabledButton {
  opacity: 0.1;
  pointer-events: none;
  cursor: not-allowed;
}

#success-message {
  color: white !important;
  text-align: center !important;
}
#send-error-message {
  color: white !important;
  text-align: center !important;
}
#success-message p, #send-error-message p {
    margin: 2rem 0;
}
#success-message img, #send-error-message img {
    width: 50px;
}
.retry-button {
    width: 180px;
    height: 50px;
}

@media screen and (max-width:992px) {
    #modal-pop {
    width: 90%;
    top: 50% !important;
    }
    #modal-pop-header {
    text-align: center;
    min-height: 50px;
    height: auto;
    padding: 10px 20px;
    }
    #modal-pop-content {

    }
    #modal-pop-footer {
        height: 50px;
    }
    
}
/* ----- Всплывающее окно END ----- */







