/* 全局樣式 */
body {
    font-family: 'Microsoft JhengHei', 'PingFang TC', 'Heiti TC', 'Apple LiGothic Medium', 'STHeiti', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* 頁面標題 */
.page-title {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

/* 卡片樣式 */
.card {
    border: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card-header {
    font-weight: 600;
}

.card.shadow {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* 表格樣式 */
.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* 按鈕樣式 */
.btn {
    font-weight: 500;
    border-radius: 0.25rem;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* 表單樣式 */
.form-control, .form-select {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 導航欄樣式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
}

/* 頁腳樣式 */
.footer {
    margin-top: 2rem;
    padding: 1.5rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* 狀態標籤樣式 */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* 自定義動畫 */
.btn-primary:hover, .btn-success:hover, .btn-warning:hover, .btn-danger:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* 請款單狀態顏色 */
.status-draft {
    color: #6c757d;
}

.status-submitted {
    color: #0d6efd;
}

.status-approved {
    color: #198754;
}

.status-rejected {
    color: #dc3545;
}

.status-paid {
    color: #0dcaf0;
} 