/* 挪威行程表 - 手機版專用 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    color: #e8f4f8;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
    scroll-behavior: smooth;
}

/* 極光背景效果 */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(45deg, 
        rgba(0, 255, 191, 0.1) 0%, 
        rgba(0, 255, 255, 0.1) 25%, 
        rgba(0, 191, 255, 0.1) 50%, 
        rgba(0, 255, 191, 0.1) 75%, 
        rgba(0, 255, 255, 0.1) 100%);
    z-index: -1;
}

/* 標題區域 */
.header {
    position: relative;
    padding: 15px 12px 25px;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 20, 25, 0.9) 0%, rgba(26, 35, 50, 0.8) 100%);
    border-bottom: 1px solid rgba(0, 255, 191, 0.2);
}

.title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #00ffbf, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.total-cost {
    background: rgba(0, 255, 191, 0.1);
    border: 1px solid rgba(0, 255, 191, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
    margin: 8px 0;
    display: inline-block;
}

.cost-label {
    display: inline;
    font-size: 12px;
    color: #b0c4de;
    margin-right: 8px;
}

.cost-amount {
    display: inline;
    font-size: 14px;
    font-weight: 700;
    color: #00ffbf;
}

.paid-summary {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
    margin: 8px 0;
    display: inline-block;
}

.paid-label {
    display: inline;
    font-size: 12px;
    color: #b0c4de;
    margin-right: 8px;
}

.paid-amount {
    display: inline;
    font-size: 14px;
    font-weight: 700;
    color: #00ff00;
}

.trip-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.date, .duration {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.9) 0%, rgba(0, 255, 191, 0.9) 100%);
    border-radius: 12px;
    border: 2px solid rgba(0, 191, 255, 0.5);
}

/* 主要內容區域 */
.main-content {
    padding: 15px 12px;
}

/* 行程卡片 */
.trip-card {
    background: rgba(26, 35, 50, 0.8);
    border: 1px solid rgba(0, 255, 191, 0.2);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15) 0%, rgba(0, 255, 191, 0.15) 100%);
    padding: 12px 16px 16px 16px;
    border-bottom: 1px solid rgba(0, 255, 191, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.card-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #e8f4f8;
    margin: 0;
    line-height: 1.4;
}

.card-header .map-link {
    font-size: 12px;
    color: #00ffbf;
    text-decoration: none;
    display: inline-block;
    padding: 2px 4px;
    background: rgba(0, 255, 191, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 191, 0.3);
    transition: all 0.3s ease;
    width: fit-content;
    font-weight: 700;
}

.card-header .map-link:hover {
    background: rgba(0, 255, 191, 0.2);
    border-color: rgba(0, 255, 191, 0.5);
}

.date-range {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.9) 0%, rgba(0, 255, 191, 0.9) 100%);
    padding: 6px 10px;
    border-radius: 8px;
    border: 2px solid rgba(0, 191, 255, 0.5);
    white-space: nowrap;
    position: absolute;
    top: 8px;
    right: 16px;
    z-index: 10;
}

.card-content {
    padding: 0;
}

/* 時間軸項目 */
.timeline-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 255, 191, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item.optional {
    background: rgba(255, 193, 7, 0.05);
    border-left: 3px solid #ffc107;
}

/* 時間顯示樣式 */
.time {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    display: block;
    background: linear-gradient(135deg, rgba(0, 255, 191, 0.9) 0%, rgba(0, 191, 255, 0.9) 100%);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 191, 0.5);
    width: fit-content;
}

/* 日期區塊樣式 */
.day-section {
    margin-bottom: 20px;
    border-radius: 0;
    overflow: hidden;
    background: rgba(15, 20, 25, 0.3);
    border: 1px solid rgba(0, 255, 191, 0.1);
}

.day-section:last-child {
    margin-bottom: 0;
}

.day-header {
    background: linear-gradient(135deg, rgba(0, 255, 191, 0.08) 0%, rgba(0, 191, 255, 0.08) 100%);
    padding: 12px 16px;
    border-bottom: 2px solid rgba(0, 191, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.day-header .subtitle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.day-header .subtitle-row .day-subtitle,
.day-header .subtitle-row .map-link {
    height: 32px;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.day-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #00bfff, #00ffbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.day-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #e8f4f8;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    width: fit-content;
}

.day-activities {
    padding: 0;
}

.day-activities .timeline-item {
    padding: 10px 16px;
}

.activity-title {
    font-size: 15px;
    font-weight: 500;
    color: #e8f4f8;
    margin-bottom: 6px;
    line-height: 1.4;
}

.activity-desc {
    font-size: 13px;
    color: #b0c4de;
    line-height: 1.5;
}

/* 價格信息樣式 */
.activity-desc:has(💰) {
    margin-bottom: 8px;
}

/* 航班號高亮樣式 */
.flight-number {
    color: #00ffbf;
    font-weight: 700;
}

/* 時間顯示樣式調整 */
.time {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 12px;
    margin-bottom: 10px;
    display: block;
    background: linear-gradient(135deg, rgba(0, 255, 191, 0.9) 0%, rgba(0, 191, 255, 0.9) 100%);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 191, 0.5);
    width: fit-content;
}

.map-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 8px;
    color: #00ffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.day-header .subtitle-row .map-link {
    margin: 0;
    margin-top: 0;
    font-weight: 700;
}



