/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #202229;
  --bg-elevated: #252830;
  --shadow-dark: #14161b;
  --shadow-light: #2c2f38;
  --text-1: #f4f5f7;
  --text-2: #9ca3af;
  --text-3: #6b7280;
  --coral: #ff9478;
  --coral-dark: #1d1e24;
  --green: #4ade80;
  --rose: #fb7185;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

input, textarea, select, .mono {
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}

html,
body {
  background-color: var(--bg);
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: #343844; border-radius: 999px; }

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.app-wrap {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: 22px 20px 44px;
  animation: pageEnter 0.32s var(--spring);
}

@media (min-width: 768px) {
  .app-wrap.wide-mode {
    max-width: 920px;
  }
}

/* === AUTH SCREEN === */
.auth-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
  padding: 24px 22px;
  animation: pageEnter 0.35s var(--spring);
}

.lock-squircle {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  margin: 0 auto 24px;
  background: var(--bg-elevated);
  box-shadow: 9px 9px 20px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  transition: transform 0.28s var(--spring);
}

.lock-squircle:active { transform: scale(0.92); }

.auth-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 34px;
  color: #ffffff;
}

.field-lbl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 18px 0 9px 4px;
}

.neu-input,
.neu-select,
.neu-textarea {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 15px;
  color: var(--text-1);
  background: #1c1e24;
  box-shadow: inset 5px 5px 12px #121418, inset -5px -5px 12px #292c35;
  transition: box-shadow 0.2s ease, transform 0.2s var(--spring);
}

.neu-input:focus,
.neu-select:focus,
.neu-textarea:focus {
  box-shadow: inset 6px 6px 14px #101216, inset -6px -6px 14px #2c303a, 0 0 0 2px rgba(255, 148, 120, 0.35);
}

.neu-select option { background: #202229; color: #fff; }

.btn-coral {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 17px 20px;
  font-size: 16px;
  font-weight: 800;
  color: var(--coral-dark);
  background: linear-gradient(135deg, #ffa087 0%, #ff8568 100%);
  box-shadow: 0 10px 24px -6px rgba(255, 133, 104, 0.45), 6px 6px 14px var(--shadow-dark);
  cursor: pointer;
  transition: transform 0.22s var(--spring), box-shadow 0.22s ease, opacity 0.15s;
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(255, 133, 104, 0.55), 8px 8px 16px var(--shadow-dark);
}

.btn-coral:active {
  transform: scale(0.95);
  box-shadow: 0 4px 12px -4px rgba(255, 133, 104, 0.35), 2px 2px 6px var(--shadow-dark);
}

.btn-coral:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-neu {
  border: none;
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-1);
  background: var(--bg-elevated);
  box-shadow: 5px 5px 12px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform 0.22s var(--spring), box-shadow 0.2s ease, color 0.15s;
}

.btn-neu:active {
  transform: scale(0.93);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.btn-neu-sm { padding: 8px 13px; font-size: 12px; border-radius: 12px; }

.btn-logout-pill {
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--coral);
  background: var(--bg-elevated);
  box-shadow: 6px 6px 14px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
  cursor: pointer;
  transition: transform 0.22s var(--spring), box-shadow 0.2s ease;
}

.btn-logout-pill:active {
  transform: scale(0.92);
  box-shadow: inset 4px 4px 9px var(--shadow-dark), inset -4px -4px 9px var(--shadow-light);
}

/* === GLOBAL ADMIN BROADCAST MARQUEE BAR === */
.broadcast-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #1b1d23;
  border: 1px solid rgba(255, 148, 120, 0.22);
  box-shadow: inset 4px 4px 10px #121318, inset -4px -4px 10px #282b34;
  overflow: hidden;
}

.broadcast-ico {
  font-size: 18px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(255, 148, 120, 0.4));
}

.marquee-wrap {
  flex: 1 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffa087;
  animation: marqueeScroll 16s linear infinite;
}

.broadcast-bar:hover .marquee-text { animation-play-state: paused; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* === HOME HEADER & BALANCE CARD === */
.home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.hi-title {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sub-role { font-size: 14px; color: var(--text-2); margin-top: 2px; }

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6ee7b7;
  margin-top: 8px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.balance-card {
  border-radius: 22px;
  padding: 18px 20px;
  margin-bottom: 26px;
  background: var(--bg-elevated);
  box-shadow: 8px 8px 18px var(--shadow-dark), -7px -7px 16px var(--shadow-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.bal-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  margin-top: 3px;
}

/* === SQUIRCLE APP GRIDS === */
.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 22px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 26px 16px;
  gap: 26px 16px;
}

/* Compact App List Grid (Smaller Icons) */
.app-grid-sm {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px 10px;
  gap: 20px 10px;
}

.reg-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px 18px;
  gap: 24px 18px;
  margin-top: 28px;
}

.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-1);
  transition: transform 0.28s var(--spring);
}

