body {
    margin: 0;
    font-family: 'Noto Sans TC', sans-serif;
    color: #3c3c3c;
}

/* 通用工具類 */
.hidden {
    display: none !important;
}

.copyright-text {
    color: #ffffff;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    line-height: 1.5;
}

/* 導航左側區塊 */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}

/* Logo 右側的選單 */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

/* 桌面版登入註冊按鈕區塊 */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* 手機版登入註冊按鈕 */
#auth-buttons-mobile-login,
#auth-buttons-mobile-register {
    display: block;
}

/* 用戶選單樣式 */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: #3c3c3c;
}

.user-menu-button:hover {
    background-color: rgba(57, 112, 31, 0.1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(57, 112, 31, 0.3);
    transition: all 0.2s ease;
    background-color: #39701f;
}

.user-menu-button:hover .user-avatar {
    border-color: rgba(57, 112, 31, 0.6);
    transform: scale(1.05);
}

.user-name {
    display: none;
}

.user-menu-arrow {
    display: none;
}

.user-menu-button.active .user-menu-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    padding: 0.25rem 0.25rem;
    list-style: none;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 180px;
    overflow: hidden;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-item {
    display: block;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #3c3c3c;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.user-dropdown-item:hover {
    background-color: #39701f;
    color: #fff;
}

/* 第一個選單項的圓角 */
.user-dropdown-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

/* 最後一個選單項的圓角 */
.user-dropdown-item:last-child {
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.user-dropdown-item svg {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.user-dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.25rem 0;
}

.logout-button {
    color: #dc2626 !important;
}

.logout-button:hover {
    background-color: #dc2626 !important;
    color: #fff !important;
}

.logout-button svg {
    color: inherit;
}

/* 手機版用戶選單樣式 */
.user-menu-mobile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
    background-color: #fff;
    border-radius: 0.25rem;
}

.user-avatar-mobile {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(57, 112, 31, 0.3);
    background-color: #39701f;
}

.user-name-mobile {
    font-weight: 500;
    font-size: 0.9rem;
    color: #3c3c3c;
}

.user-menu-mobile-item {
    display: block;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #3c3c3c;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.user-menu-mobile-item:hover {
    background-color: #39701f;
    color: #fff;
}

.user-menu-mobile-item svg {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    vertical-align: middle;
    color: inherit;
}

.user-menu-mobile-item:hover svg {
    color: #1F3D0E;
    transform: scale(1.05);
}

#logo-img {
    object-fit: cover;
    width: 8.75rem;
    display: block;
}

/* Footer 中的 logo 圖片樣式 */
.footer-logo-img {
    height: 2.5rem; /* 設定適當的高度 */
    width: auto; /* 保持寬高比 */
    object-fit: contain; /* 保持圖片比例 */
}

.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1d3d0e;
    background-image: url(img/header-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    gap: 5rem;
    padding: 1rem 2rem;
    min-width: 18rem;
    min-height: 45vh;
}

.page-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 2rem
}

.header-title {
    /* font-size: 2.25rem; */
    color: #fff;
    text-align: center;
}

.header-subtitle {
    /* font-size: 1rem; */
    color: #fff;
    text-align: center;
}

.header-button {
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    color: #39701f;
    cursor: pointer;
}

.header-sub-button {
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    padding: 0.75rem 1.5rem;
    background-color: #39701f;
    color: #fff;
    cursor: pointer;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.load-more-button {
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    padding: 0.75rem 1.5rem;
    background-color: #39701F;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-more-button:hover {
    background-color: #2d5a18;
}

.load-more-button:active {
    background-color: #1f3d11;
}

.load-more-button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.header-button-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.main-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}

.main-nav-list {
    display: none; /* 桌面版隱藏，只在手機版顯示 */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    transition: all 0.3s ease-in-out;
}

.main-nav-link {
    color: #fff;
    text-decoration: none;
}

/* 設定父元素的定位基準 */
.nav-item-with-dropdown {
    position: relative; /* 讓子元素相對於此定位 */
}

/* hover 顯示 dropdown-menu */
.nav-item-with-dropdown:hover .dropdown-menu {
    display: block; /* 當父級 hover 時顯示下拉選單 */
}

.hamburger-menu {
    display: none;
}

#hamburger-menu-toggle {
    display: none;
}

