.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px; border: 0;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.15s;
  font-family: inherit;
}
.btn-primary { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); color: white; }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(18,131,236,0.3); transform: translateY(-1px); }
.btn-success { background: var(--lime); color: var(--navy); }
.btn-success:hover { background: #aae020; }
.btn-danger { background: var(--danger); color: white; }
.btn-outline { background: white; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; font-size: 16px; padding: 0 24px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

input, select, textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--soft); font-family: inherit; font-size: 15px;
  outline: none; transition: all 0.15s;
}
textarea { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,131,236,0.15);
}
label {
  display: block; font-size: 13px; font-weight: 700;
  margin: 14px 0 6px; color: var(--navy);
}

.card {
  background: white; border-radius: 14px; padding: 20px;
  box-shadow: 0 2px 8px rgba(7,26,49,0.06); margin-bottom: 16px;
}
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-blue { background: rgba(18,131,236,0.12); color: var(--blue); }
.badge-lime { background: rgba(155,211,8,0.18); color: #5a7a05; }
.badge-orange { background: rgba(255,152,0,0.15); color: var(--warning); }
.badge-red { background: rgba(176,0,32,0.12); color: var(--danger); }
.badge-gray { background: #eef1f5; color: var(--muted); }

.alert {
  padding: 12px 16px; border-radius: 10px; margin-bottom: 16px;
  border-left: 4px solid; font-size: 14px;
}
.alert-info { background: #eaf4ff; border-color: var(--blue); color: var(--navy); }
.alert-success { background: #f1faea; border-color: var(--lime); color: #3d5400; }
.alert-warning { background: #fff8e1; border-color: var(--warning); color: #7a4d00; }
.alert-danger { background: #ffeaee; border-color: var(--danger); color: var(--danger); }

table { width: 100%; border-collapse: collapse; }
table th { background: var(--navy); color: white; text-align: left; padding: 12px; font-size: 13px; }
table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
table tr:hover td { background: var(--soft); }

.kpi-card {
  background: white; border-radius: 14px; padding: 22px;
  box-shadow: 0 2px 8px rgba(7,26,49,0.06);
}
.kpi-card .label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi-card .value { font-size: 36px; font-weight: 900; color: var(--navy); margin: 6px 0; line-height: 1; }
.kpi-card .delta { font-size: 13px; color: var(--lime); font-weight: 700; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: white; padding: 14px 22px;
  border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  z-index: 9999; opacity: 0; transition: opacity 0.3s, transform 0.3s;
  font-weight: 600;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.toast.error { background: var(--danger); }
.toast.success { background: #2d5a08; }
