/**
 * 非常GO 網站UI一致性樣式規範
 * 統一各模組頁面的導航列下方第一行高度和整體風格
 */

/* 全域重置和基礎樣式 */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #f8f9fa;
}

/* 統一導航列下方第一行高度 - 全新設計 */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2C3E50 50%, #34495e 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(241, 196, 15, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(231, 126, 34, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-10px) translateY(-5px); }
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #ffffff 0%, #F1C40F 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes titleGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-header .lead {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Hero區塊統一樣式 */
.hero-section {
    background: linear-gradient(135deg, #2C3E50 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* 統一搜尋框樣式 */
.search-section {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: -15px auto 20px;
    max-width: 800px;
    position: relative;
    z-index: 3;
}

.search-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    border-color: #F1C40F;
    box-shadow: 0 0 0 0.2rem rgba(241, 196, 15, 0.25);
}

.search-form .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2C3E50;
    border-color: #2C3E50;
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.btn-warning {
    background-color: #F1C40F;
    border-color: #F1C40F;
    color: #2C3E50;
}

.btn-warning:hover {
    background-color: #d4ac0d;
    border-color: #d4ac0d;
    color: #2C3E50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

/* 統一卡片樣式 */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 統一分類卡片樣式 */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    margin-bottom: 1.5rem;
}

.category-card:hover {
    background-color: #2C3E50;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.2);
    border-color: #F1C40F;
}

.category-card i {
    font-size: 2.5rem;
    color: #F1C40F;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover i {
    color: white;
    transform: scale(1.1);
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* 統一導航按鈕樣式 - 全新設計 */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0 0 0;
    flex-wrap: wrap;
}

.nav-btn {
    position: relative;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.9) 0%, rgba(231, 126, 34, 0.9) 100%);
    color: #2C3E50;
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(241, 196, 15, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    min-width: 160px;
    text-align: center;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #F1C40F 0%, #E67E22 100%);
    color: #1a252f;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(241, 196, 15, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s;
}



/* 統一卡片高度樣式 */
.card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 聊天室卡片統一高度 */
.chat-room-card {
    min-height: 250px;
    transition: all 0.3s ease;
}

.chat-room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 統一側邊欄樣式 */
.sidebar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    min-height: 200px;
}

.sidebar-card .card-header {
    background: linear-gradient(135deg, #2C3E50 0%, #34495e 100%);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border: none;
}

.sidebar-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.3s ease;
}

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

.sidebar-item:hover {
    background-color: #f8f9fa;
}

.sidebar-item a {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sidebar-item a:hover {
    color: #F1C40F;
}

/* 統一徽章樣式 */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #F1C40F 0%, #f39c12 100%);
    color: #2C3E50;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.3);
}

/* 統一分頁樣式 */
.pagination {
    justify-content: center;
    margin-top: 3rem;
}

.page-link {
    color: #2C3E50;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin: 0 3px;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover {
    color: #2C3E50;
    background-color: #F1C40F;
    border-color: #F1C40F;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: #2C3E50;
    border-color: #2C3E50;
    color: white;
}

/* 三大功能區塊樣式 */
.feature-section {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.feature-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.feature-header.bg-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.feature-header.bg-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.feature-header.bg-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #2c3e50;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
}

.feature-icon i {
    font-size: 1.8rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
}

.feature-content {
    padding: 1.5rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.content-list {
    flex: 1;
}

.content-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
}

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

.content-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.item-badge {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.feature-section:nth-child(2) .item-badge {
    background: linear-gradient(135deg, #27ae60, #229954);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.feature-section:nth-child(3) .item-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.item-content {
    flex: 1;
}

.item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.item-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.item-title a:hover {
    color: #3498db;
}

.item-excerpt {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.item-rating {
    margin-bottom: 0.5rem;
}

.item-rating i {
    color: #f39c12;
    font-size: 0.8rem;
    margin-right: 2px;
}

.rating-score {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-left: 0.3rem;
}

.item-meta {
    font-size: 0.8rem;
    color: #95a5a6;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.item-meta i {
    width: 12px;
    text-align: center;
}

.feature-footer {
    padding: 1rem 1.5rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #ecf0f1;
}

.feature-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.2);
}

.feature-btn:hover {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 73, 94, 0.3);
    color: white;
}

.feature-btn i {
    transition: transform 0.3s ease;
}

.feature-btn:hover i {
    transform: translateX(3px);
}

