/* AIwiki 自訂樣式 */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

main {
    flex: 1;
}

/* 統計卡片懸停效果 */
.card {
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 導覽列品牌字體 */
.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

/* 快速操作按鈕 */
.btn.py-3 {
    font-size: 0.9rem;
    border-radius: 12px;
}

/* 標籤徽章 */
.badge {
    font-weight: 500;
}

/* 載入動畫 */
.spinner-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 確認對話框強調色 */
.modal-header.bg-danger,
.modal-header.bg-warning {
    color: #fff;
}

/* 對話訊息泡泡 */
.chat-bubble-user {
    background: #0d6efd;
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    padding: 10px 16px;
    max-width: 75%;
    margin-left: auto;
}

.chat-bubble-ai {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 18px 18px 18px 4px;
    padding: 10px 16px;
    max-width: 85%;
}