#dropdown-menu-toggle {
    display: none;
}

#dropdown-menu-toggle-mobile {
    display: none;
}

.dropdown-menu {
    display: none; /* 初始隱藏 */
    position: absolute; /* 確保不影響父元素布局 */
    top: 100%; /* 下拉到父元素正下方 */
    right: 0;
    background-color: #fff;
    padding: 0.25rem 0.25rem;
    list-style: none;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dropdown-menu-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    box-sizing: border-box; /* 確保 padding 不影響寬度 */
    padding-right: 1rem; /* 在右側增加 padding */
}

.dropdown-menu-title svg {
    display: none;
}

.dropdown-link {
    display: block;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #3c3c3c;
    padding: 0.5rem 1rem;
    white-space: nowrap; /* 防止文字換行 */
}

/* 下拉選單 hover 樣式 */
.dropdown-link:hover {
    background-color: #39701f; /* Hover 背景色 */
    color: #fff; /* Hover 字體顏色 */
}

/* 登入按鈕樣式 */
.login-button {
    background-color: transparent;
    color: #fff !important;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    font-size: 1rem;
}

.login-button:hover {
    background-color: #fff;
    color: #39701f !important;
    border: 2px solid #fff;
    transform: translateY(-1px);
}

/* 註冊按鈕樣式 */
.register-button {
    background-color: #39701f;
    color: #fff !important;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #39701f;
    margin-left: 0.75rem;
    font-size: 1rem;
}

.register-button:hover {
    background-color: #fff;
    color: #39701f !important;
    border: 2px solid #39701f;
    transform: translateY(-1px);
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 1160px;
    min-width: 18rem;
    margin: 0rem auto 3rem;
    padding: 0 2rem;
}

/* 基本列表樣式 */
.main-container ol {
    list-style-type: lower-latin;
    padding-left: 2.5em; /* 給編號預留更多空間 */
    margin: 0;
    box-sizing: border-box;
    width: 100%;
}

/* 巢狀列表樣式 */
.main-container ol ol {
    list-style-type: lower-roman;
    padding-left: 2.5em; /* 巢狀列表的縮排 */
    margin-top: 1rem; /* 與上層內容的間距 */
}

/* 列表項目樣式 */
.main-container li {
    margin-bottom: 1rem;
    padding-right: 1em; /* 右側留白，防止文字貼太近邊緣 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* 移除最後一個 li 的底部邊距 */
.main-container li:last-child {
    margin-bottom: 0;
}

.main-container-title {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    /* font-size: 1.5rem; */
}

.main-container-content {
    padding-top: 3rem;
    width: 100%;
}

.main-container-txt {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.main-container-list {
    margin: 0;
}

.main-container-list li {
    margin-bottom: 1rem;
}



.trip-item-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trip-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 18rem;
    max-width: 30%;
    flex: 1;
}

.trip-item-img {
    width: 100%;
    height: 200px; /* 固定高度確保一致性 */
    object-fit: cover;
    object-position: center; /* 確保圖片置中 */
    border-radius: 16px;
}

.trip-item-title {
    margin: 0.5rem 0 0 0;
    /* font-size: 1rem; */
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
    max-width: 100%;
}

.trip-item-subtitle {
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
    text-align: left;
    color: #3c3c3c;
}

.content-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pattern-1 {
    flex-direction: row;
}

.pattern-2 {
    flex-direction: row-reverse;
}

.content-container-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 40%;
}

.content-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-align: left;
    color: #39701f;
}

.content-subtitle {
    margin: 0;
    font-size: 1rem;
    text-align: left;
    color: #3c3c3c
}

.content-container-img {
    object-fit: cover;
    max-width: 40%;
}

.footer-layout {
    display: flex;
    flex-direction: column;
    justify-content: left;
    min-width: 18rem;
    padding: 3.75rem 3.75rem;
    background-color: #1d3d0e;
}

.footer-menu-group {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    color: #fff;
    margin-right: 7.5rem;
}

.menu-group-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.menu-group-txt {
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
}

