/* --- 全体的な設定とリセット --- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f4f7f6; /* 全体の背景色 */
    color: #333; /* 基本テキスト色 */
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    box-sizing: border-box;
}

/* ヘッダー・フッターのプレースホルダー */
.header-placeholder, .footer-placeholder {
    text-align: center;
    padding: 15px 0; /* パディングを増やす */
    background-color: #e0f2f7; /* 明るい青系 */
    margin-bottom: 25px; /* マージンを調整 */
    color: #3f51b5; /* 濃い青系 */
    font-size: 1.1em; /* フォントを少し大きく */
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%; /* 幅いっぱいに広げる */
    max-width: 930px; /* コンテナと同じ最大幅 */
    margin-left: auto; /* 中央寄せ */
    margin-right: auto; /* 中央寄せ */
    border-radius: 8px; /* 角丸を付ける */
}
.footer-placeholder {
    margin-top: 30px;
    margin-bottom: 0;
    background-color: #e0e0e0;
    color: #555;
    font-weight: 400;
}


/* --- メインコンテナ --- */
.container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px; /* より丸みを帯びた角 */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* 影を強調 */
    max-width: 930px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto; /* 中央寄せ */
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 35px; /* マージンを調整 */
    font-size: 2.5em; /* フォントを大きく */
    font-weight: 700;
    letter-spacing: 0.02em; /* 文字間隔 */
}

/* --- フォームグループ（項目名と内容の横並び） --- */
.form-group {
    margin-bottom: 28px; /* グループ間の間隔 */
    display: flex;
    align-items: flex-start; /* 上揃え */
    flex-wrap: wrap; /* 小さい画面で折り返す */
    gap: 8px; /* ラベルと入力内容の間の隙間を増やす */
    padding: 8px 0; /* 上下のパディング */
}

