/* Cohabisafe Styles - Mobile Responsive, WCAG 2.2 AA Compliant */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    max-width: 100%;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p, li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Layout */
header, main, footer {
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.progress {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Progress Bar - WCAG Compliant */
.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: #e0e0e0;
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background-color: #007bff;
    transition: width 0.3s ease;
    border-radius: 0.25rem;
}

@media (prefers-color-scheme: dark) {
    .progress-fill {
        background-color: #0d6efd;
    }
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

legend {
    font-weight: 600;
    padding: 0 0.5rem;
}

label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

input, select, textarea, button {
    font: inherit;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    width: 100%;
    max-width: 100%;
}

input:focus, select:focus, textarea:focus, button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

input:invalid:focus, textarea:invalid:focus {
    outline-color: #dc3545;
}

/* Radio Buttons and Checkboxes - High Contrast */
input[type="radio"], input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 600px) {
    .radio-group.likert {
        flex-direction: row;
        justify-content: space-between;
    }
}

.likert label {
    text-align: center;
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.2s;
}

.likert input:checked + label {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Sliders */
input[type="range"] {
    -webkit-appearance: none;
    height: 0.5rem;
    background: #ddd;
    border-radius: 0.25rem;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 1.25rem;
    width: 1.25rem;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007bff;
}

/* Toggle Switches */
.toggle-group {
    display: flex;
    gap: 1rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #ccc;
    background: white;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.toggle-btn[aria-checked="true"] {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.toggle-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Multi-Select Checkboxes */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.optgroup {
    border: 1px solid #ddd;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.optgroup label {
    display: block;
    margin: 0.25rem 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover, .btn-secondary:focus {
    background: #545b62;
}

/* Cards */
.card {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.card li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.recommended {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}

.badge {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

/* Error and Alert */
.error-list, .error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.error-list ul {
    list-style: disc;
    padding-left: 1.5rem;
}

/* Profile Card */
.profile-card {
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.trait-bar {
    background: rgba(255,255,255,0.2);
    height: 1rem;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
    overflow: hidden;
}

.trait-fill {
    height: 100%;
    background: #28a745;
    transition: width 0.5s ease;
}

/* Dashboard Matches */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.match-card {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 1rem;
}

.match-score {
    font-size: 1.25rem;
    font-weight: bold;
    color: #28a745;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    header, main, footer {
        padding: 0.5rem;
    }

    .tier-cards {
        display: flex;
        flex-direction: column;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body { background-color: #000; color: #fff; }
    .progress-bar { background-color: #fff; }
    .progress-fill { background-color: #000; }
    input, select, textarea { border-color: #000; background: #fff; color: #000; }
    .btn-primary { background: #000; color: #fff; }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }

    .card, fieldset {
        background: #1e1e1e;
        border-color: #333;
        color: #e0e0e0;
    }

    input, select, textarea {
        background: #2d2d2d;
        color: #e0e0e0;
        border-color: #444;
    }

    .likert label {
        background: #2d2d2d;
        border-color: #444;
        color: #e0e0e0;
    }

    .likert input:checked + label {
        background: #007bff;
        color: white;
    }
}

/* Focus Visible - WCAG */
*:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #007bff;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

:root {
    --primary-blue: #0056b3;
    --primary-green: #2ECC71;
    --bg-color: #f4f7f9;
    --card-bg: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    margin: 0;
    padding-bottom: 80px; 
}

/* --- Header --- */
.navbar {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { height: 40px; }

.progress-wrapper { flex-grow: 1; margin-left: 30px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-light); margin-bottom: 5px; }
.progress-track { background: #eee; height: 8px; border-radius: 4px; overflow: hidden; }
.progress-fill { background: linear-gradient(90deg, var(--primary-blue), var(--primary-green)); height: 100%; transition: width 0.4s ease; }

/* --- Layout --- */
.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 15px;
}

.step-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end;
    margin-bottom: 30px; 
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}
.step-header h2 { color: var(--primary-blue); margin: 0 0 5px 0; }
.step-header p { color: var(--text-light); margin: 0; }
.section-counter { font-weight: bold; color: var(--primary-green); font-size: 0.9rem; }

/* --- Cards --- */
.question-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    position: relative;
}
.critical-card { border-left: 5px solid var(--primary-green); }
.badge-critical { 
    position: absolute; top: -10px; right: 20px; 
    background: var(--primary-green); color: white; 
    font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; font-weight: bold;
}
.q-num {
    position: absolute; left: -15px; top: 20px;
    background: var(--primary-blue); color: white;
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 0.9rem; font-weight: bold;
}
@media (max-width: 600px) { .q-num { display: none; } } 
.q-label { display: block; font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; line-height: 1.5; }

/* --- Likert --- */
.likert-container { display: flex; justify-content: space-between; gap: 5px; }
.likert-opt { flex: 1; text-align: center; position: relative; }
.likert-opt input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.likert-opt label {
    display: block; padding: 10px 5px; border: 2px solid #eee; border-radius: 8px;
    font-size: 0.85rem; color: var(--text-light); cursor: pointer; transition: all 0.2s; background: #fafafa;
}
.likert-opt label:hover { border-color: var(--primary-blue); color: var(--primary-blue); }
.likert-opt input:checked + label {
    background-color: #e6f0ff; border-color: var(--primary-blue); color: var(--primary-blue); font-weight: bold;
    transform: translateY(-2px); box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
@media (max-width: 600px) {
    .likert-container { flex-direction: column; }
    .likert-opt label { text-align: left; padding-left: 15px; }
}

/* --- Sliders --- */
.slider-wrapper {
    display: flex; align-items: center; gap: 15px;
    background: #f8f9fa; padding: 15px; border-radius: 8px;
}
.styled-slider { flex-grow: 1; cursor: pointer; accent-color: var(--primary-green); }
.slider-label { font-size: 0.85rem; font-weight: bold; color: var(--primary-blue); width: 100px; }
.slider-label.right { text-align: right; }
.slider-value { text-align: center; margin-top: 10px; font-weight: bold; color: var(--primary-green); }

/* --- STYLISTIC TOGGLES (Color Split) --- */
.toggle-wrapper {
    display: flex;
    position: relative;
    background: #e9ecef;
    border-radius: 30px;
    padding: 4px;
    width: fit-content;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.toggle-wrapper input { display: none; }

.toggle-btn {
    position: relative;
    z-index: 2;
    padding: 10px 30px; /* Bigger touch target */
    cursor: pointer;
    font-weight: 700;
    color: #888;
    transition: color 0.3s;
    text-align: center;
    min-width: 120px; /* Wider buttons */
    text-transform: uppercase;
    font-size: 0.9rem;
}

.toggle-bg {
    position: absolute;
    top: 4px; left: 4px;
    height: calc(100% - 8px);
    width: 50%; 
    background: white; /* Default, overridden below */
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), background-color 0.3s;
    z-index: 1;
}

/* Logic for Colors */
/* 1. LEFT SIDE SELECTED */
.toggle-wrapper input:first-of-type:checked ~ .toggle-bg {
    background-color: var(--primary-blue);
    transform: translateX(0%);
}
.toggle-wrapper input:first-of-type:checked + label {
    color: white;
}

/* 2. RIGHT SIDE SELECTED */
.toggle-wrapper input:last-of-type:checked ~ .toggle-bg {
    background-color: var(--primary-green);
    transform: translateX(100%);
}
.toggle-wrapper input:last-of-type:checked + label {
    color: white;
}


/* --- Navigation --- */
.quiz-nav { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.btn-primary, .btn-secondary, .btn-success {
    padding: 12px 30px; border: none; border-radius: 30px; font-size: 1rem; cursor: pointer; font-weight: bold; transition: transform 0.1s;
}
.btn-primary { background: var(--primary-blue); color: white; }
.btn-secondary { background: #e0e0e0; color: #333; }
.btn-success { background: var(--primary-green); color: white; }
.btn-primary:hover, .btn-success:hover { opacity: 0.9; transform: scale(1.02); }
.error-text { color: #e74c3c; text-align: center; margin-top: 15px; font-weight: bold; }
.conditional-text { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; margin-top: 10px; }

/* --- Logo Fix --- */
.logo { height: 100px; } /* Made bigger per request */

/* --- Tooltip Styling --- */
.q-header { display: flex; align-items: center; margin-bottom: 20px; }
.q-label { margin-bottom: 0; flex-grow: 1; margin-right: 10px; font-size: 1.2rem; }
.tooltip-container { position: relative; display: inline-block; cursor: pointer; margin-left: 8px; }
.tooltip-icon { color: #4A90E2; font-size: 1.3rem; }
.tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 10;
    bottom: 140%; /* Position above icon */
    left: 50%;
    margin-left: -110px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    font-weight: normal;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.tooltip-container:hover .tooltip-text { visibility: visible; opacity: 1; }

/* --- WRAPPER 35 TOGGLE (Bigger & Bolder) --- */
.checkbox-wrapper-35 .switch { display: none; }

.checkbox-wrapper-35 .switch + label {
  align-items: center;
  color: #333 !important; /* Forced Black Text */
  cursor: pointer;
  display: flex;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px; /* Increased Font Size */
  line-height: 1.5;
  position: relative;
  user-select: none;
  font-weight: 600;
}

.checkbox-wrapper-35 .switch + label::before,
.checkbox-wrapper-35 .switch + label::after {
  content: '';
  display: block;
}

/* The Track */
.checkbox-wrapper-35 .switch + label::before {
  background-color: #7fffd4; /* Light Aquamarine (Off state) */
  border-radius: 500px;
  height: 30px; /* Doubled Height */
  margin-right: 12px;
  transition: background-color 0.125s ease-out;
  width: 50px; /* Doubled Width */
}

/* The Thumb (Circle) */
.checkbox-wrapper-35 .switch + label::after {
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 1px 0 rgba(37, 34, 71, 0.05), 0 2px 2px 0 rgba(37, 34, 71, 0.1);
  height: 26px; /* Matches Track Height - 4px */
  left: 2px;
  position: absolute;
  top: 2px; /* Centered vertically */
  transition: transform 0.125s ease-out;
  width: 26px;
}

.checkbox-wrapper-35 .switch + label .switch-x-text {
  display: block;
  margin-right: .5em;
  font-size: 1.1rem;
}

.checkbox-wrapper-35 .switch + label .switch-x-toggletext {
  display: block;
  font-weight: bold;
  height: 24px; /* Height to fit text */
  overflow: hidden;
  position: relative;
  width: 100px; /* Much wider to fit text */
  text-align: left;
}

.checkbox-wrapper-35 .switch + label .switch-x-unchecked,
.checkbox-wrapper-35 .switch + label .switch-x-checked {
  left: 0;
  position: absolute;
  top: 0;
  transition: transform 0.125s ease-out, opacity 0.125s ease-out;
  color: #333 !important; /* Ensure text stays black */
}

.checkbox-wrapper-35 .switch + label .switch-x-unchecked { opacity: 1; transform: none; }
.checkbox-wrapper-35 .switch + label .switch-x-checked { opacity: 0; transform: translate3d(0, 100%, 0); }

.checkbox-wrapper-35 .switch + label .switch-x-hiddenlabel { position: absolute; visibility: hidden; }

/* ON STATE COLORS */
.checkbox-wrapper-35 .switch:checked + label::before {
  background-color: #228B22; /* Forest Green (On state) */
}

.checkbox-wrapper-35 .switch:checked + label::after {
  transform: translate3d(20px, 0, 0); /* Move thumb to the right */
}

.checkbox-wrapper-35 .switch:checked + label .switch-x-unchecked {
  opacity: 0;
  transform: translate3d(0, -100%, 0);
}

.checkbox-wrapper-35 .switch:checked + label .switch-x-checked {
  opacity: 1;
  transform: none;
}

/* --- Global Styles (Likert, Cards, etc) --- */
:root {
    --primary-blue: #0056b3;
    --primary-green: #2ECC71;
    --bg-color: #f4f7f9;
    --card-bg: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    margin: 0;
    padding-bottom: 80px; 
}

/* --- Header --- */
.navbar {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-wrapper { flex-grow: 1; margin-left: 30px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-light); margin-bottom: 5px; }
.progress-track { background: #eee; height: 8px; border-radius: 4px; overflow: hidden; }
.progress-fill { background: linear-gradient(90deg, var(--primary-blue), var(--primary-green)); height: 100%; transition: width 0.4s ease; }

/* --- Layout --- */
.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 15px;
}

.step-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end;
    margin-bottom: 30px; 
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}
.step-header h2 { color: var(--primary-blue); margin: 0 0 5px 0; }
.step-header p { color: var(--text-light); margin: 0; }
.section-counter { font-weight: bold; color: var(--primary-green); font-size: 0.9rem; }

/* --- Cards --- */
.question-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    position: relative;
}
.critical-card { border-left: 5px solid var(--primary-green); }
.badge-critical { 
    position: absolute; top: -10px; right: 20px; 
    background: var(--primary-green); color: white; 
    font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; font-weight: bold;
}
.q-num {
    background: var(--primary-blue); color: white;
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 0.9rem; font-weight: bold; margin-right: 10px;
    flex-shrink: 0; /* Prevent shrinking */
}
@media (max-width: 600px) { .q-num { display: none; } } 
.q-label { display: block; font-size: 1.1rem; font-weight: 600; margin-bottom: 0; line-height: 1.5; }

/* --- Likert --- */
.likert-container { display: flex; justify-content: space-between; gap: 5px; margin-top: 15px; }
.likert-opt { flex: 1; text-align: center; position: relative; }
.likert-opt input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.likert-opt label {
    display: block; padding: 10px 5px; border: 2px solid #eee; border-radius: 8px;
    font-size: 0.85rem; color: var(--text-light); cursor: pointer; transition: all 0.2s; background: #fafafa;
}
.likert-opt label:hover { border-color: var(--primary-blue); color: var(--primary-blue); }
.likert-opt input:checked + label {
    background-color: #e6f0ff; border-color: var(--primary-blue); color: var(--primary-blue); font-weight: bold;
    transform: translateY(-2px); box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
@media (max-width: 600px) {
    .likert-container { flex-direction: column; }
    .likert-opt label { text-align: left; padding-left: 15px; }
}

/* --- Sliders --- */
.slider-wrapper {
    display: flex; align-items: center; gap: 15px;
    background: #f8f9fa; padding: 15px; border-radius: 8px; margin-top: 15px;
}
.styled-slider { flex-grow: 1; cursor: pointer; accent-color: var(--primary-green); }
.slider-label { font-size: 0.85rem; font-weight: bold; color: var(--primary-blue); width: 100px; }
.slider-label.right { text-align: right; }
.slider-value { text-align: center; margin-top: 10px; font-weight: bold; color: var(--primary-green); }

/* --- Navigation --- */
.quiz-nav { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.btn-primary, .btn-secondary, .btn-success {
    padding: 12px 30px; border: none; border-radius: 30px; font-size: 1rem; cursor: pointer; font-weight: bold; transition: transform 0.1s;
}
.btn-primary { background: var(--primary-blue); color: white; }
.btn-secondary { background: #e0e0e0; color: #333; }
.btn-success { background: var(--primary-green); color: white; }
.btn-primary:hover, .btn-success:hover { opacity: 0.9; transform: scale(1.02); }
.error-text { color: #e74c3c; text-align: center; margin-top: 15px; font-weight: bold; }
.conditional-text { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; margin-top: 15px; }