.divider {
    height: 0.5px;
    background-color: #fff;
    width: 100%;
    margin: 1rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-regular {
    font-weight: 400;
}


@media (max-width: 767px) {
    .main-nav {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }

    /* 隱藏桌面版的 nav-menu 和 auth-buttons */
    .nav-menu {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }

    /* 手機版用戶選單樣式 */
    .user-menu {
        display: none;
    }

    .user-menu-mobile {
        display: block;
        width: 100%;
    }

    .user-menu-mobile-header {
        padding: 1.5rem 1rem;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 0;
    }

    .user-menu-mobile-item {
        padding: 1rem;
        border-bottom: 1px solid #f3f4f6;
        font-size: 1rem;
    }

    .user-menu-mobile-item:last-child {
        border-bottom: none;
    }

    .main-nav-list {
        display: none;
        flex-direction: column;
        width: 92%;
        background-color: #fff;
        position: absolute;
        top: 2rem; /* 確保選單顯示在漢堡菜單下方 */
        right: 0;
        left: 0;
        padding: 1rem;
        gap: 0.75rem;
        border-radius: 0.5rem;
        z-index: 1000;
    }

    .main-nav-link {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        color: #39701f;
        text-decoration: none;
    }

    #hamburger-menu-toggle:checked ~ .main-nav-list {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .hamburger-menu {
        display: block;
        position: static;
        cursor: pointer;
    }

    .nav-item-with-dropdown:hover .dropdown-menu{
        display: none;
    }

    #dropdown-menu-toggle-mobile:checked ~ .dropdown-menu {
        display: block;
    }

    #dropdown-menu-toggle-mobile:checked + .dropdown-menu-title svg {
        transform: rotate(180deg);
        transition: transform 0.3s ease-in-out;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0.5rem;
    }

    .dropdown-menu-title {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        width: 100%;
        cursor: pointer;
    }

    .dropdown-menu-title svg {
        display: inline-block;
    }

    .dropdown-link {
        padding: 0.5rem 1rem;
        margin: 0;
        color: #39701f;
        text-decoration: none;
        font-size: 1rem;
    }

    .dropdown-link:hover {
        background-color: transparent; /* 恢復為透明或預設背景 */
        color: inherit; /* 繼承字體顏色 */
    }

    /* 手機版登入按鈕樣式 */
    .login-button {
        background-color: transparent;
        color: #39701f !important;
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        margin-top: 0.5rem;
        text-align: center;
        display: block;
        width: auto;
        border: 2px solid #39701f;
        font-size: 1rem;
    }

    .login-button:hover {
        background-color: #39701f;
        color: #fff !important;
        transform: none;
    }

    /* 手機版註冊按鈕樣式 */
    .register-button {
        background-color: #39701f;
        color: #fff !important;
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        margin-top: 0.5rem;
        text-align: center;
        display: block;
        width: auto;
        margin-left: 0;
        font-size: 1rem;
    }

    .register-button:hover {
        background-color: #2d5a18;
        color: #fff !important;
        transform: none;
    }

    .main-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }



    .trip-item-list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .content-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .content-container-text {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .content-container-img {
        max-width: 100%;
    }
}

/* 行程詳細頁面樣式 */
.trip-detail-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.trip-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

.trip-info-section {
    margin-bottom: 0;
}

/* Hero 區域樣式 */
.trip-hero {
    position: relative;
    margin-bottom: 48px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 600px;
}

.trip-hero-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.trip-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 61, 14, 0.3) 0%, rgba(57, 112, 31, 0.2) 50%, rgba(222, 235, 97, 0.1) 100%);
}

.trip-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
    background: linear-gradient(transparent, rgba(29, 61, 14, 0.8));
    color: white;
}

.trip-hero-info {
    margin-bottom: 24px;
}

.trip-badge {
    margin-bottom: 16px;
}

.trip-duration {
    background: rgba(222, 235, 97, 0.9);
    color: #1D3D0E;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(222, 235, 97, 0.3);
}

