.custom-text-under-label {
    border-bottom: solid 1px #2498F3;
}

#user_list thead th,
#user_list thead td,
#user_list tbody th,
#user_list tbody td,
#sourceTbl thead th,
#sourceTbl thead td,
#sourceTbl tbody th,
#sourceTbl tbody td,
#filter_list thead th,
#filter_list thead td,
#filter_list tbody th,
#filter_list tbody td {
    vertical-align: middle;
}

#ip_prefix_filter .uk-heading-line > ::after {
    border-bottom: calc(3px + 0.05em) solid #3388ff !important;
}

#sourceTbl tbody tr.selected {
    --dt-row-selected: 255, 250, 144;
    --dt-row-selected-text: 96, 96, 96;
}

.button-corner,
.square-corner {
    border-radius: 3px !important;
}

.tm-heading-fragment:before {
    content: "-";
    position: absolute;
    width: 25px;
    margin-left: -25px;
    color: #999;
}

/** リンクカラー */
a:hover {
    color: red !important;
}

/** filtered_route */
.changed_next_hop {
    color: #ffbf00;
}
.filtered_route {
    color: red;
}
#desc_changed_next_hop {
    color: #ffbf00;
}
#desc_filtered_route {
    color: red;
}
.mg_top_20 {
    margin-top: 2em;
}

/* UIkitのチェックボックスをスイッチの土台に変形 */
.uk-checkbox.uk-switch {
    width: 48px;
    height: 24px;
    border-radius: 500px; /* 完全なカプセル型にする */
    position: relative;
    vertical-align: middle;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

/* スイッチの中の丸いツマミ */
.uk-checkbox.uk-switch::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

/* UIkit標準のチェックマーク（レ点）を消す */
.uk-checkbox.uk-switch:checked {
    background-image: none !important; /* レ点画像を削除 */
    background-color: #1e87f0; /* UIkitの主要カラー（プライマリー） */
    border-color: transparent;
}

/* ONになった時にツマミを右へスライド */
.uk-checkbox.uk-switch:checked::before {
    transform: translateX(24px);
}

/* フォーカス時のUIkit標準の青い枠線を丸みに合わせる */
.uk-checkbox.uk-switch:focus {
    border-radius: 500px;
}

/* 初期状態から「変わった行」だけに適用されるスタイル */
tr.changed-row td {
    background-color: #eafaf1 !important; /* 薄い警告色・イエロー系の例 */
    transition: background-color 0.25s ease;
}