/*
 * 아동 발달 진단 체크리스트 스타일
 * 연령별 34가지 발달 실전 관찰 가이드
 */

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

:root {
    --color-primary: #4A90D9;
    --color-primary-dark: #357ABD;
    --color-green: #4CAF50;
    --color-green-light: #E8F5E9;
    --color-yellow: #FFC107;
    --color-yellow-light: #FFF8E1;
    --color-red: #F44336;
    --color-red-light: #FFEBEE;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #f5f7fa;
    --color-white: #fff;
    --color-border: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--color-primary), #6BB3F8);
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.header h1 i {
    margin-right: 10px;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

/* Site Brand & Profile */
.site-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-author {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 3px;
}

/* Mini Brand for Assessment Page */
.header-top {
    margin-bottom: 15px;
}

.mini-brand {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Info Box */
.info-box {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
}

.info-box h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.formula {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    text-align: center;
    margin: 15px 0;
}

.formula .highlight {
    color: var(--color-primary);
    font-weight: 600;
}

/* Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.area-card {
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.area-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.area-card.cognitive .area-icon { background: #FF9E80; }
.area-card.language .area-icon { background: #81D4FA; }
.area-card.social .area-icon { background: #A5D6A7; }
.area-card.emotional .area-icon { background: #F48FB1; }
.area-card.physical .area-icon { background: #CE93D8; }
.area-card.selfcare .area-icon { background: #FFCC80; }

.area-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.area-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.item-count {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Guide Section */
.guide-section {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.guide-section h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.guide-list {
    list-style: none;
}

.guide-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--color-border);
}

.guide-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 3px;
}

.badge i {
    font-size: 0.6rem;
    margin-right: 5px;
}

