/* Write your custom CSS here */
 /* Three image containers (use 25% for four, and 50% for two, etc) */
.column {
  float: center;
  width: auto;
  padding: 5px;
  display: inline-block;
}

/* ===== Migrated from index.php inline <style> ===== */
:root {
  --bg-1: #0b1220;
  --bg-2: #111827;
  --card: rgba(17, 24, 39, 0.66);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6e8f0;
  --muted: #a5adbb;
  --primary-1: #7c3aed; /* purple */
  --primary-2: #2563eb; /* blue */
  --focus: rgba(108, 156, 255, 0.25);
}

html, body { height: 100%; }
body {
  background: radial-gradient(80% 120% at 10% 10%, #0f172a 0%, var(--bg-2) 35%, var(--bg-1) 100%);
  color: var(--text);
  font-family: "Inter", "Quicksand", "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: auto !important;
}

/* Subtle darkening and blur on hero background */
.half .bg { filter: saturate(0.8) brightness(0.6) contrast(1.05); }
.half .bg:after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.2), rgba(2,6,23,.5));
}

/* Centering/flex adjustments and fixes */
.page-container.lockscreen, .page-content, .page-inner { display: block !important; }
#main-wrapper { margin-top: 8vh; margin-bottom: 8vh; }
#main-wrapper .row { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; }
.page-content { min-height: 100vh; }

/* Glass card */
.login-box-container.panel {
  background: var(--card) !important;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.login-box-container .panel-body { padding: 32px !important; }

/* Logo and heading */
.login-box img[src*="phenom.png"] { height: 64px; width: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.lead.no-m { color: #f3f4f6; font-weight: 700; letter-spacing: 0.2px; margin-top: 8px; font-size: 20px; }

/* Provider logos */
.card-block .column img {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 12px !important;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.card-block { margin-top: 12px; }
.card-block .row { gap: 12px; }

/* Form controls */
.basic-form-panel .form-group label { color: #cbd5e1; font-weight: 600; font-size: 13px; }
.form-control {
  background: #0b1220;
  border: 1px solid #2b3445;
  color: var(--text);
  height: 48px;
  border-radius: 12px;
  transition: all .2s ease;
}
.form-control::placeholder { color: #8b93a6; }
.form-control:focus {
  border-color: #6c9cff;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 0 0 3px var(--focus);
}
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6c9cff 50%), linear-gradient(135deg, #6c9cff 50%, transparent 50%); background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

/* Primary Button */
.btn.btn-primary {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .35);
  transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
}
.btn.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 16px 34px rgba(37, 99, 235, .45); }
.btn.btn-primary:active { transform: translateY(0); }

/* Helper / footer text */
small .text-dark, .text-dark { color: #c6cbd6 !important; }
.text-danger { color: #fca5a5 !important; }
.text-primary { color: #93c5fd !important; }

/* Alerts refinement */
.alert { border-radius: 12px; border: 1px solid var(--border); }
.alert-success { background: rgba(16, 185, 129, 0.12); color: #bbf7d0; }
.alert-warning { background: rgba(245, 158, 11, 0.12); color: #fde68a; }

/* Link */
a.font-weight-bold { color: #a5b4fc; font-weight: 700; }
a.font-weight-bold:hover { color: #c4b5fd; text-decoration: none; }

/* Tweak tiny logo at bottom (may now be unused) */
img[alt="small-logo.png"] { opacity: .9; border-radius: 8px; }

/* Background overlay stacking safety */
.half { position: relative; }
.half .bg { position: relative; z-index: 0; }
.half .bg:after { pointer-events: none; z-index: 0; }
.page-container.lockscreen { position: static !important; z-index: 1; }

/* Main column width override (col-md-3) */
.row > .col-md-3.center { float: none !important; width: 100% !important; max-width: 640px; margin: 0 auto; }

/* CTA row and secondary button styling */
.cta-actions { display: flex; gap: 12px; margin-top: 8px; }
.cta-actions .btn {
  flex: 1 1 0;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 16px;
}
.btn.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid #3b455b;
  font-weight: 700;
  transition: all .2s ease;
  box-shadow: none;
}
.btn.btn-secondary:hover {
  background: #1f2937;
  border-color: #6c9cff;
  color: #fff;
  box-shadow: 0 8px 20px rgba(108,156,255,.18);
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .login-box-container .panel-body { padding: 24px !important; }
  #main-wrapper { margin-top: 5vh; }
}

/* Unused Vouchers page: filter select width and Uniform overrides */
#unused-vouchers-filter .filter-type-select {
  min-width: 320px !important;
  width: 320px !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  padding-right: 28px !important; /* room for arrow */
  display: inline-block !important;
}
@media (max-width: 480px) {
  #unused-vouchers-filter .filter-type-select { min-width: 200px !important; width: 200px !important; }
}
/* Stop jQuery Uniform from clipping the label inside this form */
#unused-vouchers-filter .selector,
#unused-vouchers-filter .selector.fixedWidth { width: auto !important; overflow: visible !important; }
#unused-vouchers-filter .selector span,
#unused-vouchers-filter .selector.fixedWidth span {
  width: auto !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
  overflow: visible !important;
}

/* Unused Vouchers page: vertical height fixes */
#unused-vouchers-filter select.form-control {
  height: 48px !important;
  line-height: 1.3 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
#unused-vouchers-filter .selector,
#unused-vouchers-filter .selector span {
  height: 48px !important;
  line-height: 48px !important;
}