.trip-title {
    font-size: 3rem;
    color: white;
    margin: 0 0 16px 0;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trip-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.date-icon {
    font-size: 1.2rem;
}

.trip-creator-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.creator-avatar {
    flex-shrink: 0;
}

.creator-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.creator-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.creator-label {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.creator-name {
    font-size: 1rem;
    font-weight: 600;
}

/* 行程安排區域 */
.itinerary-section {
    padding: 0 48px 48px;
    margin-top: 32px;
}



.itinerary-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 天數區塊 */
.day-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.day-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #DEEB61;
}

/* 每天的主色系 - 使用模組化運算實現自動輪替 */
.day-section[class*="day-"]::before {
    background: #F4A300; /* 預設顏色 */
}

/* 第 1、7、13、19... 天 (6n+1) */
.day-section[class*="day-"]:nth-child(6n+1)::before {
    background: #F4A300;
}

/* 第 2、8、14、20... 天 (6n+2) */
.day-section[class*="day-"]:nth-child(6n+2)::before {
    background: #00B3EC;
}

/* 第 3、9、15、21... 天 (6n+3) */
.day-section[class*="day-"]:nth-child(6n+3)::before {
    background: #85C53B;
}

/* 第 4、10、16、22... 天 (6n+4) */
.day-section[class*="day-"]:nth-child(6n+4)::before {
    background: #F4D500;
}

/* 第 5、11、17、23... 天 (6n+5) */
.day-section[class*="day-"]:nth-child(6n+5)::before {
    background: #9C8CDF;
}

/* 第 6、12、18、24... 天 (6n+6) */
.day-section[class*="day-"]:nth-child(6n+6)::before {
    background: #E9607C;
}

/* 每天的時間軸點顏色 - 使用模組化運算實現自動輪替 */
.day-section[class*="day-"] .timeline-dot {
    background: #F4A300; /* 預設顏色 */
    box-shadow: 0 2px 8px rgba(244, 163, 0, 0.3);
}

/* 第 1、7、13、19... 天 (6n+1) */
.day-section[class*="day-"]:nth-child(6n+1) .timeline-dot {
    background: #F4A300;
    box-shadow: 0 2px 8px rgba(244, 163, 0, 0.3);
}

/* 第 2、8、14、20... 天 (6n+2) */
.day-section[class*="day-"]:nth-child(6n+2) .timeline-dot {
    background: #00B3EC;
    box-shadow: 0 2px 8px rgba(0, 179, 236, 0.3);
}

/* 第 3、9、15、21... 天 (6n+3) */
.day-section[class*="day-"]:nth-child(6n+3) .timeline-dot {
    background: #85C53B;
    box-shadow: 0 2px 8px rgba(133, 197, 59, 0.3);
}

/* 第 4、10、16、22... 天 (6n+4) */
.day-section[class*="day-"]:nth-child(6n+4) .timeline-dot {
    background: #F4D500;
    box-shadow: 0 2px 8px rgba(244, 213, 0, 0.3);
}

/* 第 5、11、17、23... 天 (6n+5) */
.day-section[class*="day-"]:nth-child(6n+5) .timeline-dot {
    background: #9C8CDF;
    box-shadow: 0 2px 8px rgba(156, 140, 223, 0.3);
}

/* 第 6、12、18、24... 天 (6n+6) */
.day-section[class*="day-"]:nth-child(6n+6) .timeline-dot {
    background: #E9607C;
    box-shadow: 0 2px 8px rgba(233, 96, 124, 0.3);
}

/* 每天的時間區塊顏色 - 使用模組化運算實現自動輪替 */
.day-section[class*="day-"] .itinerary-time {
    background: rgba(244, 163, 0, 0.1); /* 預設顏色 */
    color: #F4A300;
}

/* 第 1、7、13、19... 天 (6n+1) */
.day-section[class*="day-"]:nth-child(6n+1) .itinerary-time {
    background: rgba(244, 163, 0, 0.1);
    color: #F4A300;
}

/* 第 2、8、14、20... 天 (6n+2) */
.day-section[class*="day-"]:nth-child(6n+2) .itinerary-time {
    background: rgba(0, 179, 236, 0.1);
    color: #00B3EC;
}

/* 第 3、9、15、21... 天 (6n+3) */
.day-section[class*="day-"]:nth-child(6n+3) .itinerary-time {
    background: rgba(133, 197, 59, 0.1);
    color: #85C53B;
}

/* 第 4、10、16、22... 天 (6n+4) */
.day-section[class*="day-"]:nth-child(6n+4) .itinerary-time {
    background: rgba(244, 213, 0, 0.1);
    color: #F4D500;
}

/* 第 5、11、17、23... 天 (6n+5) */
.day-section[class*="day-"]:nth-child(6n+5) .itinerary-time {
    background: rgba(156, 140, 223, 0.1);
    color: #9C8CDF;
}

/* 第 6、12、18、24... 天 (6n+6) */
.day-section[class*="day-"]:nth-child(6n+6) .itinerary-time {
    background: rgba(233, 96, 124, 0.1);
    color: #E9607C;
}

/* 每天的地點圖標顏色 - 使用模組化運算實現自動輪替 */
.day-section[class*="day-"] .location-icon {
    filter: hue-rotate(0deg) saturate(1.2) brightness(1.1); /* 預設顏色 */
}

/* 第 1、7、13、19... 天 (6n+1) */
.day-section[class*="day-"]:nth-child(6n+1) .location-icon {
    filter: hue-rotate(0deg) saturate(1.2) brightness(1.1);
}

/* 第 2、8、14、20... 天 (6n+2) */
.day-section[class*="day-"]:nth-child(6n+2) .location-icon {
    filter: hue-rotate(200deg) saturate(1.2) brightness(1.1);
}

/* 第 3、9、15、21... 天 (6n+3) */
.day-section[class*="day-"]:nth-child(6n+3) .location-icon {
    filter: hue-rotate(120deg) saturate(1.2) brightness(1.1);
}

/* 第 4、10、16、22... 天 (6n+4) */
.day-section[class*="day-"]:nth-child(6n+4) .location-icon {
    filter: hue-rotate(60deg) saturate(1.2) brightness(1.1);
}

/* 第 5、11、17、23... 天 (6n+5) */
.day-section[class*="day-"]:nth-child(6n+5) .location-icon {
    filter: hue-rotate(280deg) saturate(1.2) brightness(1.1);
}

/* 第 6、12、18、24... 天 (6n+6) */
.day-section[class*="day-"]:nth-child(6n+6) .location-icon {
    filter: hue-rotate(340deg) saturate(1.2) brightness(1.1);
}

/* 每天的 Day Number 顏色 - 使用模組化運算實現自動輪替 */
.day-section[class*="day-"] .day-number {
    background: #F4A300; /* 預設顏色 */
    box-shadow: 0 2px 8px rgba(244, 163, 0, 0.3);
}

/* 第 1、7、13、19... 天 (6n+1) */
.day-section[class*="day-"]:nth-child(6n+1) .day-number {
    background: #F4A300;
    box-shadow: 0 2px 8px rgba(244, 163, 0, 0.3);
}

/* 第 2、8、14、20... 天 (6n+2) */
.day-section[class*="day-"]:nth-child(6n+2) .day-number {
    background: #00B3EC;
    box-shadow: 0 2px 8px rgba(0, 179, 236, 0.3);
}

/* 第 3、9、15、21... 天 (6n+3) */
.day-section[class*="day-"]:nth-child(6n+3) .day-number {
    background: #85C53B;
    box-shadow: 0 2px 8px rgba(133, 197, 59, 0.3);
}

/* 第 4、10、16、22... 天 (6n+4) */
.day-section[class*="day-"]:nth-child(6n+4) .day-number {
    background: #F4D500;
    box-shadow: 0 2px 8px rgba(244, 213, 0, 0.3);
}

/* 第 5、11、17、23... 天 (6n+5) */
.day-section[class*="day-"]:nth-child(6n+5) .day-number {
    background: #9C8CDF;
    box-shadow: 0 2px 8px rgba(156, 140, 223, 0.3);
}

/* 第 6、12、18、24... 天 (6n+6) */
.day-section[class*="day-"]:nth-child(6n+6) .day-number {
    background: #E9607C;
    box-shadow: 0 2px 8px rgba(233, 96, 124, 0.3);
}

/* 每天的 Day Title 顏色 */


.day-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.day-number {
    padding: 8px 16px;
    background: #F4A300;
    color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(244, 163, 0, 0.3);
    transition: all 0.3s ease;
}

.day-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}



