/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.2.4_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.2.4_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./app/globals.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe7f3;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --success: #0f9b63;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 600px at -10% -20%, rgba(37, 99, 235, 0.2), transparent 55%),
    radial-gradient(1000px 500px at 115% 10%, rgba(16, 185, 129, 0.12), transparent 50%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(165deg, #0f172a 0%, #1e3a8a 100%);
  color: #e2e8f0;
}

.sidebar__brand {
  margin: 0 0 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.sidebar__brand h1 {
  margin: 0;
  font-family: 'Space Grotesk', 'Avenir Next Condensed', 'Segoe UI', sans-serif;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.sidebar__brand p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  opacity: 0.9;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.nav-item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.93rem;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-item--active {
  background: rgba(191, 219, 254, 0.22);
  border-color: rgba(191, 219, 254, 0.45);
}

.sidebar__footer {
  margin-top: 24px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar__footer p {
  margin: 0;
  font-size: 0.81rem;
}

.main {
  padding: 24px 22px 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.topbar h2 {
  margin: 0;
  font-family: 'Space Grotesk', 'Avenir Next Condensed', 'Segoe UI', sans-serif;
  font-size: 1.2rem;
}

.topbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-soft {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow);
  padding: 16px;
}

.card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

.card .value {
  margin-top: 10px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.value.success {
  color: var(--success);
}

.value.warning {
  color: var(--warning);
}

.value.danger {
  color: var(--danger);
}

.table-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent);
}

.table-head h3 {
  margin: 0;
  font-size: 1rem;
}

.table-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 11px 14px;
  font-size: 0.9rem;
}

th {
  color: #334155;
  background: #f8fbff;
}

tr:hover td {
  background: #f9fcff;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.badge.success {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.badge.warning {
  background: #fff7ed;
  color: #b45309;
  border-color: #fed7aa;
}

.badge.danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.badge.neutral {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

.hero {
  border-radius: 18px;
  background: linear-gradient(125deg, #0f172a 0%, #1d4ed8 50%, #0ea5e9 100%);
  color: #e2e8f0;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  top: -80px;
  right: -60px;
  background: rgba(255, 255, 255, 0.12);
}

.hero h2 {
  margin: 0;
  font-family: 'Space Grotesk', 'Avenir Next Condensed', 'Segoe UI', sans-serif;
  font-size: 1.5rem;
}

.hero p {
  margin: 8px 0 0;
  max-width: 620px;
  color: #bfdbfe;
}

.mobile-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #121212;
}

.mobile-login-card {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-login-title-1 {
  margin: 0 0 5px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.mobile-login-title-2 {
  margin: 0 0 100px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.mobile-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mobile-login-input {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #808080;
  border-radius: 5px;
  padding: 10px;
  color: #fff;
  background: #1e1e1e;
}

.mobile-login-input::-moz-placeholder {
  color: #a3a3a3;
}

.mobile-login-input::placeholder {
  color: #a3a3a3;
}

.mobile-login-input:focus {
  border-color: #bb86fc;
  outline: 2px solid rgba(187, 134, 252, 0.4);
}

.mobile-login-button {
  margin-top: 2px;
  width: 100%;
  border: 1px solid #1d4ed8;
  border-radius: 5px;
  padding: 10px 12px;
  background: #2563eb;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
}

.mobile-login-button:hover:not(:disabled) {
  background: #1d4ed8;
}

.mobile-login-button:disabled {
  cursor: default;
  opacity: 0.75;
}

.mobile-login-loading {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(187, 134, 252, 0.2);
  border-top-color: #bb86fc;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.field label {
  font-size: 0.84rem;
  color: #cbd5e1;
}

.field input,
.field select {
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 11px 12px;
}

.field textarea {
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 11px 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #60a5fa;
  outline: 2px solid rgba(96, 165, 250, 0.22);
}

.main .field label {
  color: #334155;
}

.main .field input,
.main .field select,
.main .field textarea {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.main .field input:focus,
.main .field select:focus,
.main .field textarea:focus {
  border-color: #60a5fa;
}

.btn-sm {
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
}

.input-lite {
  width: 100%;
  min-width: 140px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  padding: 8px 10px;
}

.input-lite:focus {
  border-color: #60a5fa;
  outline: 2px solid rgba(96, 165, 250, 0.22);
}

.message {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.message.error {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.message.success {
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.stack {
  display: grid;
  gap: 14px;
}

.skeleton {
  height: 76px;
  border-radius: 14px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 220% 100%;
  animation: shimmer 1.3s infinite;
}

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

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

@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main {
    padding: 18px 14px 26px;
  }

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .actions .btn,
  .actions select {
    width: 100%;
  }
}

