@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway-Bold.ttf");
}

@font-face {
    font-family: "Raleway-Regular";
    src: url("../fonts/Raleway-Regular.ttf");
}

/* 2026-10-07 建議 7：新增 Poppins（標題用）。
   設計規格：>20px 的標題統一 Poppins Bold，內文維持 Raleway。
   這裡只「新增」Poppins，刻意不去動原本的 Raleway 設定 ——
   原本 font-family:"Raleway" 指到的其實是 Raleway-Bold.ttf、"Raleway-Regular" 才是 Regular。
   若改成用 font-weight 來區分，全站目前所有「Raleway」文字會一次從粗體變回一般體，
   屬於超出本次建議範圍的大規模視覺變動，故維持現狀。 */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 設定全站預設字型 */
body {
    font-family: "Raleway", "Noto Sans", Arial, sans-serif, -apple-system, BlinkMacSystemFont, "Microsoft JhengHei", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    position: relative;
    top: 0px;
    overflow-x: auto;
    overflow-y: auto;
}

.header-item {
    height: 50px;
}

.home-desc-center {
    vertical-align: top;
}

.home-login {
    position: relative;
    top: 20vh;
}

@media (min-width: 768px) {
    .home-login {
        top: 10vh;
    }
}

#nav_account {
    position: absolute;
    left: calc(50vw - 18px);
    cursor: pointer;
}

.text-green {
    color: var(--bs-web-main) !important;
}

.text-danger {
    color: var(--bs-font-text-danger) !important;
}

.bold {
    font-weight: bold;
    color: var(--bs-web-gray);
}

.form-label-bar th {
    background-color: var(--bs-bg-light-gray);
    line-height: 1.1;
}

.form-label-bar.arc th:first-child {
    border-radius: 8px 0px 0 0;
    /* 上左, 上右, 下右, 下左 (順時針) */
}

.form-label-bar.arc th:last-child {
    border-radius: 0px 8px 0 0;
    /* 上左, 上右, 下右, 下左 (順時針) */
}

.form-label-bar .title {
    color: var(--bs-web-gray);
    font-weight: bold;
    font-size: 0.75rem !important;
}

.form-label-bar .title .sub {
    font-size: 0.625rem !important;
}

.form-label {
    font-size: 0.875rem !important;
    font-weight: bold;
    color: var(--bs-web-gray);
    margin-bottom: .75rem;
    margin-top: .75rem;
}

.form-label.normal {
    font-weight: normal;
}

.form-label .sub {
    font-size: 0.75rem !important;
}

.form-label.sub {
    font-size: 0.75rem !important;
    font-weight: normal;
}

@media (min-width: 768px) {

    /* 中螢幕以上裝置 */
    .form-label-bar .title {
        font-size: 1rem !important;
    }

    .form-label {
        font-size: 1rem !important;
    }

    .form-label.sub {
        font-size: 0.9rem !important;
    }

    .form-label-bar .title .sub {
        font-size: .75rem !important;
    }
}

.subtitle {
    font-size: 0.825rem;
    color: #6c6c6c;
    padding-bottom: 1.25rem;
}

.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;

    border: 1.5px solid #9eaec5;
    border-radius: 16px;
    background-color: #fff;
}

.form-control.other {
    border-bottom: 2px solid #e3e3e3;
    background-color: unset;
    text-align: left;
    text-align-last: left;
    padding: 1.25rem 0px;
}

.control-label {
    font-size: 1.125rem;
    color: #4f5257;
}

.formEdit .form-control {
    padding: 0.8rem 2.3rem;
}

.calendar_date {
    cursor: pointer;
    text-align: center;
    text-align-last: center;
    border-radius: 6px;
    box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid #ced4da;
    background-color: #fbfbfb;
    font-weight: 500;

}

select.calendar_date {
    font-size: 0.875rem;
    padding: .25rem 1rem;
}

.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    /*padding: 0.8rem 2.3rem;*/
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.input-unit {
    font-size: 14px;
    color: #7c7c7c;
    pointer-events: none;
    position: absolute;
    top: calc(0.4rem + 7px);
    right: 0.6rem;
}

.form-check-input {
    margin-top: 0px;
}

input[type=checkbox]:checked,
input[type=radio]:checked {
    background-color: #3f5d95;
    border-color: #3f5d95;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #cacaca;
}

textarea {
    resize: none;
}

