.bmi-cal-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
    padding: 10px;
}

.calculator-box {
    background: #fff;
    padding: 25px;
    border: 1px solid #e1e1e1;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.group-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #444;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.divider {
    border: 0;
    border-top: 1px dashed #eee;
    margin: 30px 0;
}

.slider-item {
    margin-bottom: 10px;
}

.slider-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adjust-btn {
    background: #f1f3f5;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4em;
    color: #495057;
    transition: all 0.2s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    line-height: 1;
}

.adjust-btn:active {
    background: #e9ecef;
    transform: scale(0.92);
}

input[type="range"] {
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.input-dual-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.input-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-col label {
    font-size: 0.8em;
    color: #888;
    font-weight: bold;
    text-align: center;
}

input[type="number"] {
    width: 100%;
    padding: 12px 8px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 1.1em;
    font-family: monospace;
    text-align: center;
    background: #fdfdfd;
    transition: border-color 0.2s;
}

input[type="number"]:focus {
    border-color: #007bff;
    outline: none;
    background: #fff;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Results Section */
.result-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
}

.main-result {
    background: #eef6ff;
    border-color: #cce5ff;
    padding: 20px;
}

.result-label {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
}

.main-result .result-label {
    color: #0056b3;
    font-weight: bold;
}

.result-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.main-result .result-value {
    font-size: 2.2em;
    color: #007bff;
}

.category-result .result-value {
    font-size: 1.8em;
}

.ideal-weight-result {
    background: #fdfdfd;
}

.ideal-weight-result .result-value {
    font-size: 1.2em;
    color: #444;
}

.share-section {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.share-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.share-btn.primary {
    background: #007bff;
    color: white;
}

.share-btn.primary:hover {
    background: #0056b3;
}

.share-btn.secondary {
    background: #f1f3f5;
    color: #495057;
}

.share-btn.secondary:hover {
    background: #e9ecef;
}

.info-section {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

@media (max-width: 500px) {
    .input-dual-row {
        flex-direction: column;
        gap: 10px;
    }
    .result-value {
        font-size: 1.2em;
    }
    .main-result .result-value {
        font-size: 1.8em;
    }
    .category-result .result-value {
        font-size: 1.4em;
    }
}
