:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f3f6fb;
  --text: #0f172a;
  --muted: #64748b;
  --blue-900: #12326b;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --line: #e2e8f0;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-lg: 24px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(12px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-main {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue-900);
  text-decoration: none;
}

.brand-main span {
  color: var(--blue-600);
}

.nav-links,
.language-switch {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #334155;
}

.nav-links a:hover {
  color: var(--blue-600);
}

.language-switch {
  gap: 10px;
}

.lang-button {
  width: auto;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  cursor: pointer;
}

.lang-button.active {
  color: var(--blue-600);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.nav-button-secondary {
  background: #ffffff;
  border: 1px solid #dbe4f0;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.nav-button-primary {
  background: #2d77c7;
  color: #ffffff;
}

.hero {
  position: relative;
  padding: 112px 0 120px;
  background: linear-gradient(180deg, #163978 0%, #12326b 100%);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 7vw, 4.75rem);
  line-height: 1.03;
  font-weight: 800;
  color: white;
}

.hero-copy p {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #dbeafe;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-weight: 600;
}

.hero-meta strong {
  color: #ffffff;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border-radius: 12px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.35);
}

.hero-cta:hover {
  background: #60a5fa;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 40px 40px;
}

.steps-section,
.request-section,
.partners-section,
.suppliers-section,
.supplier-form-section,
.site-footer {
  padding: 96px 0;
}

.steps-section {
  background: white;
}

.steps-section h2,
.request-head h2,
.supplier-copy h2,
.supplier-form-card h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
}

.steps-section h2 {
  text-align: center;
  margin-bottom: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 8px 18px;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 1.3rem;
  font-weight: 800;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.step-card p,
.request-head p,
.supplier-copy p,
.supplier-caption,
.request-note,
.field-group small,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.request-section {
  background: #f8fafc;
}

.partners-section {
  background: #f8fafc;
  padding-top: 8px;
}

.request-wrap {
  display: flex;
  justify-content: center;
}

.request-card,
.supplier-form-card {
  width: 100%;
  max-width: 860px;
  padding: 28px;
  background: white;
  border: 1px solid #dbe4f0;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.request-head {
  text-align: center;
  margin-bottom: 32px;
}

.request-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.request-head h2 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.request-head p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.quote-form,
.supplier-form {
  display: grid;
  gap: 22px;
}

.field-grid.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field-group {
  display: grid;
  gap: 10px;
}

.field-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

input,
select,
textarea,
button {
  width: 100%;
  font: inherit;
}

input,
select,
textarea {
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px 16px;
  color: var(--text);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.upload-group {
  gap: 12px;
}

.upload-dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 136px;
  padding: 24px 18px;
  border: 1px dashed #cfd9e6;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
  color: #7b8ba1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    transform 0.2s ease;
}

.upload-dropzone.drag-over {
  border-color: #2d77c7;
  background: #f3f8ff;
  transform: translateY(-1px);
}

.upload-dropzone strong {
  color: #6c7c93;
  font-size: 1rem;
}

.upload-dropzone small {
  color: #9aa8bb;
}

.upload-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #7e8ea5;
}

.upload-icon svg {
  width: 28px;
  height: 28px;
}

.selected-files {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.selected-files li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #f8fbff;
  color: #526277;
  font-size: 0.92rem;
}

.selected-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-file-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.selected-files strong {
  font-size: 0.84rem;
  color: #7b8ba1;
}

.remove-file-button {
  width: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: #9aa8bb;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.remove-file-button:hover {
  color: #2d77c7;
}

.primary-button {
  border: 0;
  border-radius: 6px;
  background: #2d77c7;
  color: white;
  padding: 16px 20px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.primary-button:hover {
  background: #2067b4;
}

.button-icon {
  display: inline-flex;
}

.button-icon svg {
  width: 18px;
  height: 18px;
}

.request-note {
  text-align: center;
  font-size: 0.82rem;
}

.form-message {
  min-height: 24px;
  text-align: center;
  font-size: 0.92rem;
}

.request-consent-note {
  margin: -8px 0 2px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #64748b;
}

.request-consent-note a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}

.request-consent-note a:hover {
  text-decoration: underline;
}

.status-card {
  padding: 16px 18px;
  border-radius: 10px;
  background: #f3f8ff;
  border: 1px solid #d3e4fb;
  color: #1e3a8a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.status-card strong {
  display: block;
  margin-bottom: 6px;
}

.status-card p {
  margin: 0;
  line-height: 1.6;
}

.partners-head {
  text-align: center;
  margin-bottom: 44px;
}

.partners-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.partners-head h2 {
  margin: 0 0 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
}

.partners-head p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.supplier-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.supplier-brief-card {
  padding: 30px;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  min-height: 190px;
}

.supplier-brief-card:hover {
  transform: translateY(-2px);
  border-color: #c7d6ea;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.supplier-brief-card.is-open {
  border-color: #bfd4f3;
  box-shadow: 0 18px 44px rgba(45, 119, 199, 0.08);
  transform: translateY(-2px);
}

.supplier-brief-top {
  display: flex;
  align-items: flex-start;
  margin-bottom: 26px;
}

.supplier-brief-badge {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #2f3a4c;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.8rem;
  font-weight: 700;
  overflow: hidden;
}

.supplier-brief-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.supplier-brief-card h3 {
  margin: 0 0 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  line-height: 1.4;
  min-height: 3.3rem;
}

.supplier-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: #64748b;
}

