/* Order */

.pop-up {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1;
    justify-content: center;
    align-items: center;
   }
   
.pop-up.active {
    display: flex;
   }
   
.pop-up-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    cursor: pointer;
   }
   
.pop-up-container {
    position: relative;
    /* z-index: 2; */
    display: flex;
    justify-content: center;
    align-items: center;
   }
   
.pop-up-body {
    position: fixed;
    background: radial-gradient(circle, 
    rgba(255,255,255, .9) 0%, 
    rgb(250, 107, 107, 1) 70%, 
    rgba(255, 179, 68, 1) 100%);
    border-radius: 15px;
    text-align: center;
    max-width: 450px; /* Ограничиваем максимальную ширину */
    box-sizing: border-box;
    cursor: move;
    transition: transform 0.3s ease;
    padding: 50px 0px 0px 0px;
    z-index: 1;
   }

.contact-form {
    background: white;
    padding: 20px 0px 20px 0px;
    cursor: default;
    border-radius: 0px 0px 15px 15px;
}
   
.contact-form p {
    font-family: Arial, Helvetica, sans-serif;
    color: #747474;
    margin-top: 10px;
    font-size: 15px;
    padding: 0px 50px;
}

.contact-form h1 {
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    color: #222620;
}

.pop-up-body textarea {
    resize: vertical;
    height: 100px;
    max-height: 200px;
    min-height: 100px;
    margin-bottom: 10px;
}

.pop-up-body textarea::placeholder, input::placeholder {
    font-style: italic;
    opacity: 0.7;
    font-size: 13px;
}

.pop-up-body textarea {
    display: block;
    margin: 15px auto 15px auto;
    width: 330px;
    padding: 17px 20px;
    background-color: rgb(255, 233, 233);
    border-radius: 15px;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: rgb(0, 0, 0);
}

.pop-up-body input {
    margin-top: 10px;
    border-radius: 5px;
    border: none;
    background: #ffefde;
    font-size: 14px;
    width: 80%;
    height: 30px;
    padding-left: 5px;
    box-sizing: border-box;
    color: #5f5f5f;
}

.pop-up-body input:focus, textarea:focus {
    outline: none;
}

.pop-up-body input:hover, textarea:hover {
    background: #fce6ce;
}

.send-pop-up-window {
    margin: auto;
    background-color: transparent;
    border-radius: 20px;
    text-align: center;
    padding: 40px;
    position: absolute;
}

.send-pop-up-window.active {
    transform: translateY(0%) scale(100%);
    background-color: rgba(255, 0, 0, 0.75);
}

/* Базовые стили для кнопки отправки
.pop-up-body #send-pop-up {
    cursor: pointer;
    display: block;
    width: 330px;
    margin: 40px auto 0 auto;
    padding: 20px 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 16px;
    border: none;
    color: white;
    border-radius: 15px;
    background-color: #DC7000;
    transition: all 300ms ease;
}

Стили при наведении
.pop-up-body #send-pop-up:hover {
    cursor: pointer;
    transform: scale(1.03);
} 

/* Стили при блокировке кнопки */
.pop-up-body #send-pop-up[disabled] {
    background-color: #ccc !important;
    cursor: not-allowed !important;
    color: #666 !important;
    pointer-events: none;
}

/* Анимация спиннера */
.pop-up-body #send-pop-up[disabled]::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
