/* ============================================
   CALCULATOR-SPECIFIC STYLES
   Based on CONVERTER design system
   ============================================ */

/* Upload Section - Main Calculator Area */
.upload-section {
    margin: 2rem 0;
    width: 100%;
    background: var(--card-bg, rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .upload-section {
    background: rgba(0, 0, 0, 0.6);
}

.upload-container {
    max-width: 710px;
    margin: 0 auto;
}

.upload-container h4 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .upload-container h4 {
    color: #fff;
}

@media (max-width: 768px) {
    .upload-container h4 {
        font-size: 1.125rem;
    }
}

/* Converter Grid Layout */
.converter-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .converter-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Converter Box */
.converter-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.converter-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 0.25rem;
}

[data-theme="dark"] .converter-label {
    color: #fff;
}

@media (max-width: 768px) {
    .converter-label {
        text-align: left;
    }
}

/* Converter Input */
.converter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--input-bg, #fff);
    color: var(--text-primary, #333);
}

/* Date Input - Larger size for better visibility */
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    background: var(--input-bg, #fff);
    color: var(--text-primary, #333);
}

@media (min-width: 768px) {

    input[type="date"],
    input[type="time"],
    input[type="datetime-local"] {
        padding: 1.5rem 2rem;
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {

    input[type="date"],
    input[type="time"],
    input[type="datetime-local"] {
        padding: 1.75rem 2.5rem;
        font-size: 1.75rem;
    }
}

[data-theme="dark"] .converter-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] input[type="date"],
[data-theme="dark"] input[type="time"],
[data-theme="dark"] input[type="datetime-local"] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    color-scheme: dark;
}

.converter-input:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.converter-input:read-only {
    background: rgba(59, 130, 246, 0.05);
    cursor: not-allowed;
}

[data-theme="dark"] .converter-input:read-only {
    background: rgba(59, 130, 246, 0.1);
}

/* Converter Select */
.converter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--input-bg, #fff);
    color: var(--text-primary, #333);
    cursor: pointer;
}

[data-theme="dark"] .converter-select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.converter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.converter-select:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

/* Swap Button */
.swap-btn {
    align-self: center;
    margin-top: 1.5rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.swap-btn:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.swap-btn:active {
    transform: scale(0.95) rotate(180deg);
}

@media (max-width: 768px) {
    .swap-btn {
        margin-top: 0;
        align-self: center;
        justify-self: center;
    }
}

/* Calculator Section */
.calculator-section {
    margin: 2rem 0;
    width: 100%;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Calculator Header (Title inside container) */
.calculator-header {
    text-align: center;
    margin-bottom: 1.5rem;
    grid-column: 1 / -1;
}

.calculator-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .calculator-header h2 {
    color: var(--text-primary-dark, #fff);
}

@media (min-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .calculator-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .calculator-header h2 {
        font-size: 1.25rem;
    }
}

/* Calculator Inputs */
.calculator-inputs {
    background: var(--card-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .calculator-inputs {
    background: rgba(45, 45, 45, 0.7);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .input-group label {
    color: var(--text-primary-dark, #fff);
}

.optional-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    background: rgba(107, 114, 128, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
}

.input-with-unit {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.input-with-unit input {
    flex: 1;
}

input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--input-bg, #fff);
    color: var(--text-primary, #333);
}

[data-theme="dark"] input[type="number"] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

input[type="number"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-hint {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Unit Toggle */
.unit-toggle {
    display: flex;
    gap: 0.25rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 0.25rem;
}

[data-theme="dark"] .unit-toggle {
    background: rgba(255, 255, 255, 0.05);
}

.unit-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary, #666);
}

[data-theme="dark"] .unit-btn {
    color: #999;
}

.unit-btn.active {
    background: #3b82f6;
    color: #fff;
}

.unit-btn:hover:not(.active) {
    background: rgba(59, 130, 246, 0.1);
}

/* Gender Toggle */
.gender-toggle {
    display: flex;
    gap: 0.5rem;
}

.gender-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: var(--input-bg, #fff);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .gender-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.gender-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-color: #3b82f6;
    color: #fff;
}

.gender-btn:hover:not(.active) {
    border-color: #3b82f6;
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Error Message */
.error-message {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #991b1b;
    font-size: 0.875rem;
    margin-top: 1rem;
}

[data-theme="dark"] .error-message {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

/* Calculator Results */
.calculator-results {
    position: sticky;
    top: 2rem;
}

.result-card {
    background: var(--card-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .result-card {
    background: rgba(45, 45, 45, 0.7);
}

.result-card h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .result-card h3 {
    color: #fff;
}

.bmi-value-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.bmi-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bmi-category-display {
    margin-bottom: 1.5rem;
}

.category-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 2px solid;
}

.category-icon {
    font-size: 1.5rem;
}

.category-bar {
    height: 8px;
    border-radius: 4px;
    transition: all 0.5s ease;
}

.health-status {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.health-status h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .health-status h4 {
    color: #fff;
}

.health-status p {
    margin: 0;
    color: var(--text-secondary, #666);
    line-height: 1.6;
}

[data-theme="dark"] .health-status p {
    color: #ccc;
}

.recommendations h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .recommendations h4 {
    color: #fff;
}

.recommendations ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-secondary, #666);
}

[data-theme="dark"] .recommendations ul {
    color: #ccc;
}

.recommendations li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.recalculate-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.recalculate-btn:hover {
    background: #3b82f6;
    color: #fff;
}

/* Usage Guide Section */
.usage-guide-section {
    margin: 1.75rem 0;
    width: 100%;
}

.usage-guide-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .usage-guide-section h3 {
    color: #fff;
}

.section-description {
    text-align: center;
    color: var(--text-secondary, #666);
    margin-bottom: 2rem;
}

[data-theme="dark"] .section-description {
    color: #ccc;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.step {
    background: var(--card-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .step {
    background: rgba(45, 45, 45, 0.7);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h4 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .step-header h4 {
    color: #fff;
}

.step-content p {
    margin: 0;
    color: var(--text-secondary, #666);
    line-height: 1.6;
}

[data-theme="dark"] .step-content p {
    color: #ccc;
}

/* Examples Section */
.examples-section {
    margin: 1.75rem 0;
    width: 100%;
}

.examples-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .examples-section h3 {
    color: #fff;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.example-card {
    background: var(--card-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

[data-theme="dark"] .example-card {
    background: rgba(45, 45, 45, 0.7);
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.example-normal {
    border-color: #10b981;
}

.example-overweight {
    border-color: #f59e0b;
}

.example-underweight {
    border-color: #3b82f6;
}

.example-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.example-icon {
    font-size: 1.5rem;
}

.example-header h4 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .example-header h4 {
    color: #fff;
}

.example-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.example-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .example-detail {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.example-detail .label {
    font-weight: 500;
    color: var(--text-secondary, #666);
}

[data-theme="dark"] .example-detail .label {
    color: #999;
}

.example-detail .value {
    font-weight: 600;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .example-detail .value {
    color: #fff;
}

.example-result {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
}

.example-result .value.bmi-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.example-category {
    text-align: center;
    margin-top: 1rem;
}

.category-badge.normal {
    background: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}

.category-badge.overweight {
    background: #fffbeb;
    color: #92400e;
    border-color: #f59e0b;
}

.category-badge.underweight {
    background: #eff6ff;
    color: #1e40af;
    border-color: #3b82f6;
}

/* Reference Table */
.reference-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.reference-table thead {
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.reference-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary, #333);
    font-size: 0.95rem;
}

[data-theme="dark"] .reference-table th {
    color: #fff;
}

.reference-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .reference-table tbody tr {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.reference-table tbody tr:last-child {
    border-bottom: none;
}

.reference-table td {
    padding: 0.875rem 1rem;
    color: var(--text-secondary, #666);
}

[data-theme="dark"] .reference-table td {
    color: #ccc;
}

.reference-table td:first-child {
    font-weight: 500;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .reference-table td:first-child {
    color: #fff;
}

/* 숫자 컬럼 중앙 정렬 */
.reference-table th:not(:first-child),
.reference-table td:not(:first-child) {
    text-align: center;
}

/* 모바일 표 최적화 */
@media (max-width: 768px) {
    .reference-table th {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }

    .reference-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }

    .info-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Info Section */
.info-section {
    margin: 1.75rem 0;
    width: 100%;
}

.info-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .info-section h3 {
    color: #fff;
}

.info-content {
    background: var(--card-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .info-content {
    background: rgba(45, 45, 45, 0.7);
}

.info-content p {
    color: var(--text-secondary, #666);
    line-height: 1.8;
    margin-bottom: 1rem;
}

[data-theme="dark"] .info-content p {
    color: #ccc;
}

.formula-box {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
}

.formula {
    font-size: 1.125rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .formula {
    color: #fff;
}

.important-notes h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .important-notes h4 {
    color: #fff;
}

.important-notes ul {
    color: var(--text-secondary, #666);
    line-height: 1.8;
}

[data-theme="dark"] .important-notes ul {
    color: #ccc;
}

/* FAQ Section */
.faq-section {
    margin: 1.75rem 0;
    width: 100%;
}

.faq-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .faq-section h3 {
    color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .faq-item {
    background: rgba(45, 45, 45, 0.7);
}

.faq-item h4 {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .faq-item h4 {
    color: #fff;
}

.faq-item h4 i {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-secondary, #666);
    line-height: 1.6;
}

[data-theme="dark"] .faq-item p {
    color: #ccc;
}

/* Related Section */
.related-section {
    margin: 1.75rem 0;
    width: 100%;
}

.related-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .related-section h3 {
    color: #fff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.related-card {
    background: transparent;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

[data-theme="dark"] .related-card {
    background: transparent;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.related-card i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 0.75rem;
}

.related-card h4 {
    margin: 0;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    color: var(--text-primary, #333);
}

[data-theme="dark"] .related-card h4 {
    color: #fff;
}

.related-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
}

[data-theme="dark"] .related-card p {
    color: #ccc;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    /* Header - 네비게이터와 컨테이너 사이 중앙 위치 */
    .header {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .calculator-container {
        grid-template-columns: 1fr;
    }

    .calculator-results {
        position: static;
    }

    .guide-steps,
    .example-grid,
    .faq-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .bmi-number {
        font-size: 3rem;
    }

    .usage-guide-section h3,
    .examples-section h3,
    .info-section h3,
    .faq-section h3,
    .related-section h3 {
        font-size: 1.5rem;
    }
}