.supplier-location svg {
  width: 16px;
  height: 16px;
}

.supplier-more {
  margin-top: 18px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 30px;
  border-top: 1px solid #e8eef6;
  background: #f8fbff;
  margin-left: -30px;
  margin-right: -30px;
  margin-bottom: -30px;
  display: grid;
  gap: 14px;
  transition: max-height 0.28s ease, opacity 0.22s ease, padding-top 0.22s ease,
    padding-bottom 0.22s ease;
}

.supplier-more[hidden] {
  display: none;
}

.supplier-brief-card.is-open .supplier-more {
  max-height: 420px;
  opacity: 1;
  padding-top: 18px;
  padding-bottom: 30px;
}

.supplier-more-block strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.supplier-more-text {
  margin: 0;
  color: #526277;
  line-height: 1.7;
}

.supplier-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.supplier-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8e4f2;
  color: #1e3a5f;
  font-size: 0.88rem;
  font-weight: 600;
}


.form-message[data-tone="success"] {
  color: #15803d;
}

.form-message[data-tone="error"] {
  color: #b91c1c;
}

.suppliers-section {
  background: linear-gradient(180deg, #163978 0%, #12326b 100%);
  color: white;
}

.supplier-inner {
  text-align: center;
}

.supplier-copy p {
  max-width: 720px;
  margin: 0 auto 36px;
  color: #bfdbfe;
  font-size: 1.18rem;
}

.supplier-card {
  display: inline-block;
  min-width: min(100%, 420px);
  padding: 36px 32px;
  background: white;
  color: var(--blue-900);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
}

.supplier-label {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--muted);
}

.supplier-price {
  margin-bottom: 18px;
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 900;
}

.supplier-price span {
  font-size: 1.2rem;
  font-weight: 500;
  color: #94a3b8;
}

.supplier-caption {
  margin-bottom: 24px;
}

.pricing-grid {
  display: grid;
  gap: 14px;
  text-align: left;
}

.pricing-plan {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
}

.pricing-plan h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.pricing-plan strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.pricing-plan p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.supplier-form-section {
  background: #f8fafc;
}

.suppliers-page-hero {
  padding: 100px 0 84px;
  background: linear-gradient(180deg, #163978 0%, #12326b 100%);
}

.suppliers-page-copy {
  max-width: 860px;
  color: #ffffff;
}

.suppliers-page-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
}

.suppliers-page-copy p {
  max-width: 720px;
  margin: 0;
  color: #dbeafe;
  font-size: 1.12rem;
  line-height: 1.75;
}

