html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
}
iframe {
    width: 100%;
    height:100%;
    border: none;
}
.custom-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 6%; /*控制靠左 靠右 150px*/
}

.readonly-field input {
    color: #666 !important;
    cursor: not-allowed;
}
.readonly-field .v-input__slot {
    background-color: #f2f2f2 !important;
}

/* Login style */
.login-btn {
    height: 48px;
    font-weight: 600;
    letter-spacing: 0.6px;
    background: linear-gradient(135deg,#1565C0,#1E3381);
    color: white;
}

/* Alert */
.alert-text-icon {
    background: transparent !important;
    color: #e53935 !important;
    border: none;
    padding-left: 22px;
}
.alert-text-icon .v-alert__icon {
    margin-right: 8px;
    color: #e53935 !important;
}
.alert-left {
    padding-left: 8px !important;
}
.alert-left .v-alert__icon {
    margin-left: 0 !important;
    margin-right: 6px !important;
}

.alert-info
{
    color:#0c5460;
    background-color:#d1ecf1;
    border-color:#bee5eb
}
.alert-warning{
    color:#856404;
    background-color:#fff3cd;
    border-color:#ffeeba
}

/* testMsg */
.text-muted {
    color: #9e9e9e;
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.8;
}

/* Error Box*/
.error-box {
    background-color: #FFEDED;
    border: 1px solid #FF7F7F;
    border-radius: 8px;
    padding: 12px;
    color: #B71C1C;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.error-content {
    display: flex;
    align-items: flex-start;
}
.error-icon {
    font-size: 24px;
    margin-right: 8px;
    color: #B71C1C;
}
.error-text {
    word-break: break-word;
    white-space: pre-line;
}
.error-box .v-icon {
    color: currentColor;
}
/* Success Box*/
.success-box {
    background-color: #e8f5e9;
    border: 1px solid #81c784;
    border-radius: 8px;
    padding: 12px;
    color: #2e7d32;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.success-icon {
    font-size: 24px;
    margin-right: 8px;
    color: #2e7d32;
}
.success-content {
    display: flex;
    align-items: flex-start;
}
.success-text {
    word-break: break-word;
    white-space: pre-line;
}
.success-box .v-icon {
    color: currentColor;
}

/* Panel Header */
.custom-panel-header {
    border: 1px solid #90CAF9;
    border-radius: 8px;
    background-color: #E3F2FD;
    font-weight: bold;
    transition: background-color 0.2s;
}
/* Panel Header Click Color*/
.custom-panel-header:hover {
    background-color: white !important;
}
/* Panel Content */
.custom-panel-content {
    border: 1px solid #90CAF9;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: #F3F9FF;
}
.custom-panel-content-grey {
    border: 1px solid grey;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: #F9FAFB;
}

/* Table */
.custom-row {
    transition: background-color 0.2s;
}
.custom-row:hover {
    background-color: #E3F2FD;
}
.v-data-table-header th {
    font-size: 15px !important;
    font-weight: bold;
    background-color: #DAE3F3 !important;
    color: #1E3381 !important;
}
.v-data-table tbody td {
    font-size: 15px !important;
}
/* each row color */
.v-data-table tbody tr:nth-child(even) {
    background-color: #DCE8F4;
}
.v-data-table tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
}
.table-note {
    font-size: 13px;
    font-weight: 500;
    color: #3C3C3C ;
    padding-left: 16px;
}
.pre-line {
    white-space: pre-line;
}
.table-title-cell {
    max-width: 250px;       /* 固定寬度，依需求調整 */
    white-space: normal;    /* 允許換行 */
    word-break: break-word; /* 避免單字過長不換行 */
    line-height: 1.4em;     /* 調整行高，看起來整齊 */
}

