:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --accent: #10b981;
  --bg: #f3f4f6;
  --card-bg: #ffffff;
  --text: #1f2937;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.main-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.nav-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
}

.nav-btn {
  flex: 1;
  padding: 12px;
  background: #e0e7ff;
  color: var(--primary);
  border: none;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.nav-btn.active {
  background: var(--primary);
  color: white;
}

.portal-hidden {
  display: none !important;
}

.otp-box, .dashboard-box {
  display: none;
}

.otp-box {
  margin-top: 15px;
}

.sub-text {
  color: #6b7280;
  margin-bottom: 15px;
}

.user-highlight {
  color: var(--primary);
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

input, select, button {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}

button {
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: var(--primary-hover);
}

.action-btn.success {
  background-color: var(--accent);
}

.logout-btn {
  background-color: #ef4444;
  width: auto;
  padding: 6px 15px;
  font-size: 0.9rem;
  float: right;
}

.order-item {
  background: #f9fafb;
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.admin-item {
  border-left: 4px solid var(--primary);
}

.order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.code-tag {
  background: #e0e7ff;
  color: var(--primary);
  padding: 4px 8px;
  font-weight: bold;
  border-radius: 4px;
}

.status-tag {
  background: #d1fae5;
  color: #065f46;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
}

.status-pending {
  background: #fef3c7;
  color: #b45309;
}

.price-box {
  background: #e0e7ff;
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
  color: var(--primary-hover);
}

.auth-card {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  max-width: 400px;
  margin: 0 auto;
}

.alert-box {
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.alert-box.warning {
  background: #fffbe3;
  border: 2px dashed #f59e0b;
}

.alert-box.info {
  background: #e0f2fe;
  border: 1px solid #0284c7;
  padding: 12px;
}

.payment-number-card {
  background: #ffffff;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #fcd34d;
  margin-top: 8px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
}

.phone-highlight {
  color: #4f46e5;
  font-size: 1.3rem;
}

.profile-details {
  background: #f9fafb;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 15px;
}

.admin-stats {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.stat-item {
  flex: 1;
}

.revenue-box {
  background: #d1fae5;
  color: #065f46;
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--border);
}
