html { font-size: 14px; }
@media (min-width: 768px) { html { font-size: 15px; } }

body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    background: #f5f7fb;
    color: #2d3748;
}

.auth-page {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    max-width: 420px;
    width: 100%;
}

.kpi-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border-right: 4px solid var(--bs-primary);
    height: 100%;
}
.kpi-card .label { color: #6b7280; font-size: 0.85rem; margin-bottom: 0.5rem; }
.kpi-card .value { font-size: 1.6rem; font-weight: 700; color: #1f2937; }
.kpi-card .icon { float: left; font-size: 2rem; opacity: 0.2; }

.kpi-success { border-right-color: #10b981; }
.kpi-warning { border-right-color: #f59e0b; }
.kpi-danger { border-right-color: #ef4444; }
.kpi-info { border-right-color: #06b6d4; }

.card { box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #e5e7eb; }
.card-header { background: #f9fafb; font-weight: 600; }

.table th { background: #f9fafb; font-weight: 600; font-size: 0.9rem; }
.table-hover tbody tr:hover { background: #f3f4f6; }

.badge-status-active { background: #d1fae5; color: #065f46; }
.badge-status-disposed { background: #fee2e2; color: #991b1b; }
.badge-status-archived { background: #e5e7eb; color: #374151; }

.btn-action { padding: 0.25rem 0.5rem; font-size: 0.8rem; }

.form-label { font-weight: 500; color: #374151; }

.bg-primary { background: linear-gradient(135deg, #3b82f6, #1e40af) !important; }

.navbar-brand i { font-size: 1.3rem; }

.history-item {
    padding: 0.75rem;
    border-right: 3px solid #e5e7eb;
    margin-bottom: 0.5rem;
    background: #f9fafb;
    border-radius: 4px;
}
.history-item.action-Created { border-right-color: #10b981; }
.history-item.action-Updated { border-right-color: #3b82f6; }
.history-item.action-Transferred { border-right-color: #8b5cf6; }
.history-item.action-Disposed { border-right-color: #ef4444; }
.history-item.action-Archived { border-right-color: #6b7280; }
.history-item.action-Split { border-right-color: #f59e0b; }
