/* 全局样式 */
:root {
    --primary-color: #c19d30; /* 金色 */
    --secondary: #e3c759;
    --light: #2c3e50;
    --dark: #ecf0f1;
    --shadow: 0 4px 20px rgba(0,0,0,0.2);
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --text-muted: #b0b0b0;
    --border-color:#d4af37;
    --text-gray: #b0b0b0;
    --input-bg-color:#212121;
    --input-text-color:#f0f0f0;
}

body {
    font-family: 'Montserrat', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: rgba(25,25,25,0.9);
}
.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;  /* 使用视口单位确保全覆盖 */
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999; /* 确保在最顶层 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    /*  spinner的具体样式 */
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.text-primary{
    color: var(--primary-color)!important;
}

/* 语言切换器 */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.language-btn {
    background: rgba(27, 27, 27, 0.9) !important;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-muted);
}
.language-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.language-btn.active {
    background: var(--primary-color)!important;
    border-color: var(--primary-color);
    color: #000000;
    box-shadow: 0 2px 8px rgba(174, 50, 27, 0.3);
}
.language-btn:first-child {
    margin-right: 2px;
}
/* 头部样式 */
.header {
    background: var(--input-bg-color);
    color: #d4af37;
    padding: 40px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-bottom: 6px solid var(--primary-color);
}

.logo {
    font-size: 42px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.title {
    font-size: 28px;
    margin-top: 10px;
    letter-spacing: 1px;
}


.subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* 内容容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 返回按钮 */
.back-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 8px 20px;
    background-color: var(--light);
    color: var(--text-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.back-btn:hover {
    background-color: var(--primary-color);
    color: #000;
}

.back-btn i {
    margin-right: 5px;
}

/**首頁**/
.section {
    margin-bottom: 20px;
}
.section-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
    margin: 15px 0;
}
.activity-container {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}
.activity {
    flex: 0 0 auto;
    width: 70%;
    margin-right: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--light);
}
.activity-img {
    width: 100%;
    height:120px;
    object-fit: cover;
}
.activity-info {
    padding: 10px;
}
.activity-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-color);
}
.activity-desc {
    font-size: 12px;
    color: var(--text-muted);
}
.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.activity-card {
    border: 1px solid var(--border-color);
    background-size: cover;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}
.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.activity-img {
    width: 100%;
    height: 64px;
    object-fit: cover;
}
.activity-content {
    padding: 15px;
    text-align: center;
}
.activity-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333333;
    text-shadow:
            -1px -1px 0 #f1f1f1,
            1px -1px 0 #f1f1f1,
            -1px 1px 0 #f1f1f1,
            1px 1px 0 #f1f1f1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
/***表單**/
.form-title{
    color:var(--primary-color);
    border-color:var(--primary-color)!important;
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.form-title i{
    margin-right:20px;
}
.form-tip{
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}
.form-control,.form-select{
    border: 1px solid var(--border-color);
    background: var(--input-bg-color);
    color:var(--input-text-color);
}
.btn-primary{
    background: var(--primary-color);
    color:#333333;
    border-color:var(--primary-color);
    font-weight: bold;
}
input:focus {
    border: 1px solid var(--border-color);
    background: var(--input-bg-color);
    color:var(--input-text-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}
.apply-fee{
    color:var(--primary-color);
}
/****上傳***/
.upload-container {
    width: 150px;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}

.upload-area {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--input-bg-color);
    color:var(--input-text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px dashed var(--border-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
    box-sizing: border-box;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(193, 157, 48, 0.1);
}

.plus-sign {
    font-size: 30px;
    color: var(--text-color);
    font-weight: lighter;
    margin-bottom: 0;
}

.upload-text {
    color: var(--text-color);
    font-size: 16px;
}

#fileInput,#papgerfileInput {
    display: none;
}

/* 预览样式 */
.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* 删除按钮 */
.delete-btn {
    margin-top: 15px;
}
/**红色**/
code {
    font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
    background-color: #3a3a3a;
    color: #ff6b6b;
    padding: 2px 7px;
    border-radius: 2px;
    font-size: 97%;
}
/* 在您的CSS文件中添加 */
.red-star {
    content: " *";
    color: #ff6b6b;
    margin-left: 2px;
}
/*** 查詢***/
.search-card {
    width: 100%;
    background: var(--input-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    color: var(--input-text-color);
    padding: 40px;
    position: relative;
    overflow: hidden;
}


.search-title {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.search-form-group {
    margin-bottom: 24px;
    position: relative;
}

.search-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 15px;
}

.search-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.search-form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 157, 48, 0.1);
    outline: none;
}

.search-submit-btn {
    width: 100%;
    padding:5px 16px;
    background: linear-gradient(90deg, var(--primary-color), #d4b15f);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(193, 157, 48, 0.2);
}

.icon {
    width: 20px;
    height: 20px;
}
/* 复选框美化样式 */
.remember-me {
    position: relative;
    display: flex;
    align-items: center;
    margin: 25px 0;
    cursor: pointer;
    user-select: none;
    color: var(--text-color);
}

.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.2s;
}

.remember-me:hover input ~ .checkmark {
    background-color: rgba(193, 157, 48, 0.1);
}

.remember-me input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me input:checked ~ .checkmark:after {
    display: block;
}

/********查詢結果*********/

.result-card {
    background: rgba(27,27,27,0.9)!important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 100%;
    overflow: hidden;
}
.card{
    background: rgba(27,27,27,0.9)!important;
    color:var(--text-gray);
    border-color: var(--border-color);
}
.card-header {
    background: var(--primary-color);
    color: #000;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.card-body {
    padding: 25px;
}

.info-row {
    display: flex;
    margin-bottom: 18px;
    align-items: center;
}

.info-label {
    width: 100px;
    color: var(--text-muted);
    font-size: 14px;
}

.info-value {
    flex: 1;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-color);
}

