/* 主體樣式 */
body {
    background-color: #f8f9fa;
    font-family: "PingFang TC", "Heiti TC", "Microsoft JhengHei", sans-serif;
}

/* 卡片和按鈕樣式 */
.card {
    border-radius: 10px;
    border: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn {
    border-radius: 6px;
    font-weight: 500;
}

.btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #3a56d4;
    border-color: #3a56d4;
}

/* 表格樣式 */
.table {
    font-size: 0.95rem;
}

.table thead th {
    background-color: #f1f5fd;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(67, 97, 238, 0.03);
}

/* 關係類型顏色 */
.relation-incoming {
    color: #38b000;
    font-weight: 500;
}

.relation-outgoing {
    color: #e85d04;
    font-weight: 500;
}

.relation-both {
    color: #7209b7;
    font-weight: 500;
}

/* Toast 通知 */
.toast {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 載入中動畫 */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

/* 錢包地址顯示 */
.text-break {
    word-break: break-all;
    font-family: monospace;
    font-size: 0.9em;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
}