/* ============================================================
   LinguoPrep Exam Selector Quiz — Stylesheet v1.0.0
   Brand colour: #FF752E
   ============================================================ */

/* Wrapper */
.lpeq-wrap {
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ── Header strip ── */
.lpeq-header {
    background: #FF0100;
    border-radius: 14px 14px 0 0;
    padding: 20px 24px 16px;
}

.lpeq-header-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 4px;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.lpeq-header-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 14px;
}

/* Progress bar */
.lpeq-progress-track {
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.lpeq-progress-fill {
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 20%;
}

/* ── Body ── */
.lpeq-body {
    background: #fff;
    border: 1px solid #e8e4df;
    border-top: none;
    border-radius: 0 0 14px 14px;
    padding: 24px;
}

/* Step label */
.lpeq-step-label {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

/* Question text */
.lpeq-question {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 18px;
}

/* ── Options ── */
.lpeq-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.lpeq-opt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid #e0dbd4;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #fff;
}

.lpeq-opt:hover {
    border-color: #FF0100;
    background: #fff8f5;
}

.lpeq-opt-selected {
    border: 2px solid #FF0100 !important;
    background: #fff4ee !important;
}

.lpeq-opt-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.lpeq-opt-text {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

.lpeq-opt-text strong {
    font-weight: 600;
}

.lpeq-opt-text small {
    color: #888;
    font-size: 12px;
}

.lpeq-opt-selected .lpeq-opt-text strong {
    color: #c44e10;
}

/* ── Navigation ── */
.lpeq-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lpeq-btn-back {
    background: none;
    border: 1px solid #d0cbc4;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: border-color 0.15s;
}

.lpeq-btn-back:hover { border-color: #999; color: #333; }

.lpeq-btn-next {
    background: #FF0100;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    margin-left: auto;
}

.lpeq-btn-next:hover:not(:disabled) { background: #e05f1a; }
.lpeq-btn-next:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Result panel ── */
.lpeq-result-badge {
    display: inline-block;
    background: #fff4ee;
    color: #c44e10;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lpeq-result-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.lpeq-result-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Reasons list */
.lpeq-reasons {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.lpeq-reasons li {
    font-size: 13px;
    color: #444;
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
}

.lpeq-reasons li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1d9e75;
    font-weight: 700;
}

/* Also accepted pills */
.lpeq-also {
    background: #f8f6f3;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.lpeq-also-label {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
}

.lpeq-also-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lpeq-pill {
    font-size: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 4px 12px;
    color: #555;
}

/* ── Lead form section ── */
.lpeq-form-section {
    border-top: 1px solid #ebe7e2;
    padding-top: 22px;
    margin-top: 4px;
}

.lpeq-form-header {
    margin-bottom: 18px;
}

.lpeq-form-intro {
    font-size: 14px;
    font-weight: 700;
    color: #FF752E;
    margin: 0 0 4px;
}

.lpeq-form-sub {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* CF7 form overrides — keep them on-brand */
.lpeq-cf7-wrap .wpcf7-form {
    margin: 0;
}

.lpeq-cf7-wrap input[type="text"],
.lpeq-cf7-wrap input[type="email"],
.lpeq-cf7-wrap input[type="tel"],
.lpeq-cf7-wrap select,
.lpeq-cf7-wrap textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    box-sizing: border-box;
    margin-bottom: 12px;
    transition: border-color 0.15s;
    font-family: inherit;
}

.lpeq-cf7-wrap input:focus,
.lpeq-cf7-wrap select:focus,
.lpeq-cf7-wrap textarea:focus {
    border-color: #FF0100;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 117, 46, 0.12);
}

.lpeq-cf7-wrap input[type="submit"],
.lpeq-cf7-wrap .wpcf7-submit {
    background: #FF0100;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
    font-family: inherit;
}

.lpeq-cf7-wrap input[type="submit"]:hover,
.lpeq-cf7-wrap .wpcf7-submit:hover {
    background: #e05f1a;
}

.lpeq-cf7-wrap .wpcf7-not-valid-tip {
    color: #a32d2d;
    font-size: 12px;
}

.lpeq-cf7-wrap .wpcf7-response-output {
    border-radius: 8px;
    font-size: 13px;
    padding: 10px 14px;
    margin-top: 10px;
    border: none;
    background: #eaf3de;
    color: #3b6d11;
}

.lpeq-cf7-wrap .wpcf7-mail-sent-ng,
.lpeq-cf7-wrap .wpcf7-aborted {
    background: #fcebeb;
    color: #a32d2d;
}

/* Restart link */
.lpeq-restart {
    background: none;
    border: none;
    font-size: 13px;
    color: #aaa;
    cursor: pointer;
    display: block;
    margin: 18px auto 0;
    text-decoration: underline;
    padding: 0;
}

.lpeq-restart:hover { color: #666; }

/* ── Responsive ── */
@media (max-width: 480px) {
    .lpeq-body  { padding: 18px 16px; }
    .lpeq-header { padding: 16px 18px 14px; }
    .lpeq-header-title { font-size: 17px; }
    .lpeq-question { font-size: 15px; }
}
