/* Секция формы заявки */
.repair-form-section {
    background-color: #fff;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 60px 60px 0;
}

.form-control {
    background-color: #EAEAEA !important;
    border: none !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
}

.form-control::placeholder {
    color: #9B9B9B !important;
}

/* Стили для загрузки файлов */
.file-upload-container {
    height: calc(2 * (3rem + 2 * 15px + 2 * 1px));
    position: relative;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: #EAEAEA;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    padding: 20px;
    border: 2px dashed #9B9B9B;
}

.file-upload-label:hover {
    background-color: #e0e0e0;
}

.file-upload-label i {
    font-size: 32px;
    color: #9B9B9B;
    margin-bottom: 10px;
}

.file-upload-label span {
    color: #9B9B9B;
    font-size: 14px;
}

/* Изображение справа */
.image-container {
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Текст соглашения */
.agreement-text {
    font-size: 12px;
    color: #9B9B9B;
    max-width: 300px;
}

.agreement-text a {
    color: #9B9B9B;
    text-decoration: underline;
}

/* Сообщение об успехе для формы ремонта */
.repair-form-success-message {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.repair-form-success-message .success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.repair-form-success-message p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

/* Анимация появления */
.repair-form-success-message {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптация */
@media (max-width: 991.98px) {
    .form-container {
        padding: 40px !important;
    }
    
    .image-container {
        min-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .form-container {
        padding: 30px !important;
    }
    
    .row.g-0 > .col-lg-6 {
        width: 100%;
    }
    
    .btn {
        width: 100% !important;
    }
    
    .agreement-text {
        max-width: 100%;
    }
}