.dentist-calc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #333;
}
.dentist-calc h2 { color: #004a99; margin-top: 0; margin-bottom: 5px; }
.dentist-calc .calc-header { border-bottom: 2px solid #f0f0f0; margin-bottom: 25px; padding-bottom: 15px; }
.dentist-calc .sub-info { font-size: 0.85em; color: #666; margin-top: 5px; }
.dentist-calc .sub-info a { color: #004a99; text-decoration: underline; }
.dentist-calc .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .dentist-calc .form-grid { grid-template-columns: 1fr; } }
.dentist-calc .form-group { display: flex; flex-direction: column; }
.dentist-calc .form-group.full-width { grid-column: 1 / -1; }
.dentist-calc label { font-weight: 600; margin-bottom: 5px; font-size: 0.9em; }
.dentist-calc input, .dentist-calc select { padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 1em; background: white; }
.dentist-calc select { cursor: pointer; }
.dentist-calc small { color: #777; font-size: 0.8em; margin-top: 4px; }
.dentist-calc .button-container { margin-top: 30px; text-align: center; }
.dentist-calc .btn-submit {
    background: #004a99;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.dentist-calc .btn-submit:hover { background: #003366; }
.dentist-calc #result-wrapper { margin-top: 40px; padding: 20px; background: #f9f9f9; border-radius: 10px; border-left: 5px solid #004a99; }
.dentist-calc .result-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin: 20px 0; }
.dentist-calc .result-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-bottom: 1px solid #eee; gap: 10px; }
.dentist-calc .result-item.highlight { background: #eef6ff; padding: 15px; border-radius: 6px; border-bottom: none; }
.dentist-calc .result-item .label { font-weight: 500; line-height: 1.3; }
.dentist-calc .result-item .value { font-weight: 700; font-size: 1.2em; color: #004a99; white-space: nowrap; flex-shrink: 0; }
.dentist-calc .result-item.highlight .value { color: #d9534f; font-size: 1.5em; }
.dentist-calc .disclaimer { font-size: 0.75em; color: #888; line-height: 1.4; margin-top: 20px; }

.dentist-calc .explanation-section {
    margin-top: 40px;
    color: #555;
    line-height: 1.6;
}
.dentist-calc .explanation-section h3 {
    color: #004a99;
    margin-bottom: 15px;
}
.dentist-calc .explanation-section h4 {
    color: #333;
    margin: 20px 0 10px 0;
    font-size: 1.1em;
}
.dentist-calc .formula {
    background: #f0f4f8;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
    color: #004a99;
    margin: 15px 0;
    border: 1px dashed #004a99;
}
.dentist-calc .explanation-list {
    padding-left: 20px;
}
.dentist-calc .explanation-list li {
    margin-bottom: 10px;
}
.dentist-calc .note {
    background: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #ffcc00;
    margin-top: 25px;
    font-size: 0.9em;
}
.dentist-calc hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}