/* banner */
/* 首頁最上方橫幅*/
.banner {
    position: relative;
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}
/* 動畫效果 */
.animated-text {
    animation: slideDownFade 1s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
}
/* Keyframes 動畫定義 */
@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -70%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 段落項目 style */
.section-title {
    border-left: 6px solid #399FD6; /* 預設淺藍色 */
    padding-left: 10px;
    margin: 0;
    font-weight: 600;
    display: inline-block;
}
.main-title-text {
    color: black;
    font-size: 26px;
    font-weight: 500;
    opacity: 0;
    animation: fadeInText 1s ease forwards;
    animation-delay: 0.5s; /* banner文字先滑下，再淡入 */
}
@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* 共用 section-title，可單獨修改顏色 */
.latest-list-text {
    border-left: 6px solid #0163B4;
    color: black;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    /* 動畫淡入 */
    opacity: 0;
    animation: fadeInText 1s ease forwards;
    animation-delay: 1s;
}
.welcome-text {
    color: midnightblue; /*#1565C0*/
    font-size: 26px;
    font-weight: 400;
    opacity: 0;
    animation: fadeInText 1s ease forwards;
    animation-delay: 0.8s; /* banner文字先滑下，再淡入 */
}
.title-text {
    color: midnightblue; /*#1565C0*/
    font-size: 25px;
    font-weight: 500;
    opacity: 0;
    animation: fadeInText 1s ease forwards;
    animation-delay: 0.4s; /* banner文字先滑下，再淡入 */
}

/* Button */
.custom-btn-darkblue{
    background-color: #0163B4 !important;
    color: white !important;
    font-weight: 500;
}
.custom-btn-blue {
    background-color: #399FD6 !important;
    color: white !important;
    font-weight: 500;
}
.custom-btn-yellow {
    background-color: white !important;
    color: #f0a500 !important;
    border: 1px solid #f0c36d !important;
    font-weight: 500;
    box-shadow: none !important;
}

/* 經銷商後台-報備清單的客製化按鈕*/
.custom-btn {
    border-radius: 999px;     /* 橢圓形 */
    border: 2px solid black !important;  /* 黑色外框 */
    background-color: #1976d2;
}
.custom-btn .v-btn__content {
    color: white !important;
    /*font-size: 15px;*/
}
.orange-btn {
    background-color: #ef6c00 !important;
}
.excel-btn {
    border: 2px solid green !important;
    background-color: limegreen !important;
}
.grey-btn {
    border: 2px solid #9e9e9e !important;
    background-color: #bdbdbd !important;
}

/* index.html */

.index_bg {
    min-height: 100vh;
    background-image: url("../img/main_bg.png");
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

.login-row {
    min-height: calc(100vh - 64px);
    padding-top: 20px;
    padding-bottom: 70px;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-8px); }
    100% { transform: translateX(0); }
}
.shake {
    animation: shake 0.4s;
}
.note-text {
    color: midnightblue;
    font-size: 18px;
    opacity: 0;
    animation: fadeInText 1s ease forwards;
    animation-delay: 0.9s; /* banner文字先滑下，再淡入 */
}
.auth-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}
.auth-btn:hover {
    transform: scale(1.05);
}
.auth-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
}
.login-note {
    font-size: 14px;
    color: BLACK;
    line-height: 1.8;
}
.login-note ul {
    padding-left: 20px;
    margin: 0;
}
.login-note a {
    color: #1976D2;
    text-decoration: none;
}
.login-note a:hover {
    text-decoration: underline;
}

.login-col {
    display: flex;
    justify-content: flex-end;
    padding-right: 7%;
}

.login-card {
    width: 500px !important;
    min-width: 500px;
    max-width: 500px !important;
    border-radius: 20px;
}

/* 手機 */
@media (max-width: 600px) {
    .login-col {
        justify-content: center;
        padding-left: 16px;
        padding-right: 16px;
    }

    .login-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 24px !important;
    }

    .welcome-text {
        font-size: 22px;
    }

    .note-text {
        font-size: 16px;
    }

    .auth-btn {
        max-width: 80px !important;
    }

    .auth-title {
        font-size: 16px;
    }

    .login-note {
        font-size: 13px;
    }
}