.navbar-header {
    height: 50px;
    box-shadow: unset;
    background-color: var(--bs-web-bg-white);
    padding: 0px;
}

#nav_account {
    position: absolute;
    left: calc(50vw - 25px);
    cursor: pointer;
}

.header-profile-user {
    width: 42px;
    height: 42px;
    background-color: var(--bs-web-bg-white);
}

/* ==== 上方標籤區 ==== */
.top-tapmenu {
    border-radius: 6px 6px 0px 0px;
    background-color: white;
    height: 45px;
    color: #8f8f8f;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    top: 1px;

    box-shadow:
        2px -2px 2px rgba(180, 180, 180, 0.25),
        -2px -2px 2px rgba(180, 180, 180, 0.25);
}

.top-tapmenu.action {
    color: var(--bs-web-main);
    font-weight: bold;
    font-size: 1.15rem;
}

.top-tapmenu.none {
    background-color: #e2e2e2;
    cursor: default;
}

/*==== 左側選單 ====*/
.simplebar-content {
    min-height: 100vh;
}

#sidebar-menu {
    padding: unset;
}

.sidebar-logo {
    padding: 1.125rem 3rem 2rem;
}

.sidebar-logo img {
    width: 40vw;
    max-width: 150px;
}

/*==== 左側選單END ====*/

/*==== 訊息視窗 ==== */
.modal-header {
    border-bottom: unset;
    padding: 2rem 1rem 0rem 1rem;
    /*上左下右*/
}

.modal-title {
    width: 100%;
    text-align: center;

    font-size: 1.25rem;
    font-weight: bold;
    color: var(--bs-font-text-gray);
    margin-left: calc(15px + 0.5rem);
}

.modal-footer {
    border-top: unset;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 1.125rem;
}

.modal-footer .btn {
    width: 100%;
    padding: 0.5rem;
}

.modal-header .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0px;
    margin: 0px;
}

/*==== 設定按鈕樣式 START ==== */
.icon-btn-edit {
    background: url("/images/icons/icon-edit/normal.png") no-repeat center center;
    background-size: contain;
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
}

.icon-btn-edit:hover {
    background-image: url("/images/icons/icon-edit/hover.png");
}

.icon-btn-edit:active,
.icon-btn-edit:focus {
    background-image: url("/images/icons/icon-edit/active.png");
}

.icon-btn-del {
    background: url("/images/icons/icon-del/normal.png") no-repeat center center;
    background-size: contain;
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
}

.icon-btn-del:hover {
    background-image: url("/images/icons/icon-del/hover.png");
}

.icon-btn-del:active,
.icon-btn-del:focus {
    background-image: url("/images/icons/icon-del/active.png");
}

.btn {
    line-height: 1.4;
    /*min-height: 54px;*/
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-size: 1.125rem;
}

.btn-green {
    border-radius: 6px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
    background-color: var(--bs-web-main);

    /*font-size: 0.875rem;*/
    font-weight: 500;
    /*height: 40px;*/
    appearance: none;
}

.btn-white {
    border-radius: 6px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
    background-color: var(--bs-bg-light-gray);
}

