@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #000000;
  --bg-secondary: #080808;
  --bg-tertiary: #0f0f0f;
  --bg-elevated: #161616;
  --bg-hover: #1c1c1c;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border: #1a1a1a;
  --border-light: #262626;
  --border-glow: rgba(245, 197, 24, 0.15);
  --text-primary: #f5f5f5;
  --text-secondary: #a8a8a8;
  --text-muted: #5a5a5a;
  --accent: #f5c518;
  --accent-hover: #e0b400;
  --accent-dim: rgba(245, 197, 24, 0.08);
  --accent-glow: rgba(245, 197, 24, 0.2);
  --accent-border: rgba(245, 197, 24, 0.2);
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.1);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --warning: #f5c518;
  --warning-bg: rgba(245, 197, 24, 0.1);
  --shadow: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(245, 197, 24, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 15px rgba(245, 197, 24, 0.1); }
  50% { box-shadow: 0 0 25px rgba(245, 197, 24, 0.2); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(239, 68, 68, 0.2); }
  50% { border-color: rgba(239, 68, 68, 0.5); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes typingbounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

.animate-in {
  animation: fadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.navbar {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: fadeIn 0.4s ease;
}

.nav-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
}

.nav-brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.notif-bell {
  font-size: 20px;
  cursor: pointer;
  position: relative;
  color: var(--text-muted);
  transition: var(--transition);
}

.notif-bell:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.notif-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  background: var(--error);
  color: white;
  font-size: 10px;
  font-weight: 800;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

.notif-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  width: 320px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  animation: slideDown 0.2s ease;
}

.notif-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.notif-item:hover {
  background: var(--bg-hover);
}

.notif-item.unread {
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
}

.notif-item h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.notif-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.notif-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-header h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.notif-header a {
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  transition: var(--transition);
}

.nav-avatar:hover {
  border-color: var(--accent);
}

.nav-username {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

.page-header {
  margin-bottom: 28px;
  animation: fadeUp 0.5s ease;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  animation: fadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.16s; }
.card:nth-child(4) { animation-delay: 0.24s; }

.card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.card-header h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.card-header h3 {
  font-size: 15px;
  font-weight: 700;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: var(--transition);
  animation: fadeUp 0.5s ease forwards;
  opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.18s; }
.stat-card:nth-child(3) { animation-delay: 0.26s; }
.stat-card:nth-child(4) { animation-delay: 0.34s; }

.stat-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.stat-card .stat-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  display: block;
  letter-spacing: -1.5px;
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn, .btn:hover {
  color: inherit;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #000 !important;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  color: #000 !important;
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.3);
}

.btn-success {
  background: var(--success);
  color: #000 !important;
}

.btn-success:hover:not(:disabled) {
  background: #1db954;
  color: #000 !important;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.btn-danger {
  background: var(--error);
  color: white !important;
}

.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  color: white !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.btn-warning {
  background: var(--warning);
  color: #000 !important;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary) !important;
}

.btn-outline:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--text-muted);
  color: var(--text-primary) !important;
}

.btn-discord {
  background: #5865f2;
  color: white !important;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius);
}

.btn-discord:hover {
  background: #4752c4;
  color: white !important;
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.35);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 8px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

input[type="text"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}

