/* =========================================
   RAIN DRY EYE QUIZ – NEW DESIGN
   ========================================= */

/* Wrap & layout */
.secone {
    max-width: 720px;
    margin: 0 auto 48px;
    padding: 0 16px;
}

.secone .container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Quiz card */
.s1box {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px 26px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid #e5e7eb;
}

/* Heading + subheading */
.s1box-hding {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #111827;
    margin: 0 0 6px;
    text-transform: none;
}

.s1box-sub {
    font-size: 14px;
    text-align: center;
    color: #4b5563;
    margin: 0 0 18px;
}

/* Inner container */
.s1innerbox {
    margin-top: 8px;
}

/* Each slide */
.s1innerbox .slide {
    /* JS controls display; no global display rule here */
}

/* Step label */
.stephding {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
    text-align: center;
    margin: 0 0 6px;
}

/* Question text */
.qtn-one {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #111827;
    margin: 0 0 14px;
}

.qtn-note {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

/* Answer lists */
.s1innerbox ul.step-list,
.s1innerbox ul.step1-list,
.s1innerbox ul.step2-list {
    list-style: none;
    margin: 0 auto 10px;
    padding: 0;
    max-width: 420px;
}

.s1innerbox ul.step-list li,
.s1innerbox ul.step1-list li,
.s1innerbox ul.step2-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* Label & input styling */
.s1innerbox ul.step-list li label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 14px;
    color: #111827;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

/* Hover state */
.s1innerbox ul.step-list li label:hover {
    border-color: #fb7185;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.5);
    background: #fef2f2;
}

/* Radio / checkbox styling */
.chkbx {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #9ca3af;
    background: #ffffff;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

/* Checkbox vs radio visual tweak */
input[type="checkbox"].chkbx {
    border-radius: 6px;
}

/* Checked state */
.chkbx:checked {
    border-color: #b91c1c;
    background: #ef4444;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.35);
}

/* Little inner dot/check using pseudo-element */
.chkbx:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: inherit;
    background: #fee2e2;
}

/* Skip this step link */
.skiptxt {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    text-decoration: underline;
    margin: 8px 0 0;
    cursor: pointer;
}

.skiptxt:hover {
    color: #374151;
    text-decoration: none;
}

/* Primary button – big red/orange conversion button */
.s1innerbox .step-btn,
.s1innerbox .finish-btn {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 18px auto 4px;
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(220, 38, 38, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.s1innerbox .step-btn:hover,
.s1innerbox .finish-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 40px rgba(185, 28, 28, 0.6);
}

.s1innerbox .step-btn:active,
.s1innerbox .finish-btn:active {
    transform: translateY(0px);
    box-shadow: 0 8px 20px rgba(185, 28, 28, 0.5);
}

/* Optional arrow icon in button */
.btnarrow {
    width: 18px;
    height: auto;
    margin-left: 6px;
}

/* Analyzing step */
.step4-txt1 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #111827;
    margin: 20px 0 12px;
}

.step4-mid {
    max-width: 420px;
    margin: 12px auto 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

.step4-midlft {
    width: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step4-midrgt {
    flex: 1;
}

.loader {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 3px solid #e5e7eb;
    border-top-color: #ef4444;
    animation: spin 0.7s linear infinite;
}

.loader-txt {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.greencheck {
    width: 40px;
    height: auto;
}

ul.step4-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.step4-list li {
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
    position: relative;
    padding-left: 16px;
}

ul.step4-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #ef4444;
}

/* Extra text after analyzing */
.step4-txt2 {
    font-size: 13px;
    color: #111827;
    text-align: center;
    margin-top: 14px;
}

.sl4-btm {
    text-align: center;
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

.sl4-btm a {
    color: #ef4444;
    text-decoration: underline;
}

/* After-quiz copy */
.after-quiz-copy {
    margin-top: 22px;
    text-align: center;
}

.after-quiz-copy h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px;
}

.after-quiz-copy p {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
}

/* Utility */
.clearall {
    clear: both;
    height: 0;
}

/* Simple spin animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .s1box {
        border-radius: 18px;
        padding: 20px 16px 22px;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
    }
    .s1box-hding {
        font-size: 20px;
    }
    .qtn-one {
        font-size: 17px;
    }
    .s1innerbox ul.step-list,
    .s1innerbox ul.step1-list,
    .s1innerbox ul.step2-list {
        max-width: 100%;
    }
    .step4-mid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* --- CENTER THE QUIZ BUTTON TEXT PERFECTLY --- */
.s1innerbox .step-btn,
.s1innerbox .finish-btn {
    display: flex;                    /* make button a flex container */
    align-items: center;              /* center vertically */
    justify-content: center;          /* center horizontally */

    height: 56px;                     /* clean fixed height */
    padding: 0 22px;                  /* horizontal padding */

    width: 100%;
    max-width: 280px;
    margin: 18px auto 4px;

    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;

    line-height: 1;                   /* kill any inherited tall line-height */
    box-shadow: 0 14px 32px rgba(220, 38, 38, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.s1innerbox .step-btn:hover,
.s1innerbox .finish-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 40px rgba(185, 28, 28, 0.6);
}

.s1innerbox .step-btn:active,
.s1innerbox .finish-btn:active {
    transform: translateY(0px);
    box-shadow: 0 8px 20px rgba(185, 28, 28, 0.5);
}

/* Make sure the arrow icon is centered with text */
.btnarrow {
    display: inline-block;
    margin-left: 8px;
    height: 18px;
    width: auto;
    vertical-align: middle;
}
/* =========================================
   Vision Health Daily – Footer Styles
   ========================================= */

.vh-footer {
    margin-top: 60px;
    padding: 32px 16px 40px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.vh-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Nav links */
.vh-footer-nav {
    font-size: 13px;
    color: #4b5563;
    margin: 0 0 18px;
}

.vh-footer-nav a {
    color: #2563eb;
    text-decoration: none;
    margin: 0 4px;
}

.vh-footer-nav a:hover {
    text-decoration: underline;
}

/* Logo */
.vh-footer-logo {
    margin: 10px 0 10px;
}

.vh-footer-logo img {
    max-width: 200px;
    height: auto;
}

/* Text + tagline */
.vh-footer-text h5 {
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    color: #374151;
    margin: 8px 0 4px;
}

.vh-footer-meta {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 10px;
}

/* Light medical note */
.vh-footer-note {
    max-width: 720px;
    margin: 10px auto 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    text-align: left;
}

@media (max-width: 640px) {
    .vh-footer-note {
        text-align: center;
    }
}