﻿* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background: #f1f5f9; color: #1e293b; }
a { text-decoration: none; color: inherit; }
.login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f172a, #1e3a8a); padding: 20px; }
.login-container { background: #fff; width: 100%; max-width: 440px; border-radius: 16px; padding: 32px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.login-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.brand-badge { background: #1e3a8a; color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 20px; font-size: 13px; }
.lang-btn { font-size: 13px; font-weight: 600; color: #2563eb; border: 1px solid #bfdbfe; padding: 4px 12px; border-radius: 8px; }
.login-header { text-align: center; margin-bottom: 24px; }
.shield-icon { font-size: 40px; margin-bottom: 8px; }
.login-header h1 { font-size: 22px; color: #0f172a; margin-bottom: 6px; }
.login-header p { font-size: 13px; color: #64748b; }
.login-footer { margin-top: 24px; text-align: center; border-top: 1px solid #e2e8f0; padding-top: 16px; }
.hint-text { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.credit-line { font-size: 12px; font-weight: 700; color: #1e3a8a; }
.form-group { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
label { font-size: 13px; font-weight: 600; color: #334155; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; background: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 10px; font-size: 12px; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-warning { background: #d97706; color: #fff; }
.btn-outline { background: transparent; border: 1px solid #cbd5e1; color: #334155; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-danger { background: #fee2e2; color: #991b1b; }
.alert-success { background: #dcfce7; color: #166534; }
.app-layout { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: #0f172a; color: #f8fafc; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; flex-shrink: 0; }
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #1e293b; }
.logo-box { width: 40px; height: 40px; background: #2563eb; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.sidebar-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; flex: 1; }
.sidebar-nav a { padding: 11px 14px; border-radius: 8px; font-size: 14px; color: #cbd5e1; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: #1e293b; color: #fff; font-weight: 600; }
.sidebar-footer { border-top: 1px solid #1e293b; padding-top: 16px; }
.user-card { display: flex; flex-direction: column; margin-bottom: 10px; }
.credit-sidebar { font-size: 11px; color: #94a3b8; text-align: center; }
.main-content { flex: 1; padding: 24px; overflow-x: auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 16px 20px; border-radius: 12px; margin-bottom: 20px; }
.topbar-actions { display: flex; gap: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { background: #fff; padding: 20px; border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.stat-val { font-size: 28px; }
.text-danger { color: #dc2626; } .text-primary { color: #2563eb; } .text-warning { color: #d97706; }
.card { background: #fff; padding: 20px; border-radius: 12px; margin-bottom: 20px; }
.card h4 { margin-bottom: 16px; font-size: 16px; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 14px 0; }
.checkbox-grid label, .checkbox-inline { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-grid input, .checkbox-inline input { width: auto; }
.empty-msg { text-align: center; padding: 32px; color: #64748b; background: #f8fafc; border-radius: 8px; border: 1px dashed #cbd5e1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px; border-bottom: 1px solid #e2e8f0; text-align: start; }
th { background: #f8fafc; }
.action-cell { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-success { background: #dcfce7; color: #166534; } .badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; } .badge-primary { background: #dbeafe; color: #1e40af; }
.badge-muted { background: #e2e8f0; color: #475569; }
.gpo-item { border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.gpo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ps-code { background: #0f172a; color: #38bdf8; padding: 12px; border-radius: 8px; font-size: 12px; overflow-x: auto; margin-top: 8px; direction: ltr; text-align: left; }
