/* NexPay PHP — companion styles to the Tailwind CDN config */

body {
  background-image:
    radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.04), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(159, 39, 255, 0.04), transparent 25%);
}

.glass-panel {
  background: hsla(222, 54%, 10%, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.glass-panel-strong {
  background: hsla(222, 54%, 10%, 0.85);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 1rem;
}

.text-gradient {
  background: linear-gradient(90deg, hsl(186, 100%, 60%), hsl(272, 100%, 65%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary {
  background: linear-gradient(90deg, hsl(186, 100%, 50%), hsl(272, 100%, 57%));
  color: hsl(222, 61%, 5%);
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.7rem 1.4rem;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 28px rgba(0, 229, 255, 0.45); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 500;
  border-radius: 0.75rem;
  padding: 0.7rem 1.4rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(0,229,255,0.3); }

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: 0.6rem;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-danger:hover { background: rgba(244, 63, 94, 0.25); }

.btn-success {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 0.6rem;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-success:hover { background: rgba(16, 185, 129, 0.25); }

.input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}
.input:focus { border-color: hsl(186, 100%, 50%); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15); }
.input::placeholder { color: rgba(255,255,255,0.35); }

.label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.5rem;
}
.badge-success { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.badge-danger  { background: rgba(244,63,94,0.15); color: #fda4af; border: 1px solid rgba(244,63,94,0.3); }
.badge-warning { background: rgba(251,191,36,0.15); color: #fcd34d; border: 1px solid rgba(251,191,36,0.3); }
.badge-info    { background: rgba(0,229,255,0.12); color: #67e8f9; border: 1px solid rgba(0,229,255,0.3); }
.badge-muted   { background: rgba(255,255,255,0.06); color: #cbd5e1; border: 1px solid rgba(255,255,255,0.08); }

.table-app {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table-app th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.table-app td {
  padding: 0.85rem 0.8rem;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.table-app tr:hover td { background: rgba(255,255,255,0.02); }

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}
.bg-orb-cyan { background: hsl(186, 100%, 50%); }
.bg-orb-purple { background: hsl(272, 100%, 57%); }

.flash {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid;
}
.flash-success { background: rgba(16,185,129,0.1); color: #6ee7b7; border-color: rgba(16,185,129,0.3); }
.flash-error   { background: rgba(244,63,94,0.1); color: #fda4af; border-color: rgba(244,63,94,0.3); }
.flash-info    { background: rgba(0,229,255,0.08); color: #67e8f9; border-color: rgba(0,229,255,0.3); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: hsl(222, 54%, 8%); }
::-webkit-scrollbar-thumb { background: hsl(223, 47%, 20%); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: hsl(186, 100%, 30%); }

.sidebar-link {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 0.9rem; border-radius: 0.6rem;
  font-size: 0.92rem; color: rgba(255,255,255,0.7);
  transition: all 0.15s ease;
  text-decoration: none;
}
.sidebar-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.sidebar-link.active {
  background: linear-gradient(90deg, rgba(0,229,255,0.18), rgba(159,39,255,0.1));
  color: #fff;
  border-left: 2px solid hsl(186, 100%, 50%);
}

.stat-card {
  background: hsla(222, 54%, 10%, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1.4rem;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.04), transparent 60%);
  pointer-events: none;
}
.stat-card .stat-label {
  font-size: 0.72rem; text-transform: uppercase;
  color: rgba(255,255,255,0.5); letter-spacing: 0.07em;
  font-weight: 600;
}
.stat-card .stat-value {
  font-family: 'Orbitron', sans-serif; font-weight: 800;
  font-size: 1.7rem; color: #fff; margin-top: 0.4rem;
}

.login-shell {
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 229, 255, 0.12), transparent 18%),
    radial-gradient(circle at 20% 82%, rgba(159, 39, 255, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(8, 10, 24, 0.55), rgba(8, 10, 24, 0.92));
}

.login-glow {
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2), transparent 70%);
}

.login-emblem {
  background: rgba(10, 14, 31, 0.78);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.08), 0 0 30px rgba(0, 229, 255, 0.12);
  backdrop-filter: blur(12px);
}

.login-title {
  color: #f5f7ff;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.login-panel {
  background: rgba(10, 14, 31, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.login-label {
  display: block;
  margin-bottom: 0.55rem;
  color: #d3d8ea;
  font-size: 1rem;
  font-weight: 700;
}

.login-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(16, 22, 45, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 0.95rem 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.login-icon {
  color: rgba(255, 255, 255, 0.7);
  flex: 0 0 auto;
}

.login-input {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.05rem;
  outline: none;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.login-input-wrap:focus-within {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.login-button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, #1be8ff, #19d6ff);
  color: #06111e;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(27, 232, 255, 0.22);
}

.login-button:hover {
  transform: translateY(-1px);
}
