.expert-form-container {
    width: 100%;
    margin: 0 auto;
    background-color: #fca120;
    border-radius: 12px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.expert-form-body {
    padding: 40px 40px 0 40px;
}

.expert-form-header-text {
    margin-bottom: 25px;
    color: #000000;
}

.expert-form-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.expert-form-subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.expert-form-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.expert-form-fields-side {
    width: 60%;
    padding-bottom: 40px;
    z-index: 2;
}

.expert-form-image-side {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.expert-form-image-side img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Строки и поля */
.expert-form-row-triple {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.expert-input-wrap {
    flex: 1;
}

.expert-input {
    width: 100%;
    height: 50px;
    background: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 15px !important;
    font-size: 15px;
    color: #333333;
    box-sizing: border-box;
    outline: none;
}

.expert-form-row-full {
    margin-bottom: 20px;
}

.expert-input.m-full {
    height: 55px !important;
}

/* Капча */
.expert-captcha-row {
    margin-bottom: 20px;
}
.expert-captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.expert-captcha-container img {
    border-radius: 6px;
}
.expert-input.captcha-input {
    max-width: 200px;
}

/* Нижний блок действий */
.expert-form-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.expert-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #000000;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
    white-space: nowrap;
}

.expert-file-btn span {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.expert-form-privacy {
    font-size: 12px;
    line-height: 1.4;
    color: #000000;
    max-width: 350px;
    min-width: 260px;
    background: transparent !important;
}

.expert-form-privacy a {
    color: #000000;
    text-decoration: underline;
    background: transparent !important;
}

.l-checkbox-expert {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    color: #000000;
    background: transparent !important;
}

.l-checkbox-expert input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #1a2e6b;
}

.l-checkbox-expert .privacy-text-span {
    display: inline;
    color: #000000;
    background: transparent !important;
    padding: 0 !important;
}

.privacy-text-span a {
    color: #000000;
    text-decoration: underline;
    background: transparent !important;
}

.expert-submit-btn {
    background-color: #1a2e6b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px 45px !important;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.expert-submit-btn:hover {
    background-color: #11204d !important;
}

.c-form-expert-orange.is-loading .expert-submit-btn {
    cursor: wait;
    opacity: 0.85;
    padding-left: 56px !important;
    position: relative;
}

.c-form-expert-orange.is-loading .expert-submit-btn::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: expert-submit-spin 0.8s linear infinite;
}

.c-form-expert-orange.is-loading .expert-form-container {
    pointer-events: none;
}

@keyframes expert-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

.expert-form-errors, .form-result-new-error {
    background: #fff4f4;
    color: #d93025;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
}

.expert-form-success {
    background: #e6f4ea;
    color: #137333;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
}

@media (max-width: 991px) {
    .expert-form-grid { flex-direction: column; }
    .expert-form-fields-side { width: 100%; padding-bottom: 30px; }
    .expert-form-image-side { width: 100%; justify-content: center; }
    .expert-form-row-bottom { flex-direction: column; align-items: flex-start; }
    .expert-submit-btn { width: 100%; }
}

@media (max-width: 600px) {
    .expert-form-row-triple { flex-direction: column; gap: 10px; }
}
