/* Simple Order Form Styles */
.simple-order-wrapper {
    background: #F5F5F7 !important;
    padding-bottom: 100px !important;
    padding-top: 45px !important;
    min-height: 70vh;
}

.simple-order-form-content {
    max-width: 508px;
    margin: 0 auto;
}

/* Блок формы */
.simple-order-form-block {
    width: 100%;
    border-radius: 12px;
    background: #FFF;
    padding: 55px;
    margin-bottom: 27px;
}

/* Контейнер для изображения */
.simple-form-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    width: 100%;
}

.simple-form-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.simple-order-form-block-wrap h3 {
    color: var(--text-color-text, #37363C);
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 135%;
    margin-bottom: 32px;
}

/* Поля формы */
.simple-form-item {
    margin-bottom: 20px;
    position: relative;
}

.simple-form-item label {
    color: #37363C;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    top: 6px;
    left: 18px;
    pointer-events: none;
}

.simple-form-item input {
    color: #000;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 400;
    height: 56px;
    width: 100%;
    border: 1px solid #E7D2DB;
    border-radius: 8px;
    padding: 28px 18px 8px 18px;
    transition: border-color 0.3s ease;
}

.simple-form-item input:focus {
    border-color: #8B1D41;
    outline: none;
}

.simple-form-item input.error {
    border-color: #f00;
}

.simple-form-item input::placeholder {
    color: #7F7F9B;
}

/* Сообщения об ошибках */
.error_message {
    display: none;
    color: #f00;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    margin-top: 5px;
    padding-left: 18px;
}

.error_message.show {
    display: block;
}

/* Кнопка отправки */
.simple-form-item-btn {
    margin-top: 30px;
}

.simple-submit-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(90deg, #8B1D41 0%, #B8264B 100%);
    border: none;
    border-radius: 8px;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.simple-submit-btn:active {
    transform: translateY(0);
}

.simple-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Спиннер загрузки */
.spinner {
    animation: rotate 2s linear infinite;
    width: 24px;
    height: 24px;
}

.spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Текст согласия */
.simple-form-item-text {
    margin-top: 20px;
}

.simple-form-item-text p {
    color: #7F7F9B;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
}

/* Блок защиты */
.simple-order-safe-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-order-safe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.simple-order-safe img {
    width: 24px;
    height: 24px;
}

.simple-order-safe h4 {
    color: #7F7F9B;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* Блок успешной отправки */
.simple-order-success-block,
.simple-order-error-block {
    width: 100%;
    border-radius: 12px;
    background: #FFF;
    padding: 55px;
    margin-bottom: 27px;
    text-align: center;
}

.simple-order-success-wrap,
.simple-order-error-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon,
.error-icon {
    margin-bottom: 24px;
}

.simple-order-success-block h3,
.simple-order-error-block h3 {
    color: #37363C;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.simple-order-success-block p,
.simple-order-error-block p {
    color: #7F7F9B;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.simple-back-btn,
.simple-retry-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(90deg, #8B1D41 0%, #B8264B 100%);
    border: none;
    border-radius: 8px;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.simple-back-btn:hover,
.simple-retry-btn:hover {
    opacity: 0.9;
    color: #FFF;
    text-decoration: none;
}


/* Адаптивные стили */
@media (max-width: 768px) {
    .simple-order-form-block,
    .simple-order-success-block,
    .simple-order-error-block {
        padding: 30px 20px;
    }
    
    .simple-order-form-block-wrap h3,
    .simple-order-success-block h3,
    .simple-order-error-block h3 {
        font-size: 20px;
    }
    
    .simple-form-item input {
        font-size: 14px;
    }
    
    .simple-form-image-container {
        margin-bottom: 24px;
    }
    
    .simple-form-image {
        max-width: 90%;
    }
}
