 
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
}

/* ====== LOGIN ====== */
.login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  color: #fff;
}

.login-title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.login-subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 24px;
}

.btn-login {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: #fff;
  padding: 12px;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

/* ====== NAVBAR ====== */
.navbar-custom {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
  font-weight: 700;
  font-size: 20px;
}

/* ====== STAT CARDS ====== */
.stat-card {
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-icon {
  font-size: 28px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  opacity: 0.85;
}

.bg-gradient-primary  { background: linear-gradient(135deg, #667eea, #764ba2); }
.bg-gradient-success  { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.bg-gradient-warning  { background: linear-gradient(135deg, #f6d365, #fda085); }
.bg-gradient-info     { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }

/* ====== CARDS ====== */
.card-custom {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}

.card-header-custom {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
  padding: 16px 20px;
  color: #1a1a2e;
}

/* ====== TABLE ====== */
.table-custom {
  font-size: 13px;
}

.table-custom thead th {
  background: #f8f9fa;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 2px solid #e9ecef;
}

.table-custom tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.table-custom tbody tr:hover {
  background: #f8f9ff;
}

.badge-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-status.completed {
  background: #d4edda;
  color: #155724;
}

.badge-status.pending {
  background: #fff3cd;
  color: #856404;
}

.badge-status.new {
  background: #e2e3f5;
  color: #383d41;
}

/* ====== TELEGRAM BUTTON ====== */
.btn-tg {
  background: #0088cc;
  border: none;
  color: #fff;
  padding: 10px;
  font-weight: 600;
  border-radius: 10px;
}

.btn-tg:hover {
  background: #0077b5;
  color: #fff;
}

/* ====== REGISTER CARD ====== */
.register-card {
  border: 2px solid #ffa500;
  position: relative;
}

.register-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffa500, #ff6347);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
  z-index: 1;
}

/* ====== CAPTCHA ====== */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.captcha-question {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
  color: #1a1a2e;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 8px 12px;
}

/* ====== FORM CHECK ====== */
.form-check-label {
  font-size: 13px;
  color: #495057;
}

.form-check-label a {
  color: #667eea;
  font-weight: 600;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .login-card { padding: 30px 20px; }
  .stat-number { font-size: 22px; }
  .table-custom { font-size: 12px; }
  .table-custom thead th,
  .table-custom tbody td { padding: 8px 10px; }
}

