/* 重置樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本樣式 */
body {
    font-family: 'Noto Sans CJK TC', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F8F9FA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 導航欄樣式 */
.navbar {
    background-color: #065671;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4A90E2;
    border-bottom: 2px solid #4A90E2;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄區域樣式 */
.hero-section {
      position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7), rgba(29, 78, 216, 0.5));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

/* 按鈕樣式 */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #065671;
    color: white;
}

.btn-primary:hover {
    background-color: #1e3d1b;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #065671;
}

/* 快速連結區域 */
.quick-links-section {
    padding: 4rem 0;
    background-color: white;
}

.quick-links-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-link-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.quick-link-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.quick-link-item h3 {
    color: #065671;
    margin-bottom: 0.5rem;
}

/* 公告區域 */
.announcements-section {
    padding: 4rem 0;
    background-color: #F8F9FA;
}

.announcements-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #065671;
    font-size: 2.5rem;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.announcement-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.announcement-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.announcement-card h3 {
    padding: 1rem;
    color: #065671;
}

.announcement-card p {
    padding: 0 1rem;
    color: #666;
}

.read-more {
    display: block;
    padding: 1rem;
    color: #4A90E2;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    color: #065671;
}

/* 設施預覽區域 */
.facilities-preview-section {
    padding: 4rem 0;
    background-color: white;
}

.facilities-preview-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #065671;
    font-size: 2.5rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.facility-item {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-5px);
}

.facility-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.facility-item h3 {
    color: #065671;
}

/* 頁腳樣式 */
footer {
    background-color: #065671;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-links-section .container {
        grid-template-columns: 1fr;
    }
    
    .announcement-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* 表單樣式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #065671;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 0.5rem;
}

/* 卡片樣式 */
.card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.card h3 {
    color: #065671;
    margin-bottom: 1rem;
}

/* 麵包屑導航 */
.breadcrumb {
    padding: 1rem 0;
    background-color: #F8F9FA;
    margin-top: 80px;
}

.breadcrumb a {
    color: #4A90E2;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #666;
}

/* 側邊欄 */
.sidebar {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    color: #065671;
    margin-bottom: 1rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 0.5rem;
}

.sidebar ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: #065671;
}

/* 主內容區域 */
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}



