/* ───────────────────────────────────────────────────────────
   Beauty Poradca — dotazník (wizard), v štýle perfectspa.sk
   Tokeny: primary #201E43 · secondary #508C9B · muted #134B70 · light #eee
   Názvy tried zodpovedajú výstupu z beauty-poradca-form.js
   ─────────────────────────────────────────────────────────── */
.bp-form {
    font-family: Poppins, sans-serif;
    color: #134B70;
    background: #fff;
    /* header je position:absolute → odsadenie, aby obsah nešiel pod neho */
    padding-top: 160px;
    min-height: 100vh;
}
.bp-form *, .bp-form *::before, .bp-form *::after { box-sizing: border-box; }

/* ── PROGRESS BAR ── */
.bp-form .nav-progress { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.bp-form .nav-progress .pcount { font-size: 13px; color: #508C9B; font-weight: 600; }
.bp-form .nav-progress .pbar { width: 120px; height: 5px; background: #eee; border-radius: 4px; overflow: hidden; }
.bp-form .nav-progress .pfill { height: 100%; background: #508C9B; transition: width .4s ease; }

/* ── CANVAS ── */
.bp-form .bp-canvas { max-width: 620px; margin: 0 auto; padding: 24px 20px 100px; }

/* ── INTRO ── */
.bp-form .intro-label {
    display: inline-block;
    font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
    color: #508C9B; font-weight: 600; margin-bottom: 18px;
}
.bp-form .intro h1 { font-size: 40px; font-weight: 500; color: #201E43; line-height: 120%; margin: 0 0 20px; }
.bp-form .intro-lead { color: #134B70; font-size: 18px; line-height: 160%; margin-bottom: 32px; }
.bp-form .intro-features { background: #eee; border-radius: 28px; padding: 14px 28px; margin-bottom: 32px; }
.bp-form .intro-feat { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(32,30,67,.08); align-items: center; }
.bp-form .intro-feat:last-child { border-bottom: none; }
.bp-form .intro-feat .num {
    width: 44px; height: 44px; border-radius: 100%;
    background: #508C9B; color: #fff; font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bp-form .intro-feat .title { font-size: 17px; font-weight: 600; color: #201E43; margin-bottom: 2px; }
.bp-form .intro-feat .desc { font-size: 14px; color: #134B70; }

/* ── STEP HEADER ── */
.bp-form .step-header { margin-bottom: 28px; }
.bp-form .step-label { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #508C9B; font-weight: 600; margin-bottom: 10px; }
.bp-form .step-title { font-size: 28px; font-weight: 500; color: #201E43; line-height: 130%; margin-bottom: 10px; }
.bp-form .step-subtitle { font-size: 15px; color: #134B70; line-height: 160%; border-left: 3px solid #508C9B; padding-left: 16px; }

/* ── FIELDS ── */
.bp-form .fields { display: flex; flex-direction: column; gap: 26px; }
.bp-form .field-label { font-size: 16px; font-weight: 600; color: #201E43; display: block; margin-bottom: 12px; line-height: 150%; }
.bp-form .field-label .req { color: #508C9B; margin-left: 3px; }

.bp-form input[type=text],
.bp-form input[type=email],
.bp-form input[type=date],
.bp-form textarea {
    width: 100%;
    padding: 16px 18px;
    background: #fff;
    border: 1.5px solid #e3e6ea;
    border-radius: 16px;
    color: #134B70;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.bp-form input:focus, .bp-form textarea:focus { border-color: #508C9B; box-shadow: 0 0 0 3px rgba(80,140,155,.15); }

/* ── OPTIONS ── */
.bp-form .opts { display: flex; flex-direction: column; gap: 12px; }
.bp-form .opt {
    width: 100%;
    background: #eee;
    border: 1.5px solid #eee;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 16px; font-family: inherit; font-weight: 400;
    text-align: left; cursor: pointer; color: #134B70;
    transition: all .18s;
    display: flex; align-items: center; gap: 14px;
}
.bp-form .opt:hover { border-color: #508C9B; }
.bp-form .opt.selected { border-color: #508C9B; background: rgba(80,140,155,.1); color: #201E43; font-weight: 600; }
.bp-form .opt .check {
    width: 22px; height: 22px; border: 1.5px solid #c7ccd3; border-radius: 50%;
    flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .18s;
}
.bp-form .opt.selected .check { border-color: #508C9B; background: #508C9B; }
.bp-form .opt.selected .check::after { content: ''; width: 9px; height: 9px; background: #fff; border-radius: 50%; }
.bp-form .opt.multi .check { border-radius: 6px; }
.bp-form .opt.multi.selected .check::after { content: '✓'; color: #fff; font-size: 12px; background: transparent; width: auto; height: auto; border-radius: 0; }

/* ── SCALE ── */
.bp-form .scale { display: flex; gap: 8px; }
.bp-form .scale-btn {
    flex: 1; padding: 16px 0;
    background: #eee; border: 1.5px solid #eee; border-radius: 16px;
    font-size: 18px; font-weight: 600; font-family: inherit; color: #134B70;
    cursor: pointer; transition: all .18s;
}
.bp-form .scale-btn:hover { border-color: #508C9B; }
.bp-form .scale-btn.selected { background: #508C9B; border-color: #508C9B; color: #fff; }
.bp-form .scale-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: #508C9B; }

/* ── NAV BUTTONS (mainBtn) ── */
.bp-form .actions { display: flex; gap: 12px; margin-top: 36px; }
.bp-form .btn {
    padding: 16px 32px; font-size: 16px; font-weight: 600; font-family: inherit;
    border: none; border-radius: 25px; cursor: pointer; transition: all .2s;
}
.bp-form .btn-primary { background: #134B70; color: #fff; flex: 1; }
.bp-form .btn-primary:hover:not(:disabled) { background: #201E43; }
.bp-form .btn-primary:disabled { opacity: .4; cursor: not-allowed; }
.bp-form .btn-secondary { background: #fff; color: #134B70; border: 1.5px solid #134B70; }
.bp-form .btn-secondary:hover { background: #134B70; color: #fff; }
.bp-form .btn-full { width: 100%; }

/* ── LOADING ── */
.bp-form .loading { text-align: center; padding: 80px 16px; }
.bp-form .loading-label { font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: #508C9B; margin-bottom: 24px; font-weight: 600; }
.bp-form .loading-title { font-size: 26px; color: #201E43; font-weight: 500; line-height: 140%; }
.bp-form .spinner { width: 40px; height: 40px; border: 3px solid #eee; border-top-color: #508C9B; border-radius: 50%; margin: 28px auto 0; animation: bp-spin .8s linear infinite; }
@keyframes bp-spin { to { transform: rotate(360deg); } }

/* ── RESULT HERO ── */
.bp-form .result-hero {
    background: linear-gradient(160deg, #201E43 0%, #508C9B 100%);
    color: #fff; padding: 32px 28px; border-radius: 28px; margin-bottom: 18px; text-align: center;
}
.bp-form .result-hero-label { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.bp-form .result-hero-text { font-size: 18px; line-height: 160%; font-style: italic; }

/* ── ALERTS ── */
.bp-form .alert-box { background: #fff; border-radius: 18px; padding: 18px 22px; margin-bottom: 14px; box-shadow: 0 2px 16px rgba(32,30,67,.06); border-left: 4px solid; }
.bp-form .alert-contra { border-left-color: #C0392B; }
.bp-form .alert-warning { border-left-color: #E67E22; }
.bp-form .alert-spf { border-left-color: #C9A45C; background: #FBF6EC; }
.bp-form .alert-label { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.bp-form .alert-contra .alert-label { color: #C0392B; }
.bp-form .alert-warning .alert-label { color: #E67E22; }
.bp-form .alert-spf .alert-label { color: #B8860B; }
.bp-form .alert-item { font-size: 14px; color: #134B70; line-height: 160%; margin-bottom: 6px; padding-bottom: 6px; }
.bp-form .alert-item:not(:last-child) { border-bottom: 1px solid rgba(32,30,67,.06); }

/* ── RESULT BLOCKS ── */
.bp-form .block { background: #fff; border: 1px solid #eee; border-radius: 20px; margin-bottom: 14px; overflow: hidden; }
.bp-form .block-header { padding: 14px 22px; font-size: 16px; font-weight: 600; color: #fff; }
.bp-form .block-body { padding: 8px 22px 18px; }
.bp-form .block-item { padding: 14px 0; border-bottom: 1px solid #eee; }
.bp-form .block-item:last-child { border-bottom: none; }
.bp-form .block-item .badge { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #508C9B; margin-bottom: 6px; display: block; }
.bp-form .block-item .badge.prep { color: #C9A45C; }
.bp-form .block-item .badge.secondary { color: #8A93A6; }
.bp-form .block-item .title { font-size: 17px; font-weight: 600; color: #201E43; margin-bottom: 5px; }
.bp-form .block-item .line { font-size: 12px; color: #508C9B; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.bp-form .block-item .desc { font-size: 15px; color: #134B70; line-height: 160%; }
.bp-form .block-lifestyle { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; }
.bp-form .block-lifestyle:last-child { border-bottom: none; }
.bp-form .block-lifestyle .arrow { color: #508C9B; font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.bp-form .block-lifestyle .text { font-size: 15px; color: #134B70; line-height: 160%; }
.bp-form .consult-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; font-size: 13px; color: #8A93A6; font-style: italic; line-height: 150%; }
.bp-form .supp-note { background: rgba(80,140,155,.1); border-radius: 14px; padding: 12px 16px; margin-top: 12px; font-size: 13px; color: #134B70; font-style: italic; line-height: 150%; }

/* ── DISCOUNT ── */
.bp-form .discount-box { background: rgba(80,140,155,.12); border: 1px solid rgba(80,140,155,.3); border-radius: 16px; padding: 16px 18px; margin-top: 14px; }
.bp-form .discount-title { font-size: 14px; font-weight: 700; color: #134B70; margin-bottom: 5px; }
.bp-form .discount-text { font-size: 14px; color: #134B70; line-height: 150%; }
.bp-form .discount-code { font-weight: 700; color: #201E43; letter-spacing: .05em; }

/* ── FOOTER / SUBMIT STATUS ── */
.bp-form .result-footer { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.bp-form .success-box { background: #E8F8EE; border: 1px solid #7AC99A; border-left: 4px solid #2A7A40; border-radius: 16px; padding: 16px 20px; }
.bp-form .success-title { font-size: 15px; font-weight: 700; color: #2A7A40; margin-bottom: 4px; }
.bp-form .success-text { font-size: 14px; color: #3A5A3A; line-height: 150%; }
.bp-form .success-box.error { background: #FCEEEE; border-color: #E2A0A0; border-left-color: #C0392B; }
.bp-form .success-box.error .success-title { color: #C0392B; }
.bp-form .success-box.error .success-text { color: #7a3a3a; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .bp-form { padding-top: 120px; }
}
@media (max-width: 480px) {
    .bp-form .bp-canvas { padding: 16px 14px 100px; }
    .bp-form .intro h1 { font-size: 30px; }
    .bp-form .step-title { font-size: 23px; }
    .bp-form .result-hero-text { font-size: 16px; }
}