/* home_page.html*/
.news-tag {
    background: linear-gradient(45deg, #FF4D4D, #FF1A1A);
    color: white;
    font-size: 13px;
    border-radius: 3px;
    padding: 0 5px;
    margin-right: 5px;
    font-weight: 600;
}
.news-date {
    font-size: 11px;
    margin-left: 5px;
}
.li-align ul {
    list-style: disc;  /* 預設圓點 */
    padding: 0;
    margin: 0;
}
.li-align li {
    margin-bottom: 8px;  /* 項目之間間距 */
}
/* 列表連結 */
.li-align a {
    text-decoration: none; /* 取消底線 */
    color: #0163B4;
}
.li-align a:hover {
    text-decoration: underline; /* 滑鼠懸停時底線提示 */
}

/* register.html */
.custom-hint-field
.v-messages:not(.error--text)
.v-messages__message {
    color: #1976D2 !important;
    font-size: 13px;
}

/* booking.html */
.product-card {
    border-radius: 8px;
    transition: all .2s ease;
    min-height: 102px;
    display: flex;
    align-items: center;
}
.product-card .v-card__text {
    width: 100%;
}
/* 可選時滑過 */
.product-card:not(.product-disabled):hover {
    border-color: #1565C0;
    background-color: #F8FBFF;
}
/* 已選取 */
.product-selected {
    border: 2px solid #1565C0 !important;
    background-color: #E3F2FD !important;
}
/* 不可選 */
.product-disabled {
    opacity: .45;
    background-color: #F5F5F5 !important;
}

/* 頁面其他 */
.case-card {
    border-radius: 8px;
}
.form-label {
    font-weight: 600;
    margin-bottom: 4px;
}
.agree-text {
    font-size: 14.5px;
    font-weight: 500;
    white-space: normal;
    line-height: 1.6;
}
.notice-list {
    font-size: 14.5px;
    padding-left: 20px;
    margin-bottom: 0;
}
.notice-list li {
    font-size: 14.5px;
    margin-bottom: 8px;
    line-height: 1.6;
}


/* motp_step.html */
/* Logo */
.motp-logo {
    height: 80px;
    display: flex;
    align-items: center;
}
.motp-logo img {
    max-height: 60px;
}
/* Step */
.step-row {
    text-align: center;
    margin-bottom: 20px;
}
.step-row img {
    vertical-align: middle;
}
.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 25px 0;
}
/* Title */
.motp-step-title {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 50px;
}
/* QR */
.qr-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.qr-item {
    text-align: center;
}
.qr-item img {
    width: 150px;
}
.hint {
    text-align: center;
    margin: 30px 0;
    font-size: 18px;
}
/* Button */
.next-btn {
    width: 100%;
    height: 55px;
    border: 0;
    border-radius: 6px;
    background: #118ac0;
    color: white;
    font-size: 18px;
    cursor: pointer;
}
.next-btn:hover {
    background: #0e78a7;
}
/* Footer */
.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 11px;
}
/* Modal */
.modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
}
.modal-box {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 420px;
    max-width: 90%;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    z-index: 1000;
}
.modal-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.modal-content {
    line-height: 1.8;
    margin-bottom: 25px;
}
.confirm-btn {
    width: 140px;
    height: 40px;
    border: 0;
    border-radius: 5px;
    background: #118ac0;
    color: white;
    cursor: pointer;
}

/* motp_step2.html */
.content-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 42px;
}
.phone-box {
    width: 40%;
    text-align: center;
}
.phone-box img {
    width: 120px;
}

/* motp_step3.html */
.step3-content-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 30px;
}
.step3-left {
    width: 60%;
    text-align: center;
}
.step3-qr-box img {
    width: 180px;
}
.step3-title {
    margin-bottom: 25px;
    line-height: 30px;
}
.step3-hint {
    padding-top: 10px;
    font-size: 18px;
    line-height: 1.4;
}
.step3-phone-box {
    width: 40%;
    text-align: center;
}
.step3-phone-box img {
    width: 120px;
}

/* motp_step4.html */
.step4-phone {
    width: 35%;
}
.step4-phone img {
    width: 120px;
}

/* motp_online_register.html && motp_error.html */
.motp-card {
    max-width: 500px;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.motp-card-header {
    background: #0163B4;
    color: white;
    padding: 30px 20px;
    text-align: center;
}
.motp-card-body {
    padding: 35px 25px;
    text-align: center;
}
.motp-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
.motp-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}
.bind-btn {
    width: 220px;
    height: 56px;
    font-size: 18px !important;
    font-weight: bold;
}
.support-text {
    margin-top: 25px;
    color: #888;
    font-size: 13px;
}
.company-logo {
    text-align: center;
    margin-top: 30px;
}
.company-logo img {
    width: 150px;
}
.motp-container {
    min-height: calc(100vh - 64px); /* 扣掉 AppBar 高度 */
    display: flex;
    justify-content: flex-start;
    padding-top: 60px;
    align-items: center;
    flex-direction: column;
}

/* download.html */
.download-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.catalog-icon {
    text-decoration: none;
    color: inherit;
}
.catalog-card {
    position: relative;
    width: 120px;
    transition: .2s;
}
.catalog-card img {
    width: 100%;
    display: block;
}
.catalog-card:hover {
    transform: translateY(-4px);
}
.catalog-title {
    position: absolute;
    /* 放到書本中間 */
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68%;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #0163B4;
    line-height: 1.3;
    word-break: break-word;
}
