.baby-form {
    width: 100%;
    border-radius: 12px;
    font-family: inherit;
    max-width: 450px;
}

.baby-form .radio-group {
    display: flex;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-weight: 600;
    justify-content: space-between;
}

.baby-form .radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    font-family: var(--font-family-sans);
    color: var(--color-text-primary);
}

.baby-form .form-group {
    margin-bottom: 16px;
}

.baby-form input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 12px;
    height: 12px;
    border: 2px solid #78B4AB;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 2px 0 0 0;
}

/* Khi được chọn */
input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #78B4AB;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.baby-form input[type="text"],
.baby-form input[type="number"],
.baby-form select {
    width: 100%;
    padding: 10px 16px 12px;
    border: 1px solid var(--color-border);
    background-color: transparent;
    border-radius: 24px;
    height: 44px;
    outline: none;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.baby-form .error-msg {
    font-size: 14px;
    line-height: 18px;
    color: red;
    margin-top: 4px;
}

.baby-form select {
    appearance: none;
    background: url("../images/ic-arrow-down.svg") no-repeat right 12px center/16px auto;
}

.baby-form .btn-submit {
    width: 100%;
    padding: 0 14px;
    border: none;
    border-radius: 40px;
    background: var(--color-primary);
    color: var(--color-surface);
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    height: 48px;
    margin: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.baby-form .btn-submit:hover {
    background: var(--color-text-third);
}

.baby-form .icon path {
    stroke: var(--color-surface);
}

.baby-table tbody tr,
.baby-table thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.baby-table th:nth-child(3),
.baby-table td:nth-child(3) {
    width: 40%;
}

.baby-table th,
.baby-table td {
    width: 20%;
}

.baby-meaning li,
.baby-meaning h3 {
    font-size: 14px;
    line-height: 18px;
    color: #6E7D89;
    margin-bottom: 16px;
    font-weight: 700;
    font-family: var(--font-family-sans);
}

.baby-meaning li {
    font-weight: 400;
}

.baby-intro {
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 18px;
    color: #6E7D89;
    font-weight: 500;
}

.baby-table thead tr th {
    font-size: 16px;
    line-height: 20px;
    color: var(--color-text-primary);
    font-weight: 500;
    padding: 8px 0;
}

.baby-table tbody {
    display: block;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

.baby-table tbody tr td {
    color: #3C5468;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

.baby-table td,
.baby-table th {
    border-color: #6E7D8966;
}

.baby-tabs {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* loadding */
.loading-state {
    width: 24px;
    height: 24px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #ddd;
    border-top-color: var(--color-surface);
    animation: loading 1s linear infinite;
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}