/* ============================================
   Auth-specific styles (supplements style.css)
   ============================================ */

/* Form inputs for auth pages */
.label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
}

.text-muted {
  color: var(--text-muted);
  font-size: 12px;
}

/* Flash Messages */
.error-message {
  background: #fee;
  border: 1px solid var(--danger);
  color: #c0392b;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 14px;
}

.success-message {
  background: #e8f6e8;
  border: 1px solid var(--success);
  color: #1e7e34;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 14px;
}

/* Auth tables */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.table tr:hover td {
  background: #f8f9fa;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-secondary {
  background: #95a5a6;
}

/* Disabled Row */
.row-disabled {
  opacity: 0.6;
}

/* Page Header */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0;
}

/* Button additions */
.btn-warning {
  background: var(--warning);
  color: #fff;
}

.btn-warning:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: #95a5a6;
  color: #fff;
}

.btn-secondary:hover {
  opacity: 0.85;
}

/* Login Page (standalone, no sidebar) */
.login-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.login-page #sidebar { display: none; }

.login-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.login-card h1 {
  color: var(--text);
  margin-bottom: 4px;
  font-size: 24px;
}

.login-card h2 {
  color: var(--text-muted);
  font-weight: normal;
  margin-bottom: 20px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  margin-top: 12px;
}