.app-squircle {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow:
    9px 11px 22px rgba(10, 11, 15, 0.72),
    -4px -4px 14px rgba(255, 255, 255, 0.04),
    inset 0 2px 3px rgba(255, 255, 255, 0.45);
  transition: transform 0.28s var(--spring), box-shadow 0.22s ease;
}

.app-squircle.sm {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-size: 26px;
  box-shadow:
    6px 8px 16px rgba(10, 11, 15, 0.7),
    -3px -3px 10px rgba(255, 255, 255, 0.04),
    inset 0 1.5px 2.5px rgba(255, 255, 255, 0.42);
}

.app-squircle.lg {
  width: 104px;
  height: 104px;
  border-radius: 30px;
  font-size: 46px;
}

.app-squircle.selected {
  box-shadow:
    0 0 0 3px var(--coral),
    7px 9px 18px rgba(10, 11, 15, 0.75),
    inset 0 2px 3px rgba(255, 255, 255, 0.45);
  transform: scale(1.05);
}

.check-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  color: #1d1e24;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.app-tile:hover .app-squircle { transform: translateY(-4px) scale(1.03); }

.app-tile:active .app-squircle {
  transform: scale(0.86);
  box-shadow: 3px 4px 10px rgba(10, 11, 15, 0.75), inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

.app-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #e5e7eb;
  text-align: center;
  line-height: 1.25;
}

.app-label.sm {
  font-size: 12px;
  margin-top: -2px;
}

.app-sub {
  font-size: 11px;
  color: var(--text-2);
  text-align: center;
  margin-top: -6px;
}

/* Search Input Bar */
.search-wrap {
  position: relative;
  margin-bottom: 24px;
}

.search-ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.65;
  pointer-events: none;
}

.search-input {
  padding-left: 44px;
}

/* === SUB-PAGE CARDS & CONTROLS === */
.sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.neu-card {
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 16px;
  background: var(--bg-elevated);
  box-shadow: 8px 8px 18px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
}

.grid-2 { display: grid; grid-template-columns: 1fr; grid-gap: 16px; gap: 16px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1.1fr; } }

.neu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 15px;
  background: #1c1e24;
  box-shadow: inset 3px 3px 7px #131519, inset -3px -3px 7px #272a33;
  margin-bottom: 10px;
}

.dropzone {
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  background: #1c1e24;
  border: 1.5px dashed rgba(255, 148, 120, 0.45);
  color: var(--coral);
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 0.2s var(--spring), background 0.15s;
}
.dropzone:active { transform: scale(0.97); }

.slider { width: 100%; accent-color: var(--coral); cursor: pointer; }

.console-box {
  background: #14161b;
  border-radius: 16px;
  padding: 14px;
  box-shadow: inset 4px 4px 10px #0d0e12, inset -3px -3px 8px #23262e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  max-height: 300px;
  overflow-y: auto;
  line-height: 1.65;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
}
.b-green { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.b-amber { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.b-rose { background: rgba(251, 113, 133, 0.16); color: #fb7185; }
.b-coral { background: rgba(255, 148, 120, 0.18); color: var(--coral); }

.prog-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #15171c;
  box-shadow: inset 2px 2px 5px #0c0d10;
  overflow: hidden;
  margin: 12px 0;
}
.prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff9478, #4ade80);
  border-radius: 999px;
  transition: width 0.35s var(--spring);
}

/* Bottom Sheet */
.sheet-bg {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 11, 15, 0.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet {
  width: 100%;
  max-width: 500px;
  max-height: 84dvh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border-radius: 28px 28px 0 0;
  padding: 14px 22px calc(26px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.6);
  animation: pageEnter 0.28s var(--spring);
}

.sheet-bar {
  width: 44px;
  height: 4.5px;
  border-radius: 999px;
  background: #3f4452;
  margin: 0 auto 16px;
}

/* Floating Toast */
.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--bg-elevated);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 8px 8px 20px #101216, -4px -4px 12px #2c2f38;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: pageEnter 0.25s var(--spring);
}

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
