:root {
  --bg-primary: #0a0f1d;
  --bg-card: rgba(18, 26, 46, 0.85);
  --border-color: rgba(255, 255, 255, 0.12);
  --accent-cyan: #00e5ff;
  --accent-blue: #3b82f6;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --danger: #ef4444;
  --success: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
}

body {
  background: radial-gradient(circle at top right, #1e293b, #0a0f1d 70%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card, .admin-dashboard {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.08);
  width: 100%;
}

.login-card {
  max-width: 420px;
  padding: 36px 32px;
  text-align: center;
}

.brand-header {
  margin-bottom: 24px;
}

.brand-header img {
  height: 52px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(0, 229, 255, 0.25));
}

.brand-header h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-group {
  text-align: left;
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="file"],
textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.35);
  margin-top: 8px;
}

button[type="submit"]:hover {
  background: linear-gradient(135deg, #00c6eb, #0088cc);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.45);
}

.error-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  text-align: left;
}

.credentials-hint {
  margin-top: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.credentials-hint strong {
  color: var(--accent-cyan);
}

.admin-dashboard {
  max-width: 900px;
  padding: 36px;
}

.admin-dashboard h1 {
  font-size: 26px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.admin-dashboard section {
  margin-bottom: 32px;
}

.admin-dashboard h2 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--accent-cyan);
}