/* 底部導航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    border-top: 1px solid rgba(0, 255, 191, 0.2);
    padding: 8px 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    gap: 4px;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    background: none;
    border: none;
    color: #b0c4de;
    text-decoration: none;
    cursor: pointer;
    min-width: 40px;
    border-radius: 8px;
}

.nav-btn.active {
    color: #00ffbf;
    background: rgba(0, 255, 191, 0.1);
}

.nav-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.nav-text {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
} 

/* Language Switch */
.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #4a90e2;
    color: #4a90e2;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.lang-btn.active {
    background: #4a90e2;
    color: white;
} 

/* Route Map Button */
.route-map-btn {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    border: 2px solid #ff9800;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.route-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 255, 191, 0.4);
    background: linear-gradient(135deg, rgba(0, 255, 191, 1) 0%, rgba(0, 191, 255, 1) 100%);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(15, 20, 25, 0.95) 100%);
    margin: 5% auto;
    padding: 0;
    border: 2px solid rgba(0, 255, 191, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(135deg, rgba(0, 255, 191, 0.1) 0%, rgba(0, 191, 255, 0.1) 100%);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 255, 191, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px 14px 0 0;
}

.modal-header h2 {
    color: #e8f4f8;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.close {
    color: #b0c4de;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #00ffbf;
}

.modal-body {
    padding: 20px;
}

.map-container {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 191, 0.2);
}

.embedded-map {
    width: 100%;
    height: 500px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.embedded-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px 12px 0 0;
}

.hotels-list {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.9) 0%, rgba(26, 35, 50, 0.9) 100%);
    padding: 30px;
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.hotels-list h3 {
    color: #00ffbf;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 600px;
}

.hotel-marker {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.hotel-marker:hover {
    background: rgba(0, 191, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.hotel-icon {
    font-size: 24px;
    color: #00ffff;
}

.hotel-info {
    text-align: left;
    flex: 1;
}

.hotel-info strong {
    display: block;
    color: #e8f4f8;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hotel-info span {
    color: #b0c4de;
    font-size: 14px;
}

.google-maps-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 255, 191, 0.9) 0%, rgba(0, 191, 255, 0.9) 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 255, 191, 0.5);
    box-shadow: 0 4px 12px rgba(0, 255, 191, 0.3);
}

.google-maps-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 255, 191, 0.4);
    background: linear-gradient(135deg, rgba(0, 255, 191, 1) 0%, rgba(0, 191, 255, 1) 100%);
    text-decoration: none;
    color: #ffffff;
}



.route-info {
    background: rgba(15, 20, 25, 0.3);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 191, 0.1);
}

.route-info h3 {
    color: #00ffbf;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.route-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.route-info li {
    color: #e8f4f8;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 191, 0.1);
    font-size: 14px;
    line-height: 1.5;
}

.route-info li:last-child {
    border-bottom: none;
}

.route-info strong {
    color: #00ffff;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .route-map-btn {
        position: fixed;
        bottom: 100px;
        right: 15px;
        padding: 8px 12px;
        font-size: 12px;
        z-index: 999;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 15px;
    }
} 

/* 勾選框樣式 */
.paid-checkbox {
    margin-left: 8px;
    transform: scale(1.3);
    cursor: pointer;
    accent-color: black;
    background-color: white;
    border: 2px solid #00ffbf;
}

.paid-checkbox:checked {
    accent-color: black;
    background-color: white;
}

/* 已鎖定的勾選框樣式 - 保持清晰的勾選顯示 */
.paid-checkbox:disabled {
    cursor: not-allowed;
    opacity: 1;
    accent-color: black;
    background-color: white;
    filter: none;
}

.paid-checkbox:checked:disabled {
    opacity: 1;
    accent-color: black;
    background-color: white;
}

/* 當勾選框被選中時在後面顯示紅色 Paid */
.activity-desc:has(.paid-checkbox:checked)::after {
    content: " Paid";
    color: #ff4444;
    font-weight: 600;
    margin-left: 4px;
} 



 