.day-date {
    font-size: 1rem;
    color: #ADADAD;
    font-weight: 500;
}

.day-content {
    display: flex;
    gap: 20px;
    position: relative;
    align-items: stretch;
}

/* 行程項目對容器 */
.itinerary-pairs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.itinerary-pairs-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    width: 1px;
    background: #e1e8ed;
    z-index: 0;
    pointer-events: none;
}

.itinerary-pair {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    min-height: 80px;
    height: auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 20px 0;
    position: relative;
    width: 120px;
    z-index: 1;
    flex-shrink: 0;
    justify-content: center;
    min-height: 80px;
    box-sizing: border-box;
    height: auto;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #39701F;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(57, 112, 31, 0.3);
    z-index: 3;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}



.itinerary-time {
    font-weight: 400;
    color: #39701F;
    font-size: 0.9rem;
    padding: 4px 8px;
    background: transparent;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

/* 行程項目 */
.itinerary-item {
    flex: 1;
    padding: 20px 24px;
    background: #f8f9fa;
    border-radius: 16px;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    height: auto;
}

.itinerary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.itinerary-item.last-item {
    margin-bottom: 0;
}

/* 移除舊的 day-items 樣式，因為現在使用 itinerary-pair 結構 */

.itinerary-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: flex-start;
}

