/*login form css*/
.login-card h2 {
    color: #00485c;
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.15;
}

.login-intro {
    color: #7895a4;
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.membership-link {
    display: inline-flex;
    margin: 12px 0 30px;
    background: #ff4a1c;
    color: #fff;
    text-decoration: none;
    border-radius: 7px;
    padding: 14px 22px;
    font-weight: 700;
}

.membership-link:hover {
    background: #e93f15;
    color: #fff;
}

.login-form-wrap {
    margin-top: 20px;
}

.login-form-wrap p {
    margin-bottom: 18px;
}

.login-form-wrap label {
    display: block;
    color: #00485c;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-form-wrap input[type="text"],
.login-form-wrap input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #d9e1e5;
    border-radius: 10px;
    color: #00485c;
    font-size: 16px;
    box-sizing: border-box;
}

.login-form-wrap input[type="submit"] {
    appearance: none;
    border: 0;
    border-radius: 7px;
    padding: 16px 28px;
    background: #ff4a1c;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.login-form-wrap input[type="submit"]:hover {
    background: #e93f15;
}
/*main form css*/

.support-form {
    max-width: 820px;
    margin: 60px auto;
    font-family: inherit;
}

.form-card {
    background: #fff;
    border: 1px solid #168cff;
    border-radius: 8px;
    padding: 48px;
}

.credits-info {
    margin-bottom: 20px;
    color: #00485c;
    font-size: 16px;
    font-weight: 600;
}

.progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 45px;
}

.progress-label {
    color: #ff4a1c;
    font-weight: 700;
    font-size: 13px;
    min-width: 42px;
}

.progress-bar {
    flex: 1;
    height: 5px;
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ff4a1c;
    border-radius: 20px;
    transition: 0.2s ease;
}

.form-step h2 {
    color: #00485c;
    margin-bottom: 28px;
    font-size: 42px;
    line-height: 1.15;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: 0.2s ease;
    background: #fff;
}

.option-card.active,
.option-card:hover {
    border-color: #ff4a1c;
}

.option-card.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f7f7f7;
}

.option-card.disabled:hover {
    border-color: #ddd;
}

.icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: #eef7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.icon svg {
    width: 34px;
    height: 34px;
}

.icon svg path,
.icon svg rect,
.icon svg circle {
    fill: none;
    stroke: #00485c;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: 0.2s ease;
}

.option-card.active .icon {
    background: #fff0eb;
}

.option-card.active svg path,
.option-card.active svg rect,
.option-card.active svg circle {
    stroke: #ff4a1c;
}

.option-card h3 {
    margin: 0 0 4px;
    color: #00485c;
    font-size: 22px;
    line-height: 1.2;
}

.option-card p {
    margin: 0;
    color: #7895a4;
    line-height: 1.5;
}

.credit-warning {
    color: #ff4a1c !important;
    font-weight: 600;
    margin-top: 8px !important;
}

.button-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 34px;
}

.step-1-button-row {
    justify-content: flex-end;
}

.next-btn,
.back-btn {
    appearance: none;
    border: 0;
    border-radius: 7px;
    padding: 16px 28px;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.next-btn {
    background: #ff4a1c;
    color: #fff;
}

.next-btn:hover {
    background: #e93f15;
}

.back-btn {
    background: #eef7fb;
    color: #00485c;
}

.back-btn:hover {
    background: #dceff7;
}

.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.next-btn:disabled:hover {
    background: #ff4a1c;
}

.step-3-fields {
    margin-top: 24px;
}

.step-3-fields h3 {
    color: #00485c;
    margin-bottom: 24px;
    font-size: 28px;
    line-height: 1.2;
}

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    color: #00485c;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #d9e1e5;
    border-radius: 10px;
    background: #fff;
    color: #00485c;
    font-size: 16px;
    outline: none;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: #ff4a1c;
    box-shadow: 0 0 0 3px rgba(255, 74, 28, 0.12);
}

.parsley-errors-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    color: #ff4a1c;
    font-size: 14px;
}

.parsley-error {
    border-color: #ff4a1c !important;
}

@media (max-width: 767px) {

    .support-form {
        margin: 30px 16px;
    }

    .form-card {
        padding: 28px 20px;
    }

    .form-step h2 {
        font-size: 32px;
    }

    .option-card {
        padding: 16px;
        align-items: flex-start;
    }

    .option-card h3 {
        font-size: 19px;
    }

    .button-row {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .step-1-button-row {
        flex-direction: row;
        justify-content: flex-end;
    }

    .next-btn,
    .back-btn {
        width: 100%;
        justify-content: center;
    }

    .step-1-button-row .next-btn {
        width: auto;
    }
}

.form-message {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 10px;
    font-weight: 600;
}

.form-message.success {
    background: #eefbea;
    color: #236b2e;
    border: 1px solid #bce5b8;
}

.form-message.error {
    background: #fff0eb;
    color: #b93612;
    border: 1px solid #ffc7b8;
}