.btn-edit {
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    background-color: var(--bs-bg-light-gray);
    color: var(--bs-web-main);
    font-weight: bold;
    font-size: 1.125rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.btn-edit:hover {
    color: var(--bs-web-main);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
}

.btn-edit:active,
.btn-edit:focus {
    color: var(--bs-web-main);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
    border: solid 2px var(--bs-web-main);
}

.btn-ok {
    border-radius: 8px;
    background-color: var(--bs-web-main);
    border-color: var(--bs-web-main);
    box-shadow: 0 2px 4px 0 rgba(12, 54, 56, 0.4);
    font-weight: bold;
    font-size: 1.125rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    color: #fff;
}

.btn-ok:hover {
    background-color: var(--bs-web-main);
    /* 滑鼠移上去的顏色 */
    border-color: var(--bs-web-main);
    box-shadow: 0 0 4px 0 rgba(12, 54, 56, 0.4);
    color: #fff;
}

.btn-ok:active,
.btn-ok:focus {
    background-color: #52a7a9;
    /* 點擊按下去的顏色 */
    border-color: #52a7a9;
    box-shadow: 0 0 4px 0 rgba(12, 54, 56, 0.4);
}

.btn-ok.disabled {
    background-color: #ebebeb;
    border-color: #ebebeb;
    color: #a5a5a5;
    box-shadow: inset 0 0 12px 0 rgba(0, 0, 0, 0.25);
}

.btn-cancel {
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    background-color: var(--bs-web-gray);
    font-weight: bold;
    font-size: 1.125rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    color: #939393;
}

.btn-cancel:hover {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
    color: #939393;
}

.btn-cancel:active,
.btn-cancel:focus {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
    border: solid 2px #ebebeb;
    color: #939393;
}

.btn-add {
    height: 40px;
    cursor: pointer;
    background-color: var(--bs-web-main);
    border-radius: 25px;
    font-size: 1rem;

    box-shadow: 0 4px 12px 0 rgba(12, 54, 56, 0.4);
    color: white;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn-add:hover {
    background-color: var(--bs-web-main);
    /* 滑鼠移上去的顏色 */
    box-shadow: 0 0 4px 0 rgba(12, 54, 56, 0.4);
    color: white;
}

.btn-add:active,
.btn-add:focus {
    background-color: #52a7a9;
    /* 點擊按下去的顏色 */
    box-shadow: 0 0 4px 0 rgba(12, 54, 56, 0.4);
    color: white;
}

.btn-add.disabled {
    background-color: #ebebeb;
    box-shadow: inset 0 0 12px 0 rgba(0, 0, 0, 0.25);
    color: #a5a5a5;
}

.badge-user {
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    color: #666;
    background-color: var(--bs-bg-light-gray);
}

.badge-admin {
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    color: #fff;
    background-color: var(--bs-web-main);
}

/*==== 設定按鈕樣式 END ==== */

.rounded-square {
    display: inline-block;
    /* 保持內聯塊顯示 */
    width: 10px;
    /* 設定寬度 */
    height: 20px;
    /* 設定高度 */
    border-radius: 4px;
    /* 設定弧角（可調整） */
}

.table-border-none tr {
    border: none;
    /* 移除 tr 本身的邊框 */
}

.table-border-none td,
table th {
    border: none;
    /* 移除每個欄位的邊框 */
}

.px-15 {
    padding: 1rem 0;
}

.px-30 {
    padding: 1rem 0;
}

@media (min-width: 768px) {

    /* 中螢幕以上裝置 */
    .px-15 {
        padding: 1rem 15%;
    }

    .px-30 {
        padding: 1rem 30%;
    }
}

/* 標籤 */
.tags-container>div.no-delete {
    padding: .4rem 1rem;
}

/* 1, 4, 7, 10... */
.tags-container>div:nth-child(3n+1) {
    background-color: #aa8ac3;
}

/* 2, 5, 8, 11... */
.tags-container>div:nth-child(3n+2) {
    background-color: #f2b440;
}

/* 3, 6, 9, 12... */
.tags-container>div:nth-child(3n) {
    background-color: var(--bs-web-bg-gray);
}

.border-solid {
    border: solid 1.2px var(--bs-web-light-gray);
}

.border-bottom-solid {
    border-bottom: 1px solid var(--bs-web-light-gray);
}

.border-top-solid {
    border-top: 1px solid var(--bs-web-light-gray);
}

:root {
    --bs-web-main: #3f5d95;
    --bs-web-light-gray: #eaeef1;
    --bs-bg-light-gray: #f3f3f3;
    --bs-web-gray: #666;
    --bs-font-text-gray: #6d6d6d;
    --bs-font-text-danger: #da7272;
    --bs-web-bg-gray: #b1b1b1;
    --bs-web-bg-white: #fefefe
}

/* 2025-06-18 */
.outer {
    width: 42px;
    height: 42px;
    background: linear-gradient(to right, #eeeeee, #ecbfa9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner {
    width: 38px;
    height: 38px;
    font-size: 1.125rem;
    background-color: #3f5d95;
    display: block;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waves-effect span {
    color: #bdbdbd;
}

.text-white {
    color: white;
}

.activity-content {
    font-size: 1.125rem;
    line-height: 1.6;
    padding: 15px !important;
    color: #4f5257;
}

.content {
    font-size: 1.125rem;
    color: #4f5257;
}

.content a {
    color: #7a8899;
}

.btn-grey {
    border-radius: 12px;
    background-color: #bdbdbd;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.btn-blue {
    border-radius: 12px;
    background-color: #3f5d95;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

body {
    background-color: var(--bs-web-bg-white);
}

.form-edit-input {
    background-color: #fff;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.form-edit-input label {
    color: var(--bs-web-gray);
    font-size: 1.125rem;
    text-align: left;
    width: 180px;
    margin: 0px;
}

.form-edit-input a {
    font-size: 1.125rem;
}

.form-edit-input .form-control {
    border-radius: 0;
    box-shadow: unset;
    border: 0;
    color: #4f5257;
    font-weight: bold;
}

.form-edit-input select {
    direction: rtl;
}

#side-menu li a {
    border-radius: 12px !important;
}

.nav_team_son {
    border-radius: 12px;
    border: solid 1.5px #adadad;
}

.nav_team_son a {
    font-size: 1.125rem !important;
    /* Keep each roadmap sub-item on a single line. The default sidebar anchor has heavy
       horizontal margin/padding (margin: 0 17px; padding: .625rem 1.2rem) which leaves too
       little room, so wider labels like "Academic Performance" wrapped to two rows. Trim the
       indentation and disable wrapping so all items fit on one line. */
    white-space: nowrap;
    text-align: center;
    margin-left: 6px !important;
    margin-right: 6px !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
}

.nav_team_son:active,
.nav_team_son:hover {
    color: #4f5257 !important;
    background-color: #d6dbe3 !important;
}

.mm-active>a {
    color: #4f5257 !important;
    background-color: #d6dbe3 !important;
}

.mm-active .active {
    color: #f2f4f6 !important;
    background-color: #3f5d95 !important;
}

.nav_team_son.mm-active {
    background-color: #d6dbe3 !important;
}

.waves-effect span {
    font-size: 1.4rem;
    padding-left: 1rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: center;
    color: #bdbdbd;
}

.mm-active>.waves-effect span {
    color: #4f5257;
}

.pr-0 {
    padding-right: 0 !important;
}

.line {
    border-top: 1px solid #bdbdbd;
}

.btn-transparent {
    border-radius: 12px;
    border: solid 1.5px #9eaec5;
    padding-top: .75rem;
    padding-bottom: .75rem;
    color: #4f5257;
}

.bottom_img {
    width: 1.5rem;
    height: 1.5rem;
}

.text-blue {
    color: #3f5d95;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 16px 50px 16px 16px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;

    border: 1.5px solid #9eaec5;
    border-radius: 16px;
    background-color: #fff;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M3 8l9 9 9-9' stroke='%234f5257' stroke-width='2.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;

    color: #3f5d95;

    cursor: pointer;

    text-align: center;
    /* 讓選單的 placeholder 置中 */
    text-align-last: center;
    /* 讓選擇的選項內容置中 */
    -moz-text-align-last: center;
    /* Firefox 兼容 */
    direction: ltr;
}

select option {
    direction: ltr;
}

/* 移除 Firefox 的內建箭頭 */
select::-ms-expand {
    display: none;
}

/* Hover / Focus 效果（可選） */
select:focus {
    outline: none;
    border-color: #7e9ac4;
}

select.form-control {
    background-image: none;
}

.text-align-left {
    text-align-last: left;
}

.modal-body {
    font-size: large;
}

.carpal_tunnel_syndrome {
    cursor: pointer;
}

.delete_img {
    border-radius: 12px;
}

.tag {
    background: #ECBFA9;
    color: #4F5257;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

/* =========================================================================
   2026-10-07　「Admitted 網頁版修改建議」
   ========================================================================= */

/* ---- 建議 7：標題字體 ----
   標題統一 Poppins Bold、內文 Raleway。
   色票沿用設計稿：Primary Text #4F5257、Primary Blue #3F5D95、Primary Dark #183D69。
   行高：標題 140%（多數標題 class 本來就是 1.4，這裡補齊沒設定的）。
   內文 160% 沒有全域套用 —— body 的行高一改會牽動全站每一個區塊的高度，
   風險遠大於效益；需要的區塊（.activity-content 等）本來就已經是 1.6。 */
:root {
    --bs-text-primary-gray: #4f5257;
    --bs-text-primary-blue: #3f5d95;
    --bs-text-primary-dark: #183d69;
}

h1, h2, h3, h4, h5, h6,
.title,
.son_title,
.top_title,
.sub_title,
.secondary_title,
.modal-title,
#probability_number {
    font-family: "Poppins", "Raleway", "Noto Sans", "Microsoft JhengHei",
                 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

/* .sub_title 在 Roadmap 是區塊標題，但在 application/detail 的 adviceContent 裡
   是淺灰內文條列（Distinctive qualities…），那裡要維持原本的內文樣式。 */
.adviceContent .sub_title {
    font-family: "Raleway-Regular", "Raleway", sans-serif;
    font-weight: 400;
}

/* ---- 建議 6：按鈕 hover state ---- */

/* 1) 實心主按鈕（Add School / Edit Interests / Add to Applications…）
      default：深藍底白字 → hover：白底、深藍框、深藍字 */
.btn-blue {
    border: 1.5px solid #3f5d95;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn-blue:hover,
.btn-blue:focus-visible {
    /* 需要 !important：me/auth/getStarted.blade.php 會用 JS 寫 inline background-color，
       沒有 !important 的話 hover 會變成「深藍底 + 深藍字」整個看不見。 */
    background-color: #fff !important;
    border-color: #3f5d95;
    /* 需要 !important：bootstrap 的 .text-white 是 color:#fff!important */
    color: #3f5d95 !important;
}

/* 按鈕內的白色 icon 在白底上會整個看不見，hover 時換成同形狀的深藍版。
   這幾張深藍圖是直接用原白圖的 alpha 重新上色產生的，形狀、尺寸完全一致。 */
.btn-blue:hover img[src*="add-white-2"],
.btn-blue:focus-visible img[src*="add-white-2"] {
    content: url("/morvin/images/web/Roadmap/add-blue-2@2x.png");
}

.btn-blue:hover img[src*="edit-white"],
.btn-blue:focus-visible img[src*="edit-white"] {
    content: url("/morvin/images/web/edit-blue-2@2x.png");
}

.btn-blue:hover img[src*="copy-text@"],
.btn-blue:focus-visible img[src*="copy-text@"] {
    content: url("/morvin/images/web/Explore/copy-text-blue@2x.png");
}

/* explore 的 Contact 按鈕：專案裡本來就有同尺寸的深藍版 contact-call@2x.png */
.btn-blue:hover img[src*="contact-call-2"],
.btn-blue:focus-visible img[src*="contact-call-2"] {
    content: url("/morvin/images/web/Explore/contact-call@2x.png");
}

/* 2) 外框按鈕（Go To Common App / School Profile / Remove…）
      default：白底深藍框藍字 → hover：深藍底白字 */
.btn-transparent {
    /* 底色維持原本的透明，只加上過場；hover 時才填入深藍 */
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn-transparent:hover,
.btn-transparent:focus-visible {
    background-color: #3f5d95;
    border-color: #3f5d95;
    color: #fff !important;
}

/* 裡面的深藍 icon 轉白：brightness(0) 先壓成黑、invert(1) 再翻成純白，
   與來源顏色無關，所以不需要為每張圖準備白色版本。 */
.btn-transparent:hover img,
.btn-transparent:focus-visible img {
    filter: brightness(0) invert(1);
}

/* .btn-transparent.border-0（member 頁的 Log Out / Delete Account）是刻意做成
   無框的文字連結，不要被填成實心按鈕。 */
.btn-transparent.border-0:hover,
.btn-transparent.border-0:focus-visible {
    background-color: transparent;
    color: #3f5d95 !important;
}

/* 3) 圓形刪除鈕：深藍底白 icon → 白底、深藍框、深藍 icon。
      平常邊框與底色同色所以看不出來，不影響現有外觀。 */
.delete_img {
    border: 1.5px solid #3f5d95;
    transition: background-color .15s ease;
}

.delete_img:hover {
    background-color: #fff !important;
}

.delete_img:hover img[src*="delete-white"] {
    content: url("/morvin/images/web/Roadmap/delete-blue@2x.png");
}

/* 同一個 .delete_img 圓圈在 Roadmap 各子頁其實也拿來當「編輯」鈕，
   裡面放的是 edit-white@2x.png（academicPerformace / basic / standardizedTests），
   不一起換的話 hover 變白底後 icon 會整個消失。 */
.delete_img:hover img[src*="edit-white"] {
    content: url("/morvin/images/web/edit-blue-2@2x.png");
}

/* 4) 右下角浮動新增鈕：粉橘底深藍「+」 → 深藍底粉橘「+」。
      hover 圖是把原圖的兩個顏色對調產生的，位置與大小完全相同。 */
.control_div .add_img:hover {
    content: url("/morvin/images/web/Roadmap/addnew-hover@2x.png");
}