.award-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.first-prize {
    background: var(--primary-color);
    color: #000;
}

.second-prize {
    background: #8a6d3b;
    color: var(--text-color);
}

.third-prize {
    background: #5d4a1f;
    color: var(--text-color);
}

.shipping-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.shipped {
    background: #27ae60;
    color: white;
}

.not-shipped {
    background: #c0392b;
    color: white;
}

.shipping-icon {
    margin-right: 6px;
    font-size: 12px;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .news-title {
        font-size: 24px;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-date,
    .news-author {
        margin-bottom: 10px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
/* 自定义 Tab 样式 - 匹配图片中的深色风格 */
.nav-tabs {
    border-bottom: 1px solid  var(--primary-color); /* 亮黄色 */
    margin-bottom: 1.5rem;
    border-radius: 5px;
}
/* 修改Tab按钮样式 */
.nav-tabs .nav-link {
    padding: 0.4rem 1rem; /* 减小按钮尺寸 */
    font-size: 0.9rem;    /* 调小字体 */
    margin-right: 0.3rem; /* 缩小按钮间距 */
}

/* 选中状态改为截图中的黄色 */
.nav-tabs .nav-link.active {
    background-color: var(--primary-color); /* 亮黄色 */
    color: #000 !important;
    border:1px solid var(--primary-color);
}

/* 悬停状态 */
.nav-tabs .nav-link:hover:not(.active) {
    background-color: rgba(255, 193, 7, 0.2); /* 半透明黄 */
}
/* 内容区卡片样式 */
.tab-content .card {
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
}

.tab-content .card-body {
    padding: 2rem;
}

/* 标题图标样式 */
.form-title i {
    color: #FFD700; /* 金色图标匹配奖杯 */
    margin-right: 0.5rem;
}


/* 响应式调整 */
@media (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .nav-item {
        flex: auto;
    }

    .title {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding-top: 40px;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }

    .title {
        font-size: 1.7rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .nav {
        flex-direction: row;
    }

    .nav-item {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .page-title {
        font-size: 1.8rem;
    }
}
/* 新闻卡片样式 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    background: var(--input-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-image {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-content .inline{
    display: flex;
    justify-content: space-between; /* 标题靠左，按钮靠右 */
    align-items: center; /* 垂直居中 */
    gap: 15px; /* 控制间距 */
}
.news-content .inline .btn{
    background: rgba(27, 27, 27, 0.9) !important;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-muted);
}
.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 8px;
    color: var(--secondary);
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Playfair Display', serif;
    max-width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

.news-title:hover {
    color: var(--secondary);
}

.news-summary {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

/* 分页样式 */
.page-navigator {
    list-style:none;
    margin:10px 0 0;
    padding:0;
    text-align:center;
    font-size:.875em
}

.page-navigator li {
    display: inline-block;
    margin: 0 4px
}

.page-navigator a, .page-navigator span {
    display: inline-block;
    padding: 0 10px;
    height: 26px;
    line-height: 26px
}

.page-navigator .current-page span {
    color: #fff;
    background:var(--primary-color);
    border-radius: 5px;
}
.page-navigator .page-item{
    color: #333;
    background: #f4da6b;
    border-radius: 5px;
}
.page-navigator .current-page span a {
    color: #f1f1f1;
}
.page-navigator .current-page span a:hover {
    color: #FFFFFF;
    -webkit-transition-duration: .4s;
}
.no-result{
    text-align: center;
    font-size: 1em;
    padding: 10px 0;
    color: var(--primary-color);
}
.single-page-content img{
    max-width: 100%;
    height: auto;
    width: auto;
    margin-top:10px;
}
.truncate-text {
    display: -webkit-box;
    -webkit-line-clamp: 5; /* 設置最大顯示行數為 5 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.more-content{
    text-align: right;
}
.more-content a{
    color: var(--primary-color);
    text-decoration: none;
}
.more-content a:hover{
    color: var(--primary-color);
}
@media (max-width: 576px) {
    .news-list {
        grid-template-columns: 1fr;
    }
    .page-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/*******委員申請*********/
.membership{
    margin-top: 20px;
}
.membership-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 12px;
    color: #333;
}
.membership-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: relative;
}
.membership-card-content{
    margin-top: 50px;
}
.corporate-card {
    background: linear-gradient(135deg, #D4AF37 0%, #F5D78E 100%);
}
.personal-card {
    background: linear-gradient(135deg, #E0E0E0 0%, #F5F5F5 100%);
}
.card-title {
    font-weight: bold;
    color: #D4AF37;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.btn-join {
    background-color: #5D4037;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: bold;
}

.btn-join:hover {
    background-color: #3E2723;
    color: white;
}
.btn-join:active,
.btn-join:focus {
    background-color: #1B0000;
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(93, 64, 55, 0.5); /* 添加聚焦光晕 */
}
.certificate-img {
    width: 80px;
    height: auto;
    margin-right: 15px;
}

.footer-content{
    position: fixed;
    left:0;
    right:0;
    bottom:0;
    z-index: 1000;
}

/* 导航菜单 */
.nav {
    display: flex;
    justify-content: center;
    background-color: #111111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-color);
    background-color: rgba(193, 157, 48, 0.2);
}
 /*導航菜單*/
.nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto; /* 关键：启用横向滚动 */
    -webkit-overflow-scrolling: touch; /* iOS流畅滚动 */

    /* 滚动条样式 */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #555 transparent; /* Firefox滑块颜色 */

    /* 视觉样式 */
    background-color: #111111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
}

/* 所有浏览器滚动条样式 */
.nav::-webkit-scrollbar {
    height: 6px; /* 滚动条高度（显示在底部） */
}
.nav::-webkit-scrollbar-track {
    background: transparent; /* 透明轨道 */
}
.nav::-webkit-scrollbar-thumb {
    background-color: #555; /* 滑块颜色 */
    border-radius: 10px;
}
.nav::-webkit-scrollbar-thumb:hover {
    background-color: #777; /* 悬停颜色 */
}

/* 导航项防挤压 */
.nav-item {
    margin: 0 15px;
    flex-shrink: 0; /* 禁止缩小 */
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #C19D30; /* 假設 --primary-color */
    background-color: rgba(193, 157, 48, 0.2);
}

/*****底部**********/
.site-footer {
    background-color: #111;
    color: var(--text-color);
    padding: 50px 0 20px;
    font-family: 'Microsoft YaHei', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-title {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-contacts p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contacts i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a {
    color: var(--text-muted);
    margin-left: 15px;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .top-nav {
        position: fixed;
        bottom: 0;
        right:0;
        left:0;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.1); /* 顶部浅色阴影 */
    }
    .site-footer{
        margin-bottom: 90px;
    }
    .footer-col {
        flex: 100%;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-media {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 15px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}
.body-content{
    margin-top: 30px;
}

.order-title{
    text-align: center;
}
.product-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
}
.status-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}
.order-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    color: #f9f9f9;
    min-width: 80px;
    display: inline-block;
}
.fixed-bottom-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.pay-now{
    margin-top:50px;
}
/******** 支付結果***********/
.payment-result-card {
    max-width: 500px;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.success-icon {
    color: #28a745;
    font-size: 5rem;
}
.fail-icon {
    color: #dc3545;
    font-size: 5rem;
}
.btn-action {
    min-width: 120px;
}
.order-detail {
    background-color: var(--input-bg-color);
    color:var(--input-text-color);
    border-radius: 8px;
}