/* 響應式設計 - 平板 */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
        min-height: 300px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }
    
    .page-header .lead {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .search-section {
        margin: -10px 15px 15px;
        padding: 15px;
    }
    
    .nav-buttons {
        gap: 1rem;
        flex-direction: row;
        justify-content: center;
        margin: 2.5rem 0 0 0;
    }
    
    .nav-btn {
        padding: 15px 24px;
        font-size: 1rem;
        flex: 1;
        text-align: center;
        max-width: 140px;
        min-width: 120px;
    }
    
    .category-card {
        padding: 1.5rem 0.5rem;
    }
    
    .category-card i {
        font-size: 2rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    /* 改善手機版卡片間距 */
    .card {
        margin-bottom: 1.5rem;
    }
    
    /* 改善手機版列表項目 */
    .list-group-item {
        padding: 1rem 0.75rem;
    }
    

    
    /* 三大功能區塊響應式 */
    .feature-section {
        margin-bottom: 2rem;
    }

    .feature-header {
        padding: 1.5rem 1rem 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-subtitle {
        font-size: 0.9rem;
    }

    .feature-content {
        padding: 1rem;
        min-height: 240px;
    }

    .content-item {
        padding: 0.8rem 0;
    }

    .item-badge {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .item-title {
        font-size: 0.9rem;
    }

    .item-excerpt {
        font-size: 0.8rem;
    }

    .feature-footer {
        padding: 0.8rem 1rem 1rem;
    }

    .feature-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 30px 0;
        min-height: 250px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .search-form .form-control,
    .search-form .btn {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .nav-buttons {
        gap: 0.8rem;
        margin: 2rem 0 0 0;
    }
    
    .nav-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-width: 110px;
        max-width: 130px;
    }
    
    /* 改善極小螢幕的可讀性 */
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    /* 改善按鈕觸控區域 */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* 改善表單輸入框 */
     .form-control {
         min-height: 44px;
         font-size: 16px; /* 防止iOS縮放 */
     }
     
    /* 三大功能區塊手機版響應式 */
    .feature-section {
        margin-bottom: 1.5rem;
    }

    .feature-header {
        padding: 1.2rem 0.8rem 0.8rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon i {
        font-size: 1.3rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-subtitle {
        font-size: 0.85rem;
    }

    .feature-content {
        padding: 0.8rem;
        min-height: 200px;
    }

    .content-item {
        padding: 0.6rem 0;
    }

    .item-badge {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
        margin-right: 0.8rem;
    }

    .item-title {
        font-size: 0.85rem;
    }

    .item-excerpt {
        font-size: 0.75rem;
    }

    .item-meta {
        font-size: 0.75rem;
    }

    .feature-footer {
        padding: 0.6rem 0.8rem 0.8rem;
    }

    .feature-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
 }

/* UI體驗改進 */

/* 載入狀態 */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2C3E50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 改善焦點樣式 */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid #F1C40F;
    outline-offset: 2px;
}

/* 改善連結樣式 */
a {
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: none;
}

/* 改善列表項目互動 */
.list-group-item-action:hover {
    background-color: rgba(241, 196, 15, 0.1);
    transform: translateX(5px);
    transition: all 0.2s ease;
}

/* 改善卡片標題 */
.card-title a:hover {
    color: #F1C40F !important;
    transition: color 0.2s ease;
}

/* 改善評分顯示 */
.rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating .fa-star,
.rating .fa-star-half-alt {
    font-size: 0.9rem;
}

/* 改善徽章樣式 */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 改善搜尋框 */
.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
    border-color: #e9ecef;
}

.input-group .form-control:focus + .btn {
    border-color: #F1C40F;
}

/* 改善導航按鈕 */
.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.nav-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #F1C40F;
    color: #2C3E50;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #F1C40F;
}

.nav-btn:hover {
    background-color: transparent;
    color: #F1C40F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

/* 改善無內容狀態 */
.no-content {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.no-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 改善滾動條 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
    
    .category-card {
        padding: 1rem 0.5rem;
    }
    
    .category-card i {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* 登入頁面特殊樣式 */
.login-container {
    max-width: 450px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.login-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2.5rem;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: #2C3E50;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #6c757d;
    margin-bottom: 0;
}

/* 表單統一樣式 */
.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 0.75rem;
    height: auto;
    transition: all 0.3s ease;
}

.form-floating .form-control:focus {
    border-color: #F1C40F;
    box-shadow: 0 0 0 0.2rem rgba(241, 196, 15, 0.25);
}

.form-floating label {
    color: #6c757d;
    font-weight: 500;
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 載入動畫 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 提示訊息樣式 */
.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}