/* Pet Adoption Readiness Assessment Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: white;
    padding: 30px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.tagline {
    color: var(--gray);
    font-size: 1.1rem;
}

section {
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

section.intro {
    border-left: 4px solid var(--primary);
}

.question-group {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.question-group legend {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.question {
    margin-bottom: 20px;
}

.question p {
    margin-bottom: 10px;
    font-weight: 500;
}

.question label {
    display: block;
    padding: 10px 15px;
    margin-bottom: 5px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.question label:hover {
    background: #f1f5f9;
    border-color: var(--primary);
}

.question input[type="radio"] {
    margin-right: 10px;
}

.progress-bar {
    height: 10px;
    background: var(--border);
    border-radius: 5px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #047857;
}

.hidden {
    display: none;
}

.score-display {
    text-align: center;
    margin: 20px 0;
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
}

.readiness-badge {
    text-align: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.3rem;
    margin: 20px 0;
    display: inline-block;
}

.readiness-not-ready { background: #fee2e2; color: var(--danger); }
.readiness-getting-ready { background: #fef3c7; color: var(--warning); }
.readiness-ready { background: #dcfce7; color: var(--secondary); }
.readiness-very-ready { background: #bbf7d0; color: #166534; }

.recommendations ul {
    margin-top: 15px;
    padding-left: 20px;
}

.recommendations li {
    margin-bottom: 10px;
}

.action-buttons {
    margin-top: 25px;
}

.support-content h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.score-guide h3, .common-mistakes h3, .shelter-tips h3 {
    color: var(--primary);
    margin: 20px 0 10px;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: var(--gray);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 600px) {
    header h1 { font-size: 1.8rem; }
    .container { padding: 0 15px; }
    section { padding: 20px; }
    .question-group { padding: 15px; }
    .btn-primary, .btn-secondary { width: 100%; margin-right: 0; }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
