[v-cloak] {
    display: none;
}

html {
    font-size: 14px;
    font-family: 'Times New Roman', Times, serif
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 100px;
}

/*-----------------------------*/
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav, .dropdown-item {
    font-size: 1.2rem;
    font-weight: bold;
}

.dropdown-menu {
    min-width: unset;
    padding: 0;
    border: 0;
    margin: 0 0 0 3em;
}

.dropdown-item {
    border-bottom: 1px dashed darkgray;
}

    .dropdown-item:focus, .dropdown-item:hover {
        color: #1e2125;
        background-color: burlywood;
    }

.box-shadow {
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .35) !important;
}

.logo {
    height: 3.5em;
    padding: 0 1em;
}

.nav-item {
    padding: 0 0.25em;
}

.sign-up {
    background-color: rgb(206,188,131);    
}

.sign-user {
    display: flex;
    align-items: center; /* 垂直置中 */
    gap: 0.25em; /* 圖跟文字間距 */
}
    .sign-user img{
        width:1.5em;
    }

    .log-in {
        padding: 0 1.25em;
    }

.text-justify {
    text-align: justify;
    margin-bottom: 1em;
}

.container {
    max-width: 90% !important;
    margin: 0 5%;
    text-align: justify;
}

.context {
    margin: 1em;
}

.context-title {
    margin: 1em 0;
    display: flex;
    align-items: center; /* 垂直置中 */
}

.contact-service-btn {
    padding: 0;
    font-weight: bold;
    border: 0;
    background-color: transparent;
    text-decoration: underline;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.loading-box {
    text-align: center;
    padding: 1rem 1.5rem;
}

.alert-service-btn {
    color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1)) !important;
}

.alertInfo {
    background: #00b09b !important;
    padding: 0.75em 0.75em 0.75em 1.5em !important;
}

.popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    padding: 1rem;
}

.popup-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 2rem 1.5rem 1.5rem;
    text-align: justify;
}

    .popup-box h4 {
        margin-bottom: 1rem;
        font-weight: bold;
        text-align: center;
    }

    .popup-box p {
        margin: 0.25em 0;
        line-height: 1.8;
    }

    .popup-box u {
        font-size: 1.2rem;
        font-weight: bold;
        color: black;
    }

.notice-popup {
    position: relative;
    overflow: hidden;
}

    .notice-popup::after {
        content: "";
        position: absolute;
        right: 0.5em;
        bottom: 0.5em;
        width: 8em;
        height: 8em;
        background-image: url('/img/waring_01.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 0.8;
        pointer-events: none;
    }

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
}

.popup-btn-area {
    text-align: center;
}

    .popup-btn-area button {
        border: 0;
        width: 5em;
        background-color: rgb(206,188,131);
    }

.footer-left {
    justify-content: flex-start;
}

.footer {
    background-color: #dee2e6;
    box-sizing: border-box;
    border-top: solid 3.5px #000 !important;
    border-bottom: solid 3.5px #000 !important;
    line-height: unset !important;
    padding: 1em 0;
    color: black !important;
    position: unset !important;
}

@media ( width <= 768px) {
    body {
        padding-top: 67.5px;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
}