input[type="text"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim), 0 0 20px rgba(245, 197, 24, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.search-bar {
  position: relative;
  max-width: 500px;
}

.search-bar input {
  padding-left: 42px;
  font-size: 15px;
}

.search-bar::before {
  content: '\2315';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-error {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.badge-info {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.callping-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.03));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  animation: pulse-border 2s ease-in-out infinite, fadeUp 0.5s ease;
}

.callping-banner .banner-text h3 {
  color: var(--error);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.callping-banner .banner-text p {
  color: var(--text-secondary);
  font-size: 14px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transition: var(--transition-slow);
  animation: scaleIn 0.5s ease;
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(245, 197, 24, 0.3);
}

.profile-info h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.profile-info .profile-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.profile-info .profile-badges {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.field-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: var(--transition);
}

.field-item:hover {
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.field-item .field-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
  font-weight: 600;
}

.field-item .field-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.announcement-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.announcement-card:hover {
  border-left-color: var(--accent-hover);
  box-shadow: var(--shadow);
}

.announcement-card h3 {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
}

.announcement-card .meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.announcement-card p {
  font-size: 14px;
  color: var(--text-secondary);
  white-space: pre-wrap;
  line-height: 1.6;
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 130px);
  max-width: 740px;
  margin: 0 auto;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.6;
  animation: fadeUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.chat-msg.system {
  align-self: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 90%;
}

.chat-msg.accepted {
  align-self: center;
  background: var(--success-bg);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
  text-align: center;
  font-weight: 700;
  max-width: 90%;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
}

.chat-msg.declined {
  align-self: center;
  background: var(--error-bg);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
  text-align: center;
  font-weight: 700;
  max-width: 90%;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
}

.chat-input-area {
  display: flex;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.chat-input-area input {
  flex: 1;
}

.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 14px 18px;
  align-self: flex-start;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: typingbounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.login-card h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.login-card h1 span {
  color: var(--accent);
}

.login-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.login-card .btn-discord {
  width: 100%;
}

.login-features {
  margin-top: 32px;
  text-align: left;
}

.login-features .feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.login-features .feature:hover {
  color: var(--text-primary);
}

.login-features .feature-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  animation: fadeUp 0.3s ease;
  max-width: 400px;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--accent); }

.admin-section {
  margin-bottom: 24px;
}

.admin-section h3 {
  font-size: 12px;
  margin-bottom: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.action-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.action-row input {
  max-width: 300px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.2s ease;
  backdrop-filter: blur(8px);
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.3s ease;
}

.modal h2 {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 800;
}

.modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.login-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: fadeUp 0.4s ease;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 24px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-features .feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.login-features .feature-text strong {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 700;
}

.login-features .feature-text span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.verify-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.verify-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.verify-step.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.3);
}

.verify-step.done {
  background: var(--success);
  border-color: var(--success);
  color: #000;
}

.verify-step-line {
  width: 48px;
  height: 2px;
  background: var(--border);
  transition: var(--transition);
}

.verify-step-line.active {
  background: var(--accent);
}

.code-display {
  background: var(--bg-tertiary);
  padding: 20px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  font-family: monospace;
  font-size: 20px;
  color: var(--accent);
  user-select: all;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 20px;
  animation: glow 3s ease-in-out infinite;
}

.interview-hero-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  animation: scaleIn 0.5s ease;
}

.interview-rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  margin: 20px 0 24px;
}

.interview-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.interview-rule:hover {
  border-color: var(--border-light);
}

.interview-rule-num {
  width: 24px;
  height: 24px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.admin-section-desc {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.prompt-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--warning-bg);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.prompt-info-icon {
  font-size: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-avatar {
    width: 90px;
    height: 90px;
  }
  
  .navbar {
    padding: 0 16px;
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  
  .nav-brand {
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  
  .nav-links a {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
  
  .nav-user {
    position: absolute;
    top: 12px;
    right: 16px;
  }
  
  .nav-username {
    display: none;
  }
  
  .notif-dropdown {
    width: calc(100vw - 32px);
    right: -8px;
  }
  
  .container {
    padding: 20px 16px;
  }
  
  .page-header h1 {
    font-size: 24px;
  }
  
  .callping-banner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  
  .action-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .action-row input, .action-row button {
    max-width: 100%;
    width: 100%;
  }
  
  .chat-msg {
    max-width: 90%;
  }
  
  .chat-container {
    height: calc(100vh - 200px);
  }
  
  .login-card {
    padding: 36px 24px;
    margin: 16px;
    border-radius: var(--radius-lg);
  }
  
  .login-card h1 {
    font-size: 28px;
  }
  
  .modal {
    margin: 16px;
    padding: 24px;
  }
  
  .field-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card .stat-value {
    font-size: 28px;
  }
  
  .search-bar {
    max-width: 100%;
  }

  .verify-steps {
    gap: 0;
  }

  .verify-step {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .verify-step-line {
    width: 32px;
  }

  .code-display {
    font-size: 16px;
    padding: 16px;
    letter-spacing: 1px;
  }

  .interview-hero-icon {
    font-size: 36px;
  }

  .interview-rule {
    font-size: 12px;
    padding: 8px 12px;
  }

  .prompt-info {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .login-badge {
    font-size: 9px;
    padding: 5px 12px;
  }

  #toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}
