@charset "UTF-8";

:root {
    /* Blue System based on #bbe8ff */
    --primary-blue: #bbe8ff;       /* 主色：清爽天藍 */
    --primary-dark: #82caff;       /* 點擊/懸停色：稍深的天藍 */
    --accent-blue: #2c3e50;        /* 強調色：深藍灰 (用於文字/標題) */
    --text-main: #2F4858;          /* 主要文字：深岩藍 */
    --text-light: #8898aa;         /* 輔助文字：淺灰藍 */
    --bg-light: #f4faff;           /* 背景：極淡的藍白色 */
    --bg-white: #ffffff;           /* 純白 */
    --accent-gold: #D4AF37;        /* 維持金色作為 VIP/星級點綴 */

    --card-shadow: 0 8px 24px rgba(130, 202, 255, 0.15);
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #eef5f9;
    color: var(--text-main);
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
}

#app-container {
    width: 100%;
    max-width: 430px;
    background-color: var(--bg-light);
    height: 100%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    padding-bottom: 80px;
}

#app-container::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* --- 按鈕 --- */
.btn-theme {
    background-color: var(--primary-blue);
    color: var(--text-main);
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-theme:active,
.btn-theme:hover {
    background-color: var(--primary-dark);
    color: var(--text-main);
    transform: translateY(-1px);
}

.btn-outline-theme {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary-dark);
    border-radius: 12px;
    padding: 8px 16px;
}

.btn-outline-theme:active,
.btn-outline-theme:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* --- 文字 --- */
.text-brown {
    color: var(--accent-blue) !important;
}

.text-main {
    color: var(--text-main);
}

.text-gold {
    color: var(--accent-gold);
}

/* --- 卡片 --- */
.card-custom {
    background: var(--bg-white);
    border: 1px solid rgba(187, 232, 255, 0.3);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.2s;
}

.cursor-pointer {
    cursor: pointer;
}

/* --- 會員卡片 --- */
.member-card {
    background: linear-gradient(135deg, #89cff0 0%, #4682b4 100%);
    color: white;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(137, 207, 240, 0.5);
}

.member-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.vip-badge {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #fff;
    font-weight: bold;
}

/* --- 快捷操作 --- */
.quick-action-btn {
    background: white;
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--card-shadow);
    color: var(--text-main);
    font-size: 0.9rem;
    padding: 12px 0;
    transition: transform 0.1s;
}

.quick-action-btn:active {
    transform: scale(0.95);
}

.quick-action-btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #7abaff;
}

/* --- 商品 --- */
.product-img-placeholder {
    background-color: #e0f2fe;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #89cff0;
    font-size: 3rem;
    margin-bottom: 12px;
}

/* --- 講座 --- */
.lecture-date-box {
    background-color: #f0f9ff;
    border: 1px solid #bbe8ff;
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    min-width: 70px;
    margin-right: 16px;
}

/* --- 訂單狀態 --- */
.order-status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

/* --- 時間軸 --- */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0f2fe;
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-marker {
    position: absolute;
    left: -26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #ccc;
    top: 4px;
    z-index: 1;
}

.timeline-item.active .timeline-marker {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
}

.timeline-content {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

/* --- 預約：顧問/門市 --- */
.staff-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 4px;
    padding-bottom: 10px;
}

.staff-scroll-container::-webkit-scrollbar {
    display: none;
}

.staff-card {
    min-width: 110px;
    background: white;
    border-radius: 16px;
    padding: 16px 10px;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    box-shadow: var(--card-shadow);
}

.staff-card.active {
    border-color: var(--primary-blue);
    background-color: #f0f9ff;
}

.staff-card .check-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--primary-dark);
    opacity: 0;
    transition: opacity 0.2s;
}

.staff-card.active .check-icon {
    opacity: 1;
}

.staff-avatar {
    width: 50px;
    height: 50px;
    background-color: #e0f2fe;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.2rem;
}

/* --- 預約：類別 --- */
.category-tabs {
    background: white;
    padding: 0;
    border-radius: 12px;
    display: flex;
    gap: 10px;
}

.cat-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #eef5f9;
    background: white;
    color: var(--text-light);
    border-radius: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.cat-btn.active {
    background-color: var(--primary-blue);
    color: var(--text-main);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(187, 232, 255, 0.6);
}

/* --- 預約：服務項目 --- */
.service-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
    box-shadow: var(--card-shadow);
}

.service-item.clickable:hover {
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

.service-item.active {
    border-color: var(--primary-blue);
    background-color: #f0f9ff;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--text-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.service-check {
    margin-left: auto;
    color: var(--primary-dark);
    display: none;
}

.service-item.active .service-check {
    display: block;
}

/* --- 價目表 --- */
.price-list-header {
    background-color: #e0f2fe;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 12px;
    margin-top: 24px;
}

/* --- 優惠券 --- */
.coupon-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    box-shadow: var(--card-shadow);
    margin-bottom: 16px;
    position: relative;
}

.coupon-left {
    width: 100px;
    background-color: var(--primary-blue);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
}

.coupon-left::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 12px;
    background-color: var(--bg-light);
    border-radius: 50%;
    z-index: 10;
}

.coupon-right {
    flex-grow: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- 服務詳情 --- */
.course-hero-placeholder {
    background: linear-gradient(135deg, #4a8ba8, #6fafc8);
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
}

.course-detail-content {
    padding: 16px 0 0;
}

.detail-section-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-blue);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.detail-section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background-color: var(--primary-blue);
    margin-right: 8px;
    border-radius: 2px;
}

.feature-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

/* --- 照片上傳 --- */
.photo-upload-box {
    border: 2px dashed #bbe8ff;
    background-color: #f0f9ff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-upload-box:hover {
    background-color: #e0f2fe;
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.photo-preview-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #ddd;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-item .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* --- 預約：日期 --- */
.date-week-btn {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 8px 4px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    cursor: pointer;
}

.date-week-btn.active {
    background: var(--primary-blue);
    color: var(--text-main);
    border-color: var(--primary-blue);
}

.day-btn {
    background: white;
    border-radius: 16px;
    padding: 12px 0;
    text-align: center;
    min-width: 60px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

.day-btn.active {
    background: var(--primary-blue);
    color: var(--text-main);
}

.day-btn .week-day {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.day-btn.active .week-day {
    color: var(--text-main) !important;
    opacity: 0.8;
}

.day-btn .day-num {
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- 底部導航 --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px 20px 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(187, 232, 255, 0.3);
    z-index: 100;
}

.nav-item {
    color: #ccc;
    text-align: center;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none;
}

.nav-item.active {
    color: #4a90e2;
}

/* --- 雜項 --- */
.bg-brown-subtle {
    background-color: #e0f2fe !important;
    color: var(--text-main) !important;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}