/* 表單相關樣式 */
.booking-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: #065671;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    border-color: #4A90E2;
    background-color: #f8f9fa;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background-color: #065671;
    border-color: #065671;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 3px;
    color: white;
    font-weight: bold;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-agreement {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* 警告和成功消息 */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #2a0bd7;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* 設施頁面樣式 */
.facility-section {
    margin-bottom: 4rem;
}

.facility-header {
    text-align: center;
    margin-bottom: 2rem;
}

.facility-header h2 {
    color: #065671;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.facility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.facility-images {
    position: relative;
}

.image-carousel {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.image-carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: none;
}

.image-carousel img:first-child {
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(67, 86, 234, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(67, 86, 234, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.facility-info {
    padding: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item h3 {
    color: #065671;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item ul {
    list-style: none;
    padding: 0;
}

.info-item ul li {
    padding: 0.25rem 0;
    color: #666;
}

.info-item ul li::before {
    content: '✓';
    color: #065671;
    font-weight: bold;
    margin-right: 0.5rem;
}

.facility-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.booking-cta {
    background: linear-gradient(135deg, #065671, #4A90E2);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 12px;
    margin-top: 4rem;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 關於我們頁面樣式 */
.about-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.about-hero h1 {
    color: #065671;
    font-size: 3rem;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.committee-member {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: #f8f9fa;
}

.committee-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.committee-member h3 {
    color: #065671;
    margin-bottom: 0.5rem;
}

.position {
    color: #4A90E2;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #4A90E2;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #065671;
}

.year {
    font-weight: bold;
    color: #4A90E2;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-item h3 {
    color: #065671;
    margin-bottom: 0.5rem;
}

/* 訂營須知頁面樣式 */
.page-title {
    text-align: center;
    color: #065671;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.booking-overview {
    margin-bottom: 3rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.overview-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-5px);
}

.overview-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.overview-item h3 {
    color: #065671;
    margin-bottom: 0.5rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    background-color: #065671;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #065671;
    margin-bottom: 0.5rem;
}

.step-content ul {
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.step-content ul li {
    margin-bottom: 0.25rem;
    color: #666;
}

/* 價格表樣式 */
.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-table {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.pricing-table h3 {
    color: #065671;
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.pricing-table th {
    background-color: #065671;
    color: white;
    font-weight: bold;
}

.pricing-table tr:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

.pricing-notes {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.pricing-notes h3 {
    color: #065671;
    margin-bottom: 1rem;
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
}

.pricing-notes ul li {
    padding: 0.25rem 0;
    color: #666;
}

.pricing-notes ul li::before {
    content: '•';
    color: #4A90E2;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 營地守則樣式 */
.rules-section {
    margin-bottom: 2rem;
}

.rules-section h3 {
    color: #065671;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.rules-section ul {
    list-style: none;
    padding: 0;
}

.rules-section ul li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.rules-section ul li::before {
    content: '▶';
    color: #4A90E2;
    margin-right: 0.5rem;
}

/* 費用計算器樣式 */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.fee-result {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #065671, #4A90E2);
    color: white;
    border-radius: 12px;
}

.fee-result h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fee-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.booking-actions {
    text-align: center;
    margin-top: 3rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 響應式設計補充 */
@media (max-width: 768px) {
    .facility-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps .step {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-tables {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .committee-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .facility-header h2 {
        font-size: 2rem;
    }
}

/* 導航欄滾動效果 */
.navbar.scrolled {
    background-color: rgba(67, 86, 234, 0.8);
    backdrop-filter: blur(10px);
}

/* 手機導航菜單 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #065671;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}


/* 登入頁面樣式 */
.login-container {
    max-width: 1000px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.login-form-wrapper {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.login-form-wrapper h1 {
    color: #065671;
    text-align: center;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .form-actions {
    text-align: center;
    margin-top: 2rem;
}

.login-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.login-links p {
    margin-bottom: 0.5rem;
}

.login-links a {
    color: #4A90E2;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-info {
    background: linear-gradient(135deg, #065671, #4A90E2);
    color: white;
    padding: 3rem;
    border-radius: 12px;
}

.login-info h2 {
    margin-bottom: 1rem;
}

.login-info ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.login-info ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.login-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF8C42;
    font-weight: bold;
}

.demo-account {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.demo-account h3 {
    margin-bottom: 1rem;
}

/* 儀表板樣式 */
.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #065671, #4A90E2);
    color: white;
    border-radius: 12px;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-section {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-section h2 {
    color: #065671;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 0.5rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.action-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #4A90E2;
}

.action-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.action-card h3 {
    color: #065671;
    margin-bottom: 0.5rem;
}

.action-card p {
    color: #666;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.bookings-table {
    overflow-x: auto;
}

.bookings-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.bookings-table th,
.bookings-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.bookings-table th {
    background-color: #f8f9fa;
    color: #065671;
    font-weight: bold;
}

.bookings-table tr:hover {
    background-color: #f8f9fa;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-section h3 {
    color: #065671;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.account-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.announcements-list .announcement-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.announcements-list .announcement-item:last-child {
    border-bottom: none;
}

.announcements-list h4 {
    color: #065671;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.announcements-list p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.announcements-list small {
    color: #999;
    font-size: 0.8rem;
}

.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.quick-links a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #065671;
}

/* 公告頁面樣式 */
.featured-announcements {
    margin-bottom: 3rem;
}

.featured-announcements h2 {
    color: #065671;
    text-align: center;
    margin-bottom: 2rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h3 {
    color: #065671;
    margin-bottom: 0.5rem;
}

.featured-content p {
    color: #666;
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-meta .date {
    color: #999;
    font-size: 0.9rem;
}

.featured-meta .read-more {
    color: #4A90E2;
    text-decoration: none;
    font-weight: bold;
}

.announcements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.announcements-header h2 {
    color: #065671;
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-group input,
.search-group select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.announcement-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.announcement-item:hover {
    transform: translateY(-2px);
}

.announcement-image {
    position: relative;
}

.announcement-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.featured-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #FF8C42;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.announcement-content {
    display: flex;
    flex-direction: column;
}

.announcement-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.category-general {
    background-color: #e3f2fd;
    color: #1976d2;
}

.category-activity {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.category-maintenance {
    background-color: #fff3e0;
    color: #f57c00;
}

.category-urgent {
    background-color: #ffebee;
    color: #d32f2f;
}

.announcement-content h3 {
    color: #065671;
    margin-bottom: 0.5rem;
}

.announcement-content p {
    color: #666;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.announcement-content .read-more {
    color: #4A90E2;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.announcement-content .read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-info {
    color: #666;
    font-size: 0.9rem;
}

/* 響應式設計補充 */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .bookings-table {
        font-size: 0.9rem;
    }
    
    .bookings-table th,
    .bookings-table td {
        padding: 0.5rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .announcements-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-group {
        flex-direction: column;
    }
    
    .announcement-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .announcement-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-section,
    .sidebar-section {
        padding: 1.5rem;
    }
    
    .login-form-wrapper,
    .login-info {
        padding: 2rem;
    }
}

