/* src/public/css/calculator/retirement.css … 定年退職日・退職までの日数計算 */
/* 💡 ボタン（クリア・計算する）と計算履歴の見た目は、共通の calc-common.css（このファイルの後に読み込む） */

.calc-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1e3c72;
}
.input-group input[type="date"],
.input-group input[type="number"],
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    background: #ffffff;
    color: inherit;
    font-family: inherit;
}
.input-group select { text-overflow: ellipsis; }

/* 数え始める日＋「今日」ボタン */
.rtc-date-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.rtc-date-row input[type="date"] {
    flex: 1;
    min-width: 0;
}
.rtc-btn-today {
    flex: 0 0 auto;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #2a5298;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}
.rtc-btn-today:hover { background: #e2e8f0; }

/* 結果 */
.result-box {
    background-color: #f1f3f5;
    padding: 20px;
    border-radius: 8px;
}
.result-card { text-align: center; }
.res-title {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: bold;
    margin-bottom: 5px;
}
.res-big-val {
    display: block;
    font-size: 1.9rem;
    font-weight: bold;
    color: #2a5298;
    margin-bottom: 10px;
}
.result-sub {
    font-size: 0.9rem;
    color: #475569;
    border-top: 1px solid #dee2e6;
    padding-top: 12px;
    min-height: 1.4em;
    white-space: pre-line;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .calc-box { padding: 20px; }
    .input-group { margin-bottom: 16px; }
    .res-big-val { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .rtc-date-row { flex-wrap: wrap; }
    .rtc-btn-today { flex: 1; padding: 10px; }
}

/* 近い計算への案内（日付計算・営業日計算。見えるツールだけ出す。夜の色は theme-dark.css） */
.mc-related { margin: 18px 0 0; padding: 12px 16px; border-radius: 10px; background: #f1f5f9; font-size: 0.9rem; color: #475569; line-height: 1.8; }
.mc-related i { color: #2a5298; margin-right: 4px; }