.suppliers-page-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.supplier-price-inline {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

.supplier-price-inline span {
  color: #bfdbfe;
  font-size: 1rem;
  font-weight: 500;
}

.supplier-benefits-section,
.supplier-why-section {
  padding: 88px 0;
  background: #f8fafc;
}

.supplier-process-section {
  padding: 88px 0;
  background: #ffffff;
}

.supplier-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.supplier-process-card {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.supplier-process-number {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #2d77c7;
  font-weight: 800;
}

.supplier-process-card h3 {
  margin: 0 0 10px;
}

.supplier-process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.supplier-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.supplier-benefit-card,
.supplier-pricing-card {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.supplier-benefit-card h3,
.supplier-why-copy h2 {
  margin: 0 0 12px;
}

.supplier-benefit-card p,
.supplier-pricing-card p,
.supplier-checklist li {
  color: var(--muted);
  line-height: 1.75;
}

.supplier-why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.supplier-fit-section,
.supplier-cta-section,
.supplier-faq-section {
  padding: 88px 0;
  background: #ffffff;
}

.supplier-fit-grid,
.faq-grid,
.supplier-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.supplier-fit-card,
.faq-card,
.supplier-cta-card {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.supplier-fit-card h3,
.faq-card h3,
.supplier-cta-card h2 {
  margin: 0 0 12px;
}

.supplier-fit-card p,
.faq-card p,
.supplier-cta-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.supplier-cta-card {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.supplier-checklist {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.supplier-pricing-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #2d77c7;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.supplier-pricing-value {
  margin-bottom: 14px;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: #12326b;
}

.supplier-pricing-value span {
  font-size: 1.05rem;
  font-weight: 500;
  color: #64748b;
}

.supplier-form-card {
  max-width: 760px;
}

.site-footer {
    padding: 48px 0;
    background: white;
    border-top: 1px solid #f1f5f9;
    text-align: center;
  }

  .footer-legal-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.92rem;
  }

  .footer-legal-links a {
    color: var(--brand);
    text-decoration: none;
  }

  .footer-legal-links a:hover {
    text-decoration: underline;
  }

.legal-page {
  padding: 48px 0 80px;
  background: #f8fafc;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.legal-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #2563eb;
}

.legal-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}

.legal-intro {
  margin: 0 0 28px;
  max-width: 760px;
  color: #52637a;
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-section {
  padding-top: 22px;
  border-top: 1px solid #e5edf6;
}

.legal-section + .legal-section {
  margin-top: 22px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  color: #163978;
}

.legal-section p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .steps-grid,
  .field-grid.two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .supplier-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 760px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 88px 0 96px;
  }

  .hero-copy p {
    font-size: 1.05rem;
  }

  .steps-section,
  .request-section,
  .suppliers-section,
  .supplier-form-section {
    padding: 72px 0;
  }

  .request-card,
  .supplier-form-card {
    padding: 28px 22px;
  }

  .supplier-cards-grid {
    grid-template-columns: 1fr;
  }
}

.admin-body {
  background: #f3f6fb;
}

.admin-page {
  padding: 48px 0 72px;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}

.admin-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.admin-hero p {
  margin: 0;
  color: var(--muted);
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.admin-summary-card,
.admin-section,
.admin-auth-card,
.admin-application-card {
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.admin-auth-card {
  max-width: 520px;
  margin: 0 auto 28px;
  padding: 32px;
}

.admin-auth-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.6rem);
}

.admin-auth-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.admin-auth-form {
  display: grid;
  gap: 16px;
}

.admin-summary-card {
  padding: 22px 24px;
}

.admin-summary-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.admin-summary-card strong {
  font-size: 2rem;
}

.admin-section {
  padding: 24px;
  margin-bottom: 24px;
}

.admin-section-head {
  margin-bottom: 18px;
}

.admin-section-head h2 {
  margin: 0 0 8px;
}

.admin-section-head p,
.admin-cell-sub,
.admin-application-card p,
.admin-empty {
  color: var(--muted);
}

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

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-suppliers-grid {
  display: grid;
  gap: 16px;
}

.admin-supplier-card {
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.admin-card-toggle {
  width: 100%;
  border: 0;
  background: #fff;
  color: inherit;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.admin-card-toggle strong {
  display: block;
  margin-bottom: 6px;
}

.admin-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4fb;
  color: #1e3a5f;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-badge-status {
  background: #ecfeff;
  color: #0f766e;
}

.admin-card-body {
  padding: 0 20px 20px;
  border-top: 1px solid #e8eef6;
  background: #fbfdff;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 18px;
}

.admin-form-block {
  display: grid;
  gap: 8px;
}

.admin-form-block span {
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-form-block-wide {
  grid-column: 1 / -1;
}

.admin-card-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
}

.admin-logo-upload {
  display: grid;
  gap: 12px;
}

.admin-logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #f8fafc;
  overflow: hidden;
}

.admin-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #475569;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0;
}

.admin-supplier-row td {
  background: #ffffff;
  border-top: 1px solid #dbe4f0;
  border-bottom: 1px solid #dbe4f0;
}

.admin-supplier-row td:first-child {
  border-left: 1px solid #dbe4f0;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.admin-supplier-row td:last-child {
  border-right: 1px solid #dbe4f0;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.admin-select {
  min-width: 120px;
}

.admin-input,
.admin-textarea {
  width: 100%;
  border: 1px solid #d7e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
}

.admin-textarea {
  min-height: 72px;
  resize: vertical;
}

.admin-inline-grid {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.admin-cell-label {
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-description-textarea {
  min-height: 110px;
}

.admin-save-button {
  width: auto;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: #2d77c7;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.admin-logout-button {
  border: 1px solid #d7e4ff;
  border-radius: 10px;
  padding: 10px 14px;
  background: #eef4ff;
  color: #123a72;
  font-weight: 700;
  cursor: pointer;
}

.admin-activate-button {
  width: auto;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.admin-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #cfe0fb;
  color: #1d4ed8;
}

.admin-message[data-tone="error"] {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.admin-applications {
  display: grid;
  gap: 16px;
}

.admin-application-card {
  padding: 18px 20px;
}

.admin-application-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.admin-application-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-application-date {
  color: #64748b;
  font-size: 0.9rem;
}

.admin-empty {
  padding: 18px 0;
}

@media (max-width: 900px) {
  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-toolbar,
  .admin-card-grid {
    grid-template-columns: 1fr;
  }
}
