/* 2026-10-12: どの画面にも当たらないルール（.search_text・.legend-* ・#searchForm .searchbar など 10 個）を削除した。
 *   全画面のスクリーンショットを削除の前後で比べて違いが無いことを確認（__local_docs/work/2026-10-12_共通化第3弾/）。
 */

input[type="checkbox"]:hover,
input[type="checkbox"] + label:hover {
    cursor: pointer;
}

.page_title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-top: 60px;
}

.search_label {
    width: 120px !important;
    background-color: #f7f7f7;
}

.rosen-row td:nth-child(2) {
    cursor: pointer;
}

.rosen-row td:nth-child(2):hover {
    background-color: #fff5ee !important;
}

/* 固定ヘッダーのスタイル */
.fixed-header {
    position: sticky;
    top: 67px;
    left: 50px;
    background: #FFFFFF; /* 背景色 */
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap; /* コンテンツが幅を超えたら折り返す */
    width: 100%;
    padding-top: 12px;
    gap: 10px;
}

/* 画面の中のボタンの文字の大きさ（2026-10-12）。
   以前は全体向けの .btn { font-size: 10pt !important; padding: 5px !important; width: 110px } で、画面の外に出る確認ダイアログ
   （coreConfirm）のボタンまで低く・小さくなっていた（120×32・約13px。ほかのアプリは Bootstrap 標準の 高さ約38px・16px）。
   画面の中のボタンは今の大きさのまま残すため、強さ（詳細度。:where で .btn 1つ分）と順番を前と同じにして、
   画面の中（.app-main）のモーダル以外に限る。余白と幅は app-shell.css の .app-shell .app-main .btn が決めている。
   モーダルのボタンは app-shell.css で Bootstrap 標準にそろえる */
:where(.app-shell .app-main) .btn:where(:not(.modal .btn)) {
    font-size: 10pt !important;
}

.container-fluid {
    position: relative;
    overflow: visible;
    padding: 5px 10px 50px 10px !important;
}

#search_input_container {
    /*width: 350px;
    min-width: 250px;
    flex: 0.5 1 auto;
    min-width: 200px;*/
    flex: 0.5 1 auto;
    min-width: 200px;
}

.table-rosen tbody tr td:nth-child(2):hover {
    background-color: #f5f5f5;
    cursor: pointer;
    font-weight: 900;
}

/* クリックされたセルのスタイル */
.table-rosen tbody tr td.selected {
    background-color: #f5f5f5 !important;
    font-weight: 900;
}

/* map の判例 */
.map-legend {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-left: 10px;
    padding-bottom: 5px;
}

#operation_message {
    font-size: 14px;
    color: red;
}

.search-control {
    border-radius: 0 5px 5px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

.rosen-table-wrapper {
    max-height: 75vh;   /* limit but allow shrinking */
    height: auto;       /* shrink to content */
    overflow-y: auto;
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.rosen-table-wrapper table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

/* ヘッダー固定用の追加CSS */
.rosen-table-wrapper thead th {
    position: sticky;
    top: 0;
    background-color: #f2f2f2;
    z-index: 1;
}

.nav-link-clean {
    text-decoration: none;
    color: inherit;
}

.nav-link-clean:hover {
    text-decoration: none;
}

.map-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 = 9/16 = 0.5625 = 56.25% */
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

