* ===================================
   ФОРМА ДИЛЕРА - bokus:dealer.form
   =================================== */

.dealer-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Успех */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    margin-bottom: 20px;
}

.form-success h3 {
    color: #28a745;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.form-success p {
    color: #495057;
    font-size: 1.05rem;
}

/* Ошибка */
.form-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-error svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Поля формы */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0!important
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

.required {
    color: #e31e24;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e31e24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* CAPTCHA */
.captcha-group .captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Чекбокс */
.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    color: #495057;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
}

.checkbox-label a {
    color: #e31e24;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Кнопка */
.form-submit {
    margin-top: 30px;
}

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    font-size: 1.05rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.3);
}

.form-note {
    text-align: center;
    margin-top: 18px;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-note .note-text {
    display: inline;
}

.form-note .note-phone {
    color: #e31e24;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.form-note .note-phone:hover {
    text-decoration: underline;
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .form-note {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .form-note .note-text,
    .form-note .note-phone {
        display: block;
        text-align: center;
    }
    
    .form-note .note-phone {
        white-space: normal;
        font-size: 1.05rem;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .form-note .note-phone {
        font-size: 1.1rem;
        font-weight: 700;
    }
}

.form-note a {
    color: #e31e24;
    text-decoration: none;
    font-weight: 500;
}

/* Адаптив */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dealer-form-wrapper {
        padding: 20px;
    }
    
    .captcha-group .captcha-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-submit {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
