/* KSL Consultation Form */
.ksl-cf-wrapper {
    max-width: 680px;
    margin: 0 auto;
    color: #244162;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
.ksl-cf-header {
    margin-bottom: 32px;
}

.ksl-cf-subtitle {
    color: #82c4d9;
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 10px;
    line-height: 1.4;
}

.ksl-cf-title {
    font-size: 28px;
    font-weight: 700;
    color: #244162;
    margin: 0 0 22px;
    line-height: 1.25;
}

/* Progress bar */
.ksl-cf-progress-bar {
    width: 100%;
    height: 8px;
    background: #d6eef5;
    border-radius: 6px;
    overflow: hidden;
}

.ksl-cf-progress-fill {
    height: 100%;
    background: #82c4d9;
    border-radius: 6px;
    transition: width 0.4s ease;
}

/* Steps */
.ksl-cf-step {
    display: none;
}

.ksl-cf-step.active {
    display: block;
    animation: kslFadeIn 0.25s ease;
}

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

/* Question */
.ksl-cf-question {
    font-size: 18px;
    font-weight: 700;
    color: #244162;
    margin: 0 0 22px;
    line-height: 1.4;
}

/* Option buttons */
.ksl-cf-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.ksl-cf-option {
    background: #fff;
    border: 2px solid #82c4d9;
    border-radius: 10px;
    padding: 13px 18px;
    text-align: left;
    font-size: 16px;
    color: #244162;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-family: inherit;
    line-height: 1.4;
}

.ksl-cf-option:hover {
    border-color: #244162;
    background: #f0f8fb;
}

.ksl-cf-option.ksl-selected {
    border-color: #244162;
    background: #e6f4f9;
}

.ksl-cf-icon {
    font-size: 18px;
    color: #82c4d9;
    line-height: 1;
}

/* Back button */
.ksl-cf-back {
    background: none;
    border: none;
    color: #82c4d9;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
    margin-top: 4px;
    display: inline-block;
}

.ksl-cf-back:hover {
    color: #244162;
}

/* Contact fields */
.ksl-cf-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.ksl-cf-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e2e2;
    border-radius: 8px;
    font-size: 16px;
    background: #f5f4f0;
    color: #244162;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s ease;
    -webkit-appearance: none;
}

.ksl-cf-input:focus {
    border-color: #82c4d9;
    background: #fff;
}

.ksl-cf-input::placeholder {
    color: #bbb;
}

/* Phone row */
.ksl-cf-phone-row {
    display: flex;
    border: 1.5px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f4f0;
    transition: border-color 0.15s ease;
}

.ksl-cf-phone-row:focus-within {
    border-color: #82c4d9;
}

.ksl-cf-phone-prefix {
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #244162;
    background: #ebebeb;
    border-right: 1.5px solid #e2e2e2;
    white-space: nowrap;
    display: flex;
    align-items: center;
    user-select: none;
}

.ksl-cf-phone-input {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
    background: #f5f4f0 !important;
    min-width: 0;
}

.ksl-cf-phone-row:focus-within .ksl-cf-phone-input {
    background: #fff !important;
}

/* Error */
.ksl-cf-error {
    color: #c0392b;
    font-size: 14px;
    margin: 0;
    min-height: 0;
    display: none;
}

.ksl-cf-error.visible {
    display: block;
}

/* Submit button */
.ksl-cf-submit-btn {
    width: 100%;
    padding: 20px;
    background: #82c4d9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    margin-top: 4px;
}

.ksl-cf-submit-btn:hover {
    background: #6ab3cb;
}

.ksl-cf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ksl-cf-arrow {
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
}

/* Success message */
.ksl-cf-success {
    display: none;
    text-align: center;
    padding: 48px 20px;
}

.ksl-cf-success h3 {
    font-size: 24px;
    color: #244162;
    margin: 0 0 12px;
}

.ksl-cf-success p {
    color: #82c4d9;
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .ksl-cf-title {
        font-size: 22px;
    }
    .ksl-cf-question {
        font-size: 16px;
    }
    .ksl-cf-option {
        padding: 12px 14px;
        font-size: 15px;
    }
}