.itinerary-main {
    flex: 1;
}

.itinerary-name {
    font-weight: 500;
    color: #1D3D0E;
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.itinerary-location {
    color: #ADADAD;
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* 地點連結樣式 */
.location-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ADADAD;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 4px 8px;
    margin: -4px -8px;
}

.location-link:hover {
    color: #39701F;
    background-color: rgba(57, 112, 31, 0.1);
    transform: translateY(-1px);
}

.location-link:hover .location-icon {
    opacity: 1;
    filter: hue-rotate(120deg) saturate(1.2);
}

.location-link:active {
    transform: translateY(0);
}

.itinerary-memo {
    background: rgba(222, 235, 97, 0.2);
    padding: 16px;
    border-radius: 12px;
    color: #39701F;
    font-size: 0.95rem;
    line-height: 1.5;
    border-left: 4px solid #DEEB61;
    margin-top: 12px;
}

/* 無行程安排 */
.no-itinerary {
    text-align: center;
    padding: 48px 24px;
    color: #95a5a6;
    background: #f8f9fa;
    border-radius: 16px;
    border: 2px dashed #e1e8ed;
}

.no-itinerary-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-itinerary-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #7f8c8d;
}

.no-itinerary-subtext {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* 載入動畫 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: #7f8c8d;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.loading-tips {
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #39701F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 錯誤訊息容器 */
.error-container {
    text-align: center;
    padding: 3rem 2rem;
    background: #fdf2f2;
    border-radius: 16px;
    border: 1px solid #fecaca;
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.error-title {
    font-size: 1.5rem;
    color: #dc2626;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.error-message {
    color: #7f1d1d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.error-suggestions {
    text-align: left;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #f3f4f6;
}

.error-suggestions p {
    color: #374151;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.error-suggestions ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #6b7280;
}

.error-suggestions li {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

/* 重試按鈕 */
.retry-button {
    background: linear-gradient(135deg, #39701F, #1D3D0E);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(57, 112, 31, 0.3);
}

.retry-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(57, 112, 31, 0.4);
}

.retry-button:active {
    transform: translateY(0);
}

.retry-icon {
    font-size: 1.1rem;
    animation: spin 2s linear infinite;
}

/* 模擬資料容器 */
.mock-data-container {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(222, 235, 97, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(222, 235, 97, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

.mock-data-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.mock-data-title {
    font-size: 1.5rem;
    color: #1D3D0E;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.mock-data-message {
    color: #39701F;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.mock-data-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mock-data-button {
    background: linear-gradient(135deg, #DEEB61, #39701F);
    color: #1D3D0E;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(222, 235, 97, 0.3);
}

.mock-data-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(222, 235, 97, 0.4);
}

.mock-data-button:active {
    transform: translateY(0);
}

.button-icon {
    font-size: 1.1rem;
}

/* 模擬資料提示 */
.mock-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(222, 235, 97, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(222, 235, 97, 0.3);
}

.mock-notice-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1D3D0E;
    font-size: 0.9rem;
}

.mock-notice-icon {
    font-size: 1rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        max-width: none;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 767px) {
    .trip-detail-nav {
        padding: 0 16px;
    }
    
    .nav-container {
        height: 56px;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .nav-title-text {
        font-size: 1rem;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .nav-action-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .action-text {
        display: none;
    }
    
    .action-icon {
        width: 18px;
        height: 18px;
    }
    
    .trip-detail-main {
        margin-top: 56px;
        min-height: 100vh;
    }
    
    .trip-hero {
        height: 500px;
    }
    
    .trip-hero-content {
        padding: 24px;
    }
    
    .trip-title {
        font-size: 2rem;
    }
    
    .trip-creator-info {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .itinerary-section {
        padding: 0 24px 32px;
    }
    
    .day-section {
        padding: 24px;
        margin: 0 8px;
    }
    
    .day-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .day-number {
        padding: 6px 12px;
        font-size: 1rem;
    }
    
    .day-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .day-timeline {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-bottom: 16px;
    }
    
    .day-timeline::before {
        display: none;
    }
    
    .day-items {
        margin-top: 0;
    }
    
    .itinerary-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .itinerary-item {
        padding: 16px;
        gap: 16px;
    }
    

    /* 調整行程項目對容器在小螢幕的間距和垂直線位置 */
    .itinerary-pairs-container {
        gap: 24px !important; /* 小螢幕使用更大的間距 */
    }
    
    .itinerary-pairs-container::before {
        left: 10px !important; /* 小螢幕：與圓圈中心對齊 */
    }
    
    /* 調整整個 itinerary-pair 的對齊方式 */
    .itinerary-pair {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px; 
    }
    
    /* 創建一個容器來包含時間文字和行程項目，並與圓圈對齊 */
    .timeline-item {
        margin: 0 !important;
        width: auto !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important; /* 時間點圓圈和時間文字置中對齊 */
        gap: 12px !important;
        padding: 0 !important; /* 移除 timeline-item 的 padding */
        min-height: auto !important; /* 移除固定的最小高度 */
        height: auto !important; /* 確保高度自適應 */
    }
    
    /* 時間點圓圈保持原位 */
    .timeline-dot {
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* 恢復時間文字的 padding 和樣式 */
    .itinerary-time {
        margin: 0 !important;
        min-width: auto !important;
        text-align: center !important; /* 恢復文字置中 */
        padding: 4px 8px !important; /* 恢復原本的 padding */
        align-self: center !important;
    }
    
    /* 確保行程項目與時間文字左邊緣對齊 */
    .itinerary-item {
        margin-left: 32px !important; /* 20px(圓圈) + 12px(gap) = 32px，與時間文字內容對齊 */
        width: calc(100% - 32px) !important;
    }
    
    .error-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .error-title {
        font-size: 1.3rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .retry-button {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
    
    .mock-data-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .mock-data-title {
        font-size: 1.3rem;
    }
    
    .mock-data-message {
        font-size: 1rem;
    }
    
    .mock-data-actions {
        flex-direction: column;
    }
    
    .mock-data-button,
    .retry-button {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 48px;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .nav-title-text {
        font-size: 0.9rem;
    }
    
    .nav-action-btn {
        padding: 4px 8px;
    }
    
    .trip-hero {
        height: 400px;
    }
}

/* 行程詳細頁面專用導航 */
.trip-detail-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trip-detail-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trip-detail-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 32px;
    width: auto;
    filter: none;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-title {
    display: flex;
    align-items: center;
}

.nav-title-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1D3D0E;
    letter-spacing: 0.5px;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.05);
    color: #1D3D0E;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-action-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1D3D0E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-action-btn:active {
    transform: translateY(0);
}

.share-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.download-btn {
    background: #39701F;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(57, 112, 31, 0.3);
    border: none;
}

.download-btn:hover {
    background: #1D3D0E;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(29, 61, 14, 0.4);
}

.action-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: none;
}

.download-btn .action-icon {
    filter: brightness(0) invert(1);
}

.download-btn:hover .action-icon {
    filter: brightness(0) invert(1);
}

.action-text {
    font-weight: 500;
}

/* 調整主內容區域，為固定導航留出空間 */
.trip-detail-main {
    margin-top: 64px;
    min-height: 100vh;
    background: white;
}

/* Toast 通知樣式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    background: white;
    color: #39701F;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
    max-width: 350px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    border: 2px solid #e5e7eb;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-color: #39701F;
    color: #39701F;
}

.toast.info {
    border-color: #3b82f6;
    color: #1d4ed8;
}

.toast.warning {
    border-color: #f59e0b;
    color: #d97706;
}

.toast.error {
    border-color: #ef4444;
    color: #dc2626;
}

.toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.toast-title {
    font-weight: 600;
    font-size: 1rem;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    opacity: 1;
}

.toast-message {
    margin: 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        max-width: none;
        margin-bottom: 0.75rem;
    }
}