.form-group label {
    flex-shrink: 0;
    width: 220px; /* ラベルの固定幅 */
    margin-bottom: 0;
    box-sizing: border-box;
    text-align: left;
    padding-right: 25px; /* ラベルと入力欄の間の余白 */
    font-weight: 700;
    color: #444;
    font-size: 1em;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* **修正**: 必須マークのデザイン */
.required-tag {
    background-color: #e74c3c; /* 赤い背景 */
    color: white; /* 白い文字 */
    font-size: 0.8em; /* 文字サイズ (画像に合わせて) */
    font-weight: 700;
    border-radius: 4px; /* 角丸の四角 (画像に合わせて) */
    padding: 4px 8px; /* パディングを調整 (画像に合わせて) */
    display: flex; /* 文字を中央寄せするため */
    justify-content: center; /* 水平中央寄せ */
    align-items: center; /* 垂直中央寄せ */
    line-height: 1; /* 行高さを調整 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.2); /* 軽い影 */
    margin-right: 8px; /* **追加**: 必須マークと項目名の間隔 (画像に合わせて) */
    flex-shrink: 0; /* 縮まない */
}
/* `(必須)` のテキスト自体は非表示に */
.form-group label .required-tag span {
    display: none;
}
/* 新しい必須マークのテキスト */
.form-group label .required-tag::before {
    content: "必須";
}

/* **修正**: (全角) (半角) の文字サイズ調整 */
.form-group label span.type-note {
    font-size: 0.85em; /* 小さめの文字サイズ (画像に合わせて) */
    font-weight: normal; /* 太字ではなく通常に */
    color: #666;
    margin-left: 5px;
    white-space: nowrap; /* 折り返しを防ぐ */
}

.form-group .input-content {
    flex-grow: 1;
    /* 修正: max-width を親の flex-basis の計算に合わせる */
    /* ラベルの幅 (220px) とギャップ (15px) を引いた残りの領域が input-content に割り当てられる */
    /* これが input-content の最大幅となり、その中の要素はこれを超えない */
    max-width: calc(100% - 220px - 15px);
    box-sizing: border-box; /* パディングやボーダーを含めて幅を計算 */
}

/* 画面幅が狭い場合（ラベルが上に回るとき）の .input-content の調整 */
@media (max-width: 768px) { /* このブレークポイントは適宜調整してください */
    .form-group label {
        width: 100%; /* ラベルが1行を占めるように */
        padding-right: 0; /* 右側の余白をなくす */
        margin-bottom: 8px; /* 下に少しマージンを追加 */
    }
    .form-group .input-content {
        max-width: 100%; /* input-contentが100%の幅を取るように */
    }
    h1 {
        font-size: 1.4em;
        line-height: 1.3;
        margin-bottom: 25px;
    }
}

/* より小さなスマートフォン向け対応 */
@media (max-width: 480px) {
    .container {
        padding: 15px;
        margin: 5px;
    }
    h1 {
        font-size: 1em;
        line-height: 1.2;
        margin-bottom: 20px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}


/* --- 入力フィールドの基本スタイル --- */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea,
.form-group .input-content select.prefecture-select {
    width: 100%; /* input-content の中で常に 100% にする */
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
input[type="text"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #999;
    opacity: 1;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
.form-group .input-content select.prefecture-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
    outline: none;
}

input[readonly] {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.display-value {
    margin: 0;
    padding: 12px 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
    color: #555;
    font-size: 1em;
    word-break: break-all;
    border: 1px solid #ddd;
}

/* --- 複数フィールドグループの調整 --- */
.name-group, .zip-code-group, .customer-num-group, .tel-group, .phone-group, .email-group, .closure-customer-num {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* 修正: お名前（フリガナ）の入力欄が適切に広がるように調整 */
/* .name-group, .email-group 内の input は flex-grow: 1 で親の幅を分割 */
.name-group input, .email-group input {
    flex-grow: 1; /* 親の残りのスペースを均等に埋める */
    /* width: calc(50% - 4px); は flex-grow: 1 と併用すると意図しない挙動になる場合がある */
    /* flex-basis: 0; を削除して、content-box の min-width と flex-grow:1 で制御する */
    min-width: 120px; /* 画像のレイアウトを再現するため、少し大きめの最小幅を設定 */
    box-sizing: border-box;
}

/* 修正: 部屋番号など、単独の input や textarea は .input-content の 100% 幅に追従 */
/* これはデフォルトで width: 100%; が設定されているので、問題なければ特に変更不要 */


/* お客様番号のグループ */
.customer-num-group input, .closure-customer-num input {
    flex-grow: 1;
    min-width: 50px;
    width: auto;
    text-align: center;
}


/* 郵便番号入力欄の個別調整 */
.zip-code-group input {
    width: 80px;
    flex-shrink: 0;
    flex-grow: 0;
    text-align: center;
}
.zip-code-group span {
    display: flex;
    align-items: center;
    height: 48px;
    font-size: 1.2em;
    color: #777;
    margin: 0;
}
.zip-code-group button {
    flex-shrink: 0;
    width: auto;
    padding: 12px 15px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}
.zip-code-group button:hover {
    background-color: #5a6268;
}

/* 電話番号入力欄の個別調整 */
.tel-group input, .phone-group input {
    width: 80px;
    flex-shrink: 0;
    flex-grow: 0;
    text-align: center;
}

.phone-group span {
    display: flex;
    align-items: center;
    height: 48px;
    font-size: 1.2em;
    color: #777;
    margin: 0;
}

/* 補足テキスト */
.note-text {
    font-size: 0.88em;
    color: #777;
    margin-bottom: 8px;
    margin-top: -5px;
    width: 100%;
}

/* エラーメッセージ */
.error-message {
    width: 100%;
    text-align: left;
    margin-top: 5px;
    font-weight: 500;
}
/* エラー枠線をinput-contentに適用 */
.form-group.has-error .input-content {
    border: 1px solid #e74c3c;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}
/* エラー時の個別のinput/textareaの枠線はなし */
.form-group.has-error input:not([type="radio"]):not([type="checkbox"]):not(.prefecture-select),
.form-group.has-error textarea {
    border: none;
}
/* ラジオボタン・チェックボックスのエラー枠線は個別に */
.form-group.has-error .radio-group,
.form-group.has-error .consent-group,
.form-group.has-error .deposit-radio-group {
    border: 1px solid #e74c3c;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}


/* 同意チェックボックスグループ */
.consent-group {
    text-align: center;
    margin-top: 45px;
    border-top: 1px solid #ddd;
    padding-top: 25px;
    display: block;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.consent-group label {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.6;
    font-size: 0.9em;
    color: #333;
    padding: 0 10px;
}
.consent-group input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


/* 定期点検の項目特殊調整 */
.form-group .input-content .gas-name-input {
    width: calc(50% - 4px);
    flex-shrink: 0;
}
.form-group .input-content .gas-tel-input {
    width: 70px;
    flex-shrink: 0;
}

/* セクション小見出し */
.section-heading {
    background-color: #e9ecef;
    padding: 12px 18px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #34495e;
    font-size: 1.1em;
    border-left: 6px solid #3498db;
    flex-shrink: 0;
    width: 220px;
    text-align: left;
    padding-right: 25px;
    box-sizing: border-box;
    margin-right: 15px; /* gap */
}
/* form-group内にある場合、flexアイテムとして扱われるので下マージンは不要 */
.form-group .section-heading {
    margin-bottom: 0;
}


/* 住所サブテキスト */
.address-sub-label {
    font-size: 0.88em;
    color: #777;
    margin-bottom: 8px;
    display: block;
    width: 100%;
}
.contact-method-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.contact-method-group label {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}
.contact-method-group input[type="radio"] {
    margin-right: 8px;
}


/* --- ボタンの共通スタイル --- */
.button-group, .return-button-group {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 25px;
    width: 100%;
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
}
.button-group button, .return-button-group button {
    padding: 15px 35px;
    border: none;
    border-radius: 10px;
    font-size: 1.35em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    flex-grow: 1;
    max-width: 250px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.button-group button[type="submit"] {
    background-color: #28a745;
    color: white;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}
.button-group button[type="submit"]:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}
.button-group button[type="button"], .return-button-group button {
    background-color: #6c757d;
    color: white;
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}
.button-group button[type="button"]:hover, .return-button-group button:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 117, 125, 0.4);
}
.button-group button.btn-warning {
    background-color: #ffc107;
    color: #333;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}
.button-group button.btn-warning:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}
.button-group button.btn-primary {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}
.button-group button.btn-primary:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}


/* --- カレンダー関連のスタイル (screen2.html用) --- */
.legend {
    margin-bottom: 25px;
    padding: 10px 20px;
    background-color: #e8f5e9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 0.8em;
    color: #555;
    text-align: center;
    max-width: 420px; /* カレンダーの幅は維持 */
    margin: 0 auto 25px auto;
}
.legend .ok { color: #28a745; font-weight: bold; }
.legend .ng { color: #dc3545; font-weight: bold; } /* -は赤系に戻す */

.calendar-container {
    width: 100%;
    max-width: 420px; /* カレンダーの最大幅は420pxのまま */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-month {
    padding: 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
}
.calendar-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: normal;
}
.nav-arrow {
    color: #fff;
    text-decoration: none;
    font-size: 1.8em;
    padding: 0 10px;
    transition: color 0.2s ease;
    cursor: pointer;
}
.nav-arrow:hover {
    color: #ecf0f1;
}
.nav-arrow.disabled {
    color: rgba(255,255,255,0.5);
    cursor: default;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

th {
    background-color: #ecf0f1;
    color: #7f8c8d;
    padding: 12px 0;
    font-size: 0.9em;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
}

td {
    border: 1px solid #eee;
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    vertical-align: top;
    overflow: hidden;
    padding-top: calc(100% / 7 + 10px); /* 幅の1/7に加えて、内容のための追加スペース */
    height: 0; /* padding-topが有効になるように */
}

@media (min-width: 420px) {
    td {
        height: calc(420px / 7 + 10px); /* max-widthの1/7に固定値を設定し、追加スペース */
        padding-top: 0; /* heightが優先されるように */
    }
}

.day-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直方向中央寄せ */
    align-items: center;      /* 水平方向中央寄せ */
    padding: 5px 0; /* 上下のパディング */
    box-sizing: border-box;
}

.day-cell.selected {
    background-color: #d4edda;
    border-color: #28a745;
    box-shadow: inset 0 0 0 2px #28a745;
}
/* ホバー時のスタイル */
.day-cell:not(.selected):not(.disabled-day):hover {
    background-color: #f0f8ff; /* ホバー時の色 */
    border-color: #a7d9f7;
}

.day-cell .date {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    line-height: 1.2;
}

.day-cell .availability {
    font-size: 0.85em;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.2;
}
.availability.ok { color: #28a745; }
.availability.ng { color: #dc3545; } /* -は赤系に戻す */

/* .day-cell.disabled-day は、対応不可（-表示）または選択不可日のベーススタイル */
/* 範囲内の「-」表示日と、範囲外（日付のみ表示）の日に適用される */
.day-cell.disabled-day {
    background-color: #f9f9f9; /* グレーアウト背景 */
    color: #bbb; /* 日付数字の色を薄く */
    cursor: not-allowed;
    opacity: 0.7;
}
.day-cell.disabled-day:hover {
    background-color: #f9f9f9;
    border-color: #eee;
}

/* 範囲外（当日以前、3営業日以内、3か月後以降）で、対応可否を非表示にする日付のスタイル */
/* このクラスを持つtd内の .availability は visibility: hidden になる */
.day-cell.outside-display-range .availability {
    visibility: hidden;
}


/* --- 時間帯選択ボタンのスタイル --- */
.time-slot-group {
    margin-bottom: 25px;
}
.time-slot-group label {
    font-weight: 700;
    color: #555;
    font-size: 0.9em;
    display: flex; /* **修正**: flexboxで必須マークとラベルを横並びに */
    align-items: center; /* **修正**: 垂直中央揃え */
    margin-bottom: 10px;
}
.time-slot-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.time-slot-button {
    background-color: #e9ecef;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    text-align: center;
    flex-grow: 1;
    max-width: calc(33% - 10px);
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
}
.time-slot-button:hover {
    background-color: #d6d9dc;
    border-color: #c4c7c9;
}
.time-slot-button.selected {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.time-slot-button.selected:hover {
    background-color: #2980b9;
}
.time-slot-remaining-label {
    font-size: 0.75em;
    color: #777;
    margin-top: 3px;
    opacity: 0.8;
}
.time-slot-button.selected .time-slot-remaining-label {
    color: rgba(255, 255, 255, 0.8);
}


/* --- 完了画面の固有スタイル (screen5.php用) --- */
.message-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    max-width: 930px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
}
.message {
    font-size: 28px;
    color: #28a745;
    margin-bottom: 30px;
    font-weight: 700;
}
.debug-info {
    margin-top: 40px;
    padding: 20px;
    border: 1px dashed #ccc;
    background-color: #f9f9f9;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}
.debug-info h2 {
    margin-top: 0;
    color: #555;
    font-size: 1.2em;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.debug-info pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9em;
    color: #666;
}

/* --- 必須マークのスタイル --- */
.required-tag::before {
    content: "必須"; /* 「必須」の文字を表示 */
    background-color: #e74c3c; /* 背景色（赤） */
    color: white; /* 文字色（白） */
    font-size: 0.7em; /* フォントサイズ */
    padding: 2px 6px; /* 内側の余白 */
    border-radius: 4px; /* 角丸 */
    margin-right: 8px; /* 右側の余白 */
    vertical-align: middle; /* 垂直方向の中央揃え */
    display: inline-block; /* インラインブロック要素として表示 */
    font-weight: bold;
}

/* 必須項目のフォームグループに対するスタイル */
.form-group.required label::before {
    content: "必須"; /* 「必須」の文字を表示 */
    background-color: #e74c3c; /* 背景色（赤） */
    color: white; /* 文字色（白） */
    font-size: 0.7em; /* フォントサイズ */
    padding: 2px 6px; /* 内側の余白 */
    border-radius: 4px; /* 角丸 */
    margin-right: 8px; /* 右側の余白 */
    vertical-align: middle; /* 垂直方向の中央揃え */
    display: inline-block; /* インラインブロック要素として表示 */
    font-weight: bold;
}


/* === reservation_request.html 用追加スタイル === */

/* ラジオボタンのスタイル */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}
.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.radio-item input[type="radio"] {
    width: auto;
    margin: 0;
}
.radio-item label {
    font-weight: 400;
    color: #333;
    margin: 0;
    font-size: 1em;
}

/* 郵便番号ボタンのスタイル */
.zip-code-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.zip-code-group input {
    flex: 1;
}
.zip-search-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}
.zip-search-btn:hover {
    background-color: #1976D2;
}

/* 分割入力グループのスタイル */
.split-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.split-input-group input {
    width: auto;
    text-align: center;
}
.split-input-group span {
    color: #666;
    font-weight: bold;
}

/* お客様番号のスタイル */
.customer-number-group input {
    width: 80px;
}

/* レスポンシブ対応の追加 */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    .split-input-group {
        flex-wrap: wrap;
        gap: 5px;
    }
    .customer-number-group input {
        width: 70px;
        min-width: 60px;
    }
}

/* === ボタンスタイル === */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin: 0 10px;
    font-weight: 600;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

/* === ラジオボタンの配置調整 === */
.form-group .radio-group {
    margin-top: 5px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.radio-item input[type="radio"] {
    width: auto;
    margin: 0;
    transform: scale(1.1);
}

.radio-item label {
    font-weight: 400;
    color: #333;
    margin: 0;
    font-size: 0.9em;
    cursor: pointer;
    white-space: nowrap;
}

.radio-item label:hover {
    color: #3498db;
}
