/* Basic card/wrap */
.f5-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}
.f5-card {
    background:#fff;
    border-radius: 12px;
    padding:32px 28px 28px;
    box-shadow:0 10px 30px rgba(0,0,0,0.04);
}

/* Errors */
.f5-errors {
    background:#ffecec;
    border-left:4px solid #e53935;
    padding:10px 14px;
    margin-bottom:16px;
    border-radius:4px;
    font-size:14px;
}
.f5-errors ul{margin:0;padding-left:20px}

/* Intro */
.f5-intro {
    margin-bottom:24px;
    text-align:left;
}
.f5-intro-title {
    font-size:28px;
    line-height:1.2;
    margin:0 0 12px;
}
.f5-intro-text {
    font-size:15px;
    max-width:520px;
    margin:0 0 20px;
}

/* Buttons */
.f5-btn {
    display:inline-block;
    border-radius:999px;
    padding:10px 20px;
    font-size:14px;
    line-height:1.2;
    border:1px solid #111;
    background:#fff;
    cursor:pointer;
}
.f5-btn-primary {
    background:#111;
    color:#fff;
    border-color:#111;
}
.f5-btn-ghost {
    background:#fff;
    color:#111;
}

/* Fields */
.f5-fields {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-bottom:24px;
}
.f5-field {
    flex:1 1 200px;
}
.f5-field input[type="text"],
.f5-field input[type="email"]{
    width:100%;
    max-width:100%;
    padding:8px 10px;
    border-radius:6px;
    border:1px solid #ddd;
    font-size:14px;
}

/* Progress bar */
.f5-progress {
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:12px;
    margin-bottom:24px;
}
.f5-progress-count,
.f5-progress-percent {
    font-size:13px;
    font-weight:600;
}
.f5-progress-bar {
    width:100%;
    height:6px;
    background:#f2f2f2;
    border-radius:999px;
    overflow:hidden;
}
.f5-progress-fill {
    height:100%;
    width:0;
    background:#ff9a4a; /* accent */
    border-radius:999px;
    transition:width .25s ease;
}

/* Steps */
.f5-steps-wrap {
    margin-top:16px;
}
.f5-assessment-step {
    margin-bottom:24px;
}
.f5-question-header {
    margin-bottom:8px;
    font-size:13px;
    opacity:.7;
}
.f5-question-text {
    font-size:20px;
    line-height:1.4;
    margin-bottom:18px;
}

/* --- SCALE (1–5 bullets with labels) --- */

.f5-scale-row {
    max-width:520px;
    margin-top:8px;
}

.f5-scale {
    display:flex;
    justify-content:space-between;
    gap:18px;
}

.f5-scale-option {
    flex:1 1 0;
    text-align:center;
    cursor:pointer;
}

.f5-scale-option input[type="radio"] {
    display:none;
}

.f5-scale-dot {
    display:block;
    width:18px;
    height:18px;
    border-radius:50%;
    border:2px solid #111;
    margin:0 auto 4px;
}

.f5-scale-option input[type="radio"]:checked + .f5-scale-dot {
    background:#111;
}

.f5-scale-number {
    display:block;
    font-size:14px;
    margin-top:2px;
    font-weight:500;
}

.f5-scale-label {
    display:block;
    font-size:11px;
    opacity:.8;
    margin-top:2px;
    min-height:14px;
}

/* Step nav */
.f5-step-nav {
    display:flex;
    justify-content:space-between;
    gap:8px;
    margin-top:8px;
}

/* JS behaviour */
.f5-js-enabled .f5-assessment-step { display:none; }
.f5-js-enabled .f5-assessment-step.is-active { display:block; }

/* Hide steps until Start clicked (JS only) */
.f5-js-enabled .f5-steps-wrap { display:none; }
.f5-js-enabled.f5-started .f5-steps-wrap { display:block; }

/* Warning shake when trying to go next without selecting */
.f5-step-warning {
    animation: f5shake 0.3s ease;
    border-left: 3px solid #e74c3c;
    padding-left: 10px;
}

@keyframes f5shake {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-4px); }
    50%  { transform: translateX(4px); }
    75%  { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

/* Small screens */
@media (max-width:600px){
    .f5-card{padding:24px 18px;}
    .f5-intro-title{font-size:22px;}
    .f5-question-text{font-size:18px;}
    .f5-progress{grid-template-columns:1fr;row-gap:6px;}
    .f5-scale { gap:10px; }
    .f5-step-nav{flex-direction:column;align-items:stretch;}
}


/* colored titles */
.area-business .f5-area-title { color:#1A5C91; } 
.area-leadership .f5-area-title { color:#37A0D9; }   /* blue */
.area-execution .f5-area-title { color:#7BC143; }    /* green */
.area-stress .f5-area-title { color:#F6A623; }       /* orange */
.area-self .f5-area-title { color:#7A5BA6; }         /* purple */