.badge-green { background: var(--color-green-light); color: var(--color-green); }
.badge-yellow { background: var(--color-yellow-light); color: #F57C00; }
.badge-red { background: var(--color-red-light); color: var(--color-red); }

.example {
    margin-top: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.note {
    margin-top: 8px;
    font-style: italic;
    color: var(--color-text-light);
}

/* Start Form */
.start-section {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.start-section h2 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: var(--color-red);
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.checkbox-item:hover {
    background: #f8f9fa;
}

.checkbox-item input {
    margin-right: 10px;
}

.area-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-left: 30px;
    margin-top: 10px;
}

.btn-start {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--color-primary), #6BB3F8);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-start i {
    margin-right: 10px;
}

/* Application Section */
.application-section {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.application-section h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.application-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.application-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: var(--radius-sm);
    gap: 15px;
}

.application-item.red { background: var(--color-red-light); }
.application-item.yellow { background: var(--color-yellow-light); }
.application-item.green { background: var(--color-green-light); }

.level-badge {
    font-weight: 600;
}

.application-item.red .level-badge { color: var(--color-red); }
.application-item.yellow .level-badge { color: #F57C00; }
.application-item.green .level-badge { color: var(--color-green); }

.application-item i.fa-arrow-right {
    color: var(--color-text-light);
}

.example-text {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.important-note {
    text-align: center;
    padding: 15px;
    background: #FFF3E0;
    border-radius: var(--radius-sm);
    color: #E65100;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ==================== */
/* Assessment Page */
/* ==================== */

.assessment-container {
    max-width: 800px;
}

.assessment-header {
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.header-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.header-info span {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.header-info i {
    margin-right: 5px;
    color: var(--color-primary);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #6BB3F8);
    transition: width 0.3s ease;
}

.progress-text {
    font-weight: 600;
    color: var(--color-primary);
}

.assessment-main {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.item-header {
    border-left: 4px solid;
    padding-left: 20px;
    margin-bottom: 25px;
}

.area-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.area-badge i {
    margin-right: 6px;
}

.item-number {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.item-description {
    color: var(--color-text-light);
}

.age-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #E3F2FD;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.age-indicator i {
    color: var(--color-primary);
}

.age-indicator.lower-age {
    background: #FFF3E0;
}

.age-indicator.lower-age i {
    color: #F57C00;
}

.age-note {
    font-size: 0.85rem;
    color: #F57C00;
}

.standard-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}

.standard-box h3 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.standard-box h3 i {
    margin-right: 8px;
    color: #FFC107;
}

.observation-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.observation-title i {
    margin-right: 8px;
    color: var(--color-primary);
}

.response-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.response-option {
    display: flex;
    cursor: pointer;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    overflow: hidden;
}

.response-option input {
    position: absolute;
    opacity: 0;
}

.response-option .option-content {
    flex: 1;
    padding: 15px 20px;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.option-indicator {
    font-size: 0.7rem;
}

.response-option.red .option-indicator { color: var(--color-red); }
.response-option.yellow .option-indicator { color: var(--color-yellow); }
.response-option.green .option-indicator { color: var(--color-green); }

.option-label {
    font-weight: 600;
}

.option-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.response-option:hover {
    border-color: var(--color-primary);
}

.response-option.selected,
.response-option input:checked + .option-content {
    background: #f8f9fa;
}

.response-option.red.selected,
.response-option.red input:checked ~ .option-content {
    background: var(--color-red-light);
    border-color: var(--color-red);
}

.response-option.yellow.selected,
.response-option.yellow input:checked ~ .option-content {
    background: var(--color-yellow-light);
    border-color: var(--color-yellow);
}

.response-option.green.selected,
.response-option.green input:checked ~ .option-content {
    background: var(--color-green-light);
    border-color: var(--color-green);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.btn-primary,
.btn-secondary {
    padding: 12px 25px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

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

.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.help-note {
    margin-top: 20px;
    padding: 15px;
    background: #FFF8E1;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-note i {
    color: #F57C00;
}

/* Item Navigator */
.item-navigator {
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.item-navigator h4 {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.nav-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    background: #f0f0f0;
    color: var(--color-text-light);
}

.nav-item.current {
    background: var(--color-primary);
    color: white;
    font-weight: bold;
}

.nav-item.completed.green { background: var(--color-green); color: white; }
.nav-item.completed.yellow { background: var(--color-yellow); color: #333; }
.nav-item.completed.red { background: var(--color-red); color: white; }

/* Error Box */
.error-box {
    text-align: center;
    padding: 40px;
}

.error-box i {
    font-size: 3rem;
    color: var(--color-red);
    margin-bottom: 20px;
}

.error-box h2 {
    margin-bottom: 10px;
}

.error-box p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

/* ==================== */
/* Result Page */
/* ==================== */

.result-container {
    max-width: 1000px;
}

.result-header {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--color-primary), #6BB3F8);
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.result-header h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.result-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.result-meta span {
    opacity: 0.9;
}

.result-meta i {
    margin-right: 5px;
}

/* Summary Section */
.result-summary {
    margin-bottom: 30px;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.summary-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.summary-card.level-good .summary-icon {
    background: var(--color-green-light);
    color: var(--color-green);
}

.summary-card.level-normal .summary-icon {
    background: var(--color-yellow-light);
    color: #F57C00;
}

.summary-card.level-concern .summary-icon {
    background: var(--color-red-light);
    color: var(--color-red);
}

.summary-content h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.level-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1rem;
}

.level-good .level-badge { background: var(--color-green); color: white; }
.level-normal .level-badge { background: var(--color-yellow); color: #333; }
.level-concern .level-badge { background: var(--color-red); color: white; }

.summary-content p {
    color: var(--color-text-light);
}

.summary-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.stat-item.green .stat-circle { background: var(--color-green-light); }
.stat-item.yellow .stat-circle { background: var(--color-yellow-light); }
.stat-item.red .stat-circle { background: var(--color-red-light); }

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
}

.stat-item.green .stat-value { color: var(--color-green); }
.stat-item.yellow .stat-value { color: #F57C00; }
.stat-item.red .stat-value { color: var(--color-red); }

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.stat-label i {
    font-size: 0.6rem;
    margin-right: 4px;
}

.stat-item.green .stat-label i { color: var(--color-green); }
.stat-item.yellow .stat-label i { color: var(--color-yellow); }
.stat-item.red .stat-label i { color: var(--color-red); }

/* Area Results */
.area-results {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.area-results h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.area-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.area-result-card {
    background: #fafafa;
    border-radius: var(--radius-sm);
    padding: 20px;
    border-top: 4px solid;
}

.area-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.area-result-card .area-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.area-result-card h3 {
    font-size: 1rem;
}

.area-bar {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.bar-segment {
    transition: width 0.3s;
}

.bar-segment.green { background: var(--color-green); }
.bar-segment.yellow { background: var(--color-yellow); }
.bar-segment.red { background: var(--color-red); }

.area-stats {
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
}

.area-stats span i {
    font-size: 0.6rem;
    margin-right: 4px;
}

.area-stats .green { color: var(--color-green); }
.area-stats .yellow { color: #F57C00; }
.area-stats .red { color: var(--color-red); }

.age-gap-note {
    margin-top: 12px;
    padding: 8px 12px;
    background: #FFF3E0;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #E65100;
}

/* Detail Results Table */
.detail-results {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.detail-results h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.result-table-container {
    overflow-x: auto;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
}

.result-table th,
.result-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.result-table th {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.9rem;
}

.result-table tr:hover {
    background: #fafafa;
}

.area-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    color: white;
    font-size: 0.75rem;
}

.item-assessed-age.below {
    color: #E65100;
}

.gap-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #FFF3E0;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #E65100;
    margin-left: 5px;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.result-badge i {
    font-size: 0.5rem;
    margin-right: 5px;
}

.result-badge.green { background: var(--color-green-light); color: var(--color-green); }
.result-badge.yellow { background: var(--color-yellow-light); color: #F57C00; }
.result-badge.red { background: var(--color-red-light); color: var(--color-red); }

/* Attention Section */
.attention-section {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-red);
}

.attention-section h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-red);
}

.section-desc {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.attention-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.attention-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fafafa;
    border-radius: var(--radius-sm);
}

.attention-item .attention-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.attention-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.attention-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.area-name {
    margin-right: 10px;
}

.gap-info {
    color: #E65100;
}

/* Practice Guide */
.practice-guide {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.practice-guide h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.guide-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.guide-header {
    padding: 12px 15px;
    color: white;
    font-weight: 600;
}

.guide-header i {
    margin-right: 8px;
    font-size: 0.7rem;
}

.guide-card.red .guide-header { background: var(--color-red); }
.guide-card.yellow .guide-header { background: #F57C00; }
.guide-card.green .guide-header { background: var(--color-green); }

.guide-content {
    padding: 15px;
    background: #fafafa;
}

.guide-content p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.important-reminder {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #FFF3E0;
    border-radius: var(--radius-sm);
    text-align: center;
}

.important-reminder i {
    font-size: 1.5rem;
    color: #E65100;
    margin-bottom: 10px;
}

.important-reminder .formula {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--color-primary);
}

/* Result Actions */
.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* Result Footer */
.result-footer {
    text-align: center;
    padding: 25px;
}

.disclaimer {
    padding: 15px;
    background: #E3F2FD;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.disclaimer i {
    margin-right: 8px;
    color: var(--color-primary);
}

.credit {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 1.4rem;
    }

    .summary-card {
        flex-direction: column;
        text-align: center;
    }

    .summary-stats {
        gap: 20px;
    }

    .stat-circle {
        width: 60px;
        height: 60px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .result-actions {
        flex-direction: column;
    }

    .result-actions .btn-primary,
    .result-actions .btn-secondary {
        width: 100%;
    }
}

@media print {
    body {
        background: white;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .result-header {
        background: none;
        color: var(--color-text);
        border: 2px solid var(--color-border);
    }

    .result-table th {
        background: #f0f0f0;
    }
}
