/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg-0: #0f172a;
  --bg-1: #111827;
  --bg-2: #1f2937;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text-strong: #0f172a;
  --text-muted: #475569;
  --line: #dbe4ef;
  --brand: #0ea5a6;
  --brand-2: #0284c7;
  --accent: #f59e0b;
  --danger: #b91c1c;
  --success: #15803d;
  --radius-xl: 22px;
  --radius-lg: 14px;
  --shadow: 0 24px 55px rgba(2, 6, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body), "Segoe UI", sans-serif;
  color: var(--text-strong);
  background:
    radial-gradient(1200px 500px at 0% 0%, rgba(14, 165, 166, 0.2), transparent 60%),
    radial-gradient(1000px 600px at 100% 0%, rgba(245, 158, 11, 0.14), transparent 55%),
    linear-gradient(140deg, var(--bg-0), var(--bg-1) 35%, var(--bg-2));
  min-height: 100vh;
}

a {
  color: inherit;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 60px;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.brand-mark {
  font-family: var(--font-display), "Segoe UI", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
}

.nav-link {
  color: #ecfeff;
  text-decoration: none;
  border: 1px solid rgba(236, 254, 255, 0.35);
  background: rgba(12, 74, 110, 0.25);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.93rem;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 28px;
}

.panel + .panel {
  margin-top: 18px;
}

.hero-title,
.section-title,
.card-title,
.metric-value {
  font-family: var(--font-display), "Segoe UI", sans-serif;
}

.hero-title {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  margin: 8px 0 10px;
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 64ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 11px;
  background: #ccfbf1;
  color: #0f766e;
}

.button,
.button-ghost,
.button-subtle,
.button-danger,
.link-button {
  cursor: pointer;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 8px 16px rgba(2, 132, 199, 0.26);
}

.button-ghost {
  color: #0f172a;
  background: #e2e8f0;
}

.button-subtle {
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #dbe4ef;
}

.button-danger {
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.button:hover,
.button-ghost:hover,
.button-subtle:hover,
.button-danger:hover,
.link-button:hover,
.nav-link:hover {
  transform: translateY(-1px);
}

.button:disabled,
.button-danger:disabled,
.button-subtle:disabled,
.button-ghost:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.grid-home {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-gap: 18px;
  gap: 18px;
  margin-top: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 1.14rem;
}

.text-muted {
  color: var(--text-muted);
}

.status {
  margin-top: 10px;
  font-size: 1rem;
}

.status strong {
  font-family: var(--font-display), "Segoe UI", sans-serif;
}

.status-error {
  color: var(--danger);
  font-weight: 700;
}

.portal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  margin-top: 18px;
}

.sidebar-stack,
.main-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-title {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.kpi {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.metric-value {
  font-size: 1.6rem;
  margin: 0;
}

.metric-label {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.company-list,
.employee-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.employee {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
}

.employee-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.employee-title {
  margin: 0;
  font-family: var(--font-display), "Segoe UI", sans-serif;
  font-size: 1.06rem;
}

.employee-meta {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.badge-success {
  background: #dcfce7;
  color: #166534;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.row-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 11px;
  font-size: 0.95rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(14, 165, 166, 0.22);
  border-color: var(--brand);
}

.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

.notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.recensement-ok {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
  margin-bottom: 14px;
}

.recensement-pending {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
  margin-bottom: 14px;
}

.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.company-progress-list {
  margin-top: 12px;
}

.company-progress-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 8px 10px;
  font-size: 0.92rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-card {
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.35);
  padding: 18px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.modal-close {
  white-space: nowrap;
}

.inline-link {
  color: #0369a1;
  text-decoration: none;
  font-weight: 700;
}

.inline-link:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .grid-home {
    grid-template-columns: 1fr;
  }

  .portal-layout {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 20px 14px 34px;
  }

  .panel {
    padding: 18px;
  }

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

  .modal-overlay {
    align-items: flex-end;
    padding: 10px;
  }

  .modal-card {
    width: 100%;
    max-height: 95vh;
  }
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.js","import":"Plus_Jakarta_Sans","arguments":[{"subsets":["latin"],"variable":"--font-body"}],"variableName":"bodyFont"} ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/6fe53d21e6e7ebd8-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/8ebc6e9dde468c4a-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/9e7b0a821b9dfcb4-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/_next/static/media/636a5ac981f94f8b-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Plus Jakarta Sans Fallback';src: local("Arial");ascent-override: 98.88%;descent-override: 21.15%;line-gap-override: 0.00%;size-adjust: 104.98%
}.__className_646807 {font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback';font-style: normal
}.__variable_646807 {--font-body: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback'
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.js","import":"Sora","arguments":[{"subsets":["latin"],"variable":"--font-display"}],"variableName":"displayFont"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/1d4eaed977255102-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/f3f7e95f2dbc4fe4-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Sora Fallback';src: local("Arial");ascent-override: 85.29%;descent-override: 25.50%;line-gap-override: 0.00%;size-adjust: 113.73%
}.__className_ce197d {font-family: 'Sora', 'Sora Fallback';font-style: normal
}.__variable_ce197d {--font-display: 'Sora', 'Sora Fallback'
}

