/* calculator 전용 스타일 (스코프 제거해서 전역과 동일하게 적용) */
.patient-container {
    font-family: 'Inter', sans-serif;
    background-color: #f7fafc;
    color: #2d3748;
}

.container {
    width: 100%;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 2rem;
    margin-left: auto;
    background-color: white;
}

.item-container {
    border: 2px solid #e2e8f0;
    margin: 1.5rem 0;
}
.item-board {
    padding : 2rem;

}

h1, h2 {
    margin: 0;
}

h1 {
    font-size: 23px;
    font-weight: 600;
    text-align: center;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00696d;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.laboratory-text-box {
    border: 1px solid #cbd5e0;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.result-div {
    margin-bottom : 2.5rem
}
.result-button {
    background-color: #00878C;
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 1.5rem auto 0;
    margin-bottom: 30px;
}

.result-button:hover {
    background-color: #007277;
}

.small-text-for-desc {
    font-size: 1.0rem !important;
}

sup {
    vertical-align: super;
    font-size: 0.8em;
    top: 0.1em;
}

.error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    display: block;
}

/* Grid layout for input items */
#items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;

}

#items > .input-group {
    flex: 1 1 45%;
    min-width: 200px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-top:  4px solid #007277;
    border-right: 1px solid ;
    border-bottom: 1px solid;
    border-left: 1px solid;
    margin-top : 3rem;
    margin-bottom: 25px;
}

th, td {
    padding: 0.75rem;
    text-align: left;
}

th {
    font-weight: 600;
    background-color: #F0F1F2;
}
tr.border-r th {
    border-right: 1px solid #e2e8f0;
}

td.thead-bg {
    background-color: #F0F1F2;
}
tr.border-r td {
    border-right: 1px solid #e2e8f0;
}

tr.border-b td {
    border-bottom: 1px solid #e2e8f0;
}

.text-sm {
    font-size: 0.875rem;
    color: #4a5568;
}

.text-color-theme {
    color : #007277;
}

.text-color-darkgray {
    color: #4A5568 !important;
}

.space-y-1 p + p {
    margin-top: 0.25rem;
}

.hidden {
    display: none !important;
}

input[type="radio"] {
    cursor: pointer;
}

.radio-group label {
    cursor: pointer;
    font-weight: normal;
}

.link-hover a:hover {
    cursor : pointer;
    color : #00696d !important;
}

.bottom-div {
    margin-top: 30px;
}

.bottom-div,
.bottom-div p,
.bottom-div a {
    font-size: 1.0rem !important;
}

.bottom-sub-div {
    margin-top: 7px;
}

.bottom-sub-div p {
    margin: 0 0 4px 0;
}