/* ═══════════════════════════════════════════
   Relationship Satisfaction Survey — Styles
   ═══════════════════════════════════════════ */

.rss-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: 'Georgia', serif;
    color: #1a1a1a;
    min-height: 420px;
    position: relative;
}

/* ── Progress ── */
.rss-progress-wrap {
    width: 100%;
    height: 5px;
    background: #e5e7eb;
    border-radius: 99px;
    margin-bottom: 10px;
    overflow: hidden;
}
.rss-progress-bar {
    height: 100%;
    background: var(--rss-accent, #2563EB);
    border-radius: 99px;
    transition: width 0.4s ease;
}
.rss-progress-label {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.03em;
}

/* ── Step ── */
.rss-step {
    animation: rss-fadein 0.3s ease;
}
@keyframes rss-fadein {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rss-q-number {
    font-size: 0.82rem;
    color: #9ca3af;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.rss-q-text {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.55;
    color: #111;
    margin: 0 0 2rem;
}

/* ── Scale Header (Low / High) ── */
.rss-scale-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 4px;
}
.rss-scale-edge {
    font-size: 0.82rem;
    color: #6b7280;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* ── Rating Row ── */
.rss-rating-row {
    display: flex;
    gap: 12px;
    margin-bottom: 2.5rem;
}
.rss-rating-btn {
    flex: 1;
    cursor: pointer;
    position: relative;
}
.rss-rating-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.rss-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #374151;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.rss-rating-btn:hover .rss-num {
    border-color: var(--rss-accent, #2563EB);
    color: var(--rss-accent, #2563EB);
    background: #eff6ff;
    transform: translateY(-2px);
}
.rss-rating-btn input:checked + .rss-num {
    background: var(--rss-accent, #2563EB);
    border-color: var(--rss-accent, #2563EB);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

/* ── Nav Buttons ── */
.rss-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.rss-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}
.rss-btn-back {
    background: #f3f4f6;
    color: #374151;
    border: 1.5px solid #d1d5db;
}
.rss-btn-back:hover { background: #e5e7eb; }
.rss-btn-next,
.rss-btn-submit {
    background: var(--rss-accent, #2563EB);
    color: #fff;
    margin-left: auto;
}
.rss-btn-next:hover,
.rss-btn-submit:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── Error ── */
.rss-error {
    color: #dc2626;
    font-size: 0.88rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-top: 10px;
}

/* ── Contact Form ── */
.rss-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 2rem;
}
.rss-field label {
    display: block;
    font-size: 0.88rem;
    color: #6b7280;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-bottom: 6px;
    font-weight: 500;
}
.rss-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    color: #111;
}
.rss-field input:focus {
    border-color: var(--rss-accent, #2563EB);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

/* ── Thank You ── */
.rss-thanks {
    text-align: center;
    padding: 3rem 1rem;
    animation: rss-fadein 0.4s ease;
}

.rss-thanks-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rss-accent, #2563EB);
    margin: 0 0 1.8rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Circle score */
.rss-score-circle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.rss-score-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--rss-accent, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rss-score-pct {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Raw score line */
.rss-raw-score {
    font-size: 3rem;
    color: #374151;
    margin: 0 0 1.5rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Interpretation / submission box */
.rss-score-display {
    margin-top: 0.5rem;
    padding: 16px 24px;
    background: #f3f4f6;
    border-radius: 8px;
    text-align: center;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.97rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.6;
}


/* ── Responsive ── */
@media (max-width: 500px) {
    .rss-q-text { font-size: 1.1rem; }
    .rss-num { height: 50px; font-size: 1rem; }
    .rss-rating-row { gap: 8px; }
    .rss-btn { padding: 10px 18px; font-size: 0.93rem; }
}
