/* FECCETEC V12 — painel administrativo */
:root {
  --admin-bg: #eef4f8;
  --admin-surface: #ffffff;
  --admin-ink: #101827;
  --admin-muted: #64748b;
  --admin-line: #dbe4ea;
  --admin-navy: #071427;
  --admin-navy-soft: #0e2949;
  --admin-accent: #0064ff;
  --admin-accent-alt: #00d9ff;
  --admin-accent-rgb: 0 100 255;
}

.admin-auth {
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgb(0 217 255 / 0.26), transparent 29%),
    radial-gradient(circle at 85% 18%, rgb(0 100 255 / 0.24), transparent 28%),
    linear-gradient(135deg, #061427, #0b132b 54%, #0e2746);
}

.admin-auth::before {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
}

.admin-login-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 32px));
  margin: auto;
}

.login-hero-card {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 36px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: 0 40px 110px rgb(0 0 0 / 0.32);
  backdrop-filter: blur(22px);
}

.login-visual-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 52px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgb(0 217 255 / 0.40), transparent 29%),
    radial-gradient(circle at 86% 32%, rgb(0 100 255 / 0.36), transparent 31%),
    linear-gradient(135deg, rgb(11 19 43 / 0.48), rgb(11 19 43 / 0.95));
}

.login-visual-panel::before {
  position: absolute;
  inset: 0;
  background: url("../img/hero-placeholder.svg") center / cover no-repeat;
  content: "";
  opacity: 0.17;
  mix-blend-mode: screen;
}

.login-visual-panel > * {
  position: relative;
  z-index: 1;
}

.login-kicker {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #8ff4ff;
  background: rgb(0 217 255 / 0.13);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.login-visual-panel h1 {
  max-width: 650px;
  margin: 20px 0 15px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.075em;
}

.login-visual-panel p {
  max-width: 560px;
  color: rgb(255 255 255 / 0.72);
  line-height: 1.75;
}

.login-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 30px;
}

.login-feature-grid span {
  padding: 12px 9px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 15px;
  background: rgb(255 255 255 / 0.09);
  font-size: 0.77rem;
  font-weight: 700;
  text-align: center;
}

.login-card {
  display: grid;
  gap: 15px;
  align-content: center;
  min-height: 100%;
  padding: 52px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.login-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.login-muted {
  margin: 0 0 8px;
  color: var(--admin-muted);
  line-height: 1.65;
}

.login-card label {
  display: grid;
  gap: 7px;
  color: var(--admin-ink);
  font-size: 0.87rem;
  font-weight: 700;
}

.login-card input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--admin-line);
  border-radius: 17px;
  background: #f8fafc;
}

.login-card input:focus {
  outline: 0;
  border-color: rgb(var(--admin-accent-rgb) / 0.50);
  background: #fff;
  box-shadow: 0 0 0 5px rgb(0 217 255 / 0.11);
}

.login-submit {
  width: 100%;
  min-height: 51px;
  margin-top: 5px;
}

.login-back-link {
  color: var(--admin-accent);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

/* Estrutura do painel */
.admin-body {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 292px minmax(0, 1fr);
  color: var(--admin-ink);
  background:
    radial-gradient(circle at 96% 2%, rgb(0 217 255 / 0.17), transparent 30%),
    var(--admin-bg);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-right: 1px solid rgb(255 255 255 / 0.09);
  color: #fff;
  background: linear-gradient(180deg, #071224, #0b132b 58%, #071b2e);
  box-shadow: 20px 0 70px rgb(15 23 42 / 0.13);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px 18px;
  border-bottom: 1px solid rgb(255 255 255 / 0.09);
  color: #fff;
  text-decoration: none;
}

.admin-brand-orb {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 17px;
  color: #00111f;
  background: linear-gradient(135deg, var(--admin-accent-alt), var(--admin-accent));
  box-shadow: 0 16px 34px rgb(0 100 255 / 0.26);
  font-weight: 800;
}

.admin-brand strong {
  display: block;
  letter-spacing: -0.035em;
}

.admin-brand small {
  display: block;
  color: rgb(255 255 255 / 0.55);
  font-size: 0.69rem;
  font-weight: 600;
}

.admin-nav {
  display: grid;
  gap: 7px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: rgb(255 255 255 / 0.66);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-nav a > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: #8ff4ff;
  background: rgb(255 255 255 / 0.07);
}

.admin-nav a:hover,
.admin-nav a.is-active {
  border-color: rgb(255 255 255 / 0.09);
  color: #fff;
  background: rgb(255 255 255 / 0.09);
  transform: translateX(3px);
}

.admin-nav a.is-active > span {
  color: #00111f;
  background: linear-gradient(135deg, var(--admin-accent-alt), var(--admin-accent));
}

.admin-sidebar-footer {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.admin-site-link,
.admin-logout button {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 15px;
  color: #fff;
  background: rgb(255 255 255 / 0.07);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.admin-logout {
  margin: 0;
}

.admin-logout button {
  color: #8ff4ff;
  background: rgb(0 217 255 / 0.11);
}

.admin-main {
  min-width: 0;
  padding: 22px 28px 42px;
  overflow: auto;
}

.admin-topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -22px -28px 25px;
  padding: 17px 28px;
  border-bottom: 1px solid rgb(15 23 42 / 0.07);
  background: rgb(238 244 248 / 0.84);
  backdrop-filter: blur(18px);
}

.admin-topbar-label {
  display: block;
  color: var(--admin-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-topbar > div > strong {
  font-size: 1rem;
}

.admin-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid rgb(15 23 42 / 0.07);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.05);
}

.admin-user-pill > span {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  color: #00111f;
  background: linear-gradient(135deg, var(--admin-accent-alt), var(--admin-accent));
  font-weight: 800;
}

.admin-user-pill strong,
.admin-user-pill small {
  display: block;
}

.admin-user-pill strong {
  font-size: 0.84rem;
}

.admin-user-pill small {
  color: var(--admin-muted);
  font-size: 0.69rem;
  font-weight: 600;
}

.admin-content-panel {
  max-width: 1240px;
  margin-inline: auto;
}

/* Cabeçalhos, painéis e tabelas */
.admin-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 25px;
  border: 1px solid rgb(15 23 42 / 0.07);
  border-radius: 27px;
  background: linear-gradient(135deg, #fff, rgb(232 248 255 / 0.88));
  box-shadow: 0 18px 44px rgb(15 23 42 / 0.06);
}

.admin-page-head h1 {
  margin: 5px 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.admin-page-head p,
.config-help {
  max-width: 780px;
  margin: 0;
  color: var(--admin-muted);
  line-height: 1.65;
}

.admin-head-actions,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 22px 0;
}

.admin-cards article {
  position: relative;
  overflow: hidden;
  padding: 23px;
  border: 1px solid rgb(15 23 42 / 0.07);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 17px 42px rgb(15 23 42 / 0.06);
}

.admin-cards article::after {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgb(0 217 255 / 0.12);
  content: "";
  inset: -28px -25px auto auto;
}

.admin-cards strong {
  display: block;
  color: var(--admin-ink);
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.07em;
}

.admin-cards span {
  color: var(--admin-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.admin-shortcuts a {
  display: grid;
  gap: 7px;
  padding: 21px;
  border: 1px solid rgb(15 23 42 / 0.07);
  border-radius: 23px;
  color: var(--admin-ink);
  background: #fff;
  box-shadow: 0 13px 32px rgb(15 23 42 / 0.05);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.admin-shortcuts a:hover {
  box-shadow: 0 21px 52px rgb(0 100 255 / 0.11);
  transform: translateY(-4px);
}

.admin-shortcuts strong {
  font-size: 1.05rem;
}

.admin-shortcuts span {
  color: var(--admin-muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.table-card,
.admin-section-card {
  overflow: auto;
  border: 1px solid rgb(15 23 42 / 0.07);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 17px 42px rgb(15 23 42 / 0.06);
}

.admin-section-card {
  overflow: visible;
  margin-bottom: 22px;
  padding: 21px;
}

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

.admin-section-title h2 {
  margin: 0;
  font-size: 1.3rem;
}

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

table,
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

th,
td,
.admin-table th,
.admin-table td {
  padding: 15px;
  border-bottom: 1px solid var(--admin-line);
  text-align: left;
  vertical-align: middle;
}

th,
.admin-table th {
  color: #475569;
  background: #f8fbfd;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td small {
  display: block;
  margin-top: 4px;
  color: var(--admin-muted);
}

.table-action,
.table-actions a,
.table-actions button {
  border: 0;
  color: var(--admin-accent);
  background: transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.admin-thumb,
.admin-mini-thumb {
  width: 72px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: #f8fafc;
  object-fit: cover;
}

.admin-thumb-contain,
.admin-mini-thumb {
  padding: 5px;
  background: #fff;
  object-fit: contain;
}

.status-badge,
.status-pill,
.tier-pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-publicado,
.status-ativo {
  color: #166534;
  background: #dcfce7;
}

.status-rascunho {
  color: #92400e;
  background: #fef3c7;
}

.status-arquivado,
.status-inativo {
  color: #991b1b;
  background: #fee2e2;
}

.status-pill {
  color: #075985;
  background: #e0f2fe;
}

/* Filtros e formulários */
.admin-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(180px, 1fr) auto;
  gap: 11px;
  margin-bottom: 17px;
  padding: 14px;
  border: 1px solid rgb(15 23 42 / 0.07);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 11px 28px rgb(15 23 42 / 0.04);
}

.admin-filters input,
.admin-filters select,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 47px;
  padding: 12px 13px;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  color: var(--admin-ink);
  background: #fff;
}

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

.admin-filters input:focus,
.admin-filters select:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: 0;
  border-color: rgb(var(--admin-accent-rgb) / 0.48);
  box-shadow: 0 0 0 5px rgb(0 217 255 / 0.09);
}

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

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

.form-section {
  padding: 23px;
  border: 1px solid rgb(15 23 42 / 0.07);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 38px rgb(15 23 42 / 0.05);
}

.form-section h2,
.form-section-title {
  margin: 0 0 17px;
  color: var(--admin-ink);
  font-size: 1.2rem;
}

.form-grid,
.config-form-grid {
  display: grid;
  gap: 15px;
}

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

.admin-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin-bottom: 13px;
  color: var(--admin-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-form small {
  color: var(--admin-muted);
  font-weight: 500;
  line-height: 1.5;
}

.admin-form code {
  padding: 2px 5px;
  border-radius: 7px;
  background: #f1f5f9;
  font-size: 0.84em;
}

.full,
.config-form-grid .full,
.form-section-title {
  grid-column: 1 / -1;
}

.small-textarea {
  min-height: 94px !important;
}

.check-line,
.check-row {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: center;
  gap: 9px !important;
}

.check-line input,
.check-row input {
  width: auto;
  min-height: auto;
}

.home-photo-toggle {
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
}

.home-photo-toggle input {
  margin-top: 3px;
}

.home-photo-toggle span {
  display: grid;
  gap: 3px;
}

.home-photo-toggle small {
  color: #475569;
}

.image-form-grid {
  align-items: start;
}

.project-image-config-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.project-image-config-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 20px;
  background: #f8fafc;
}

.project-image-config-card h3 {
  margin: 4px 0 5px;
  color: var(--admin-ink);
  font-size: 1rem;
}

.project-image-config-card p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.project-image-config-card label {
  margin-bottom: 0;
}

.admin-field-kicker {
  color: var(--admin-accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-highlight-fields {
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--admin-line);
}

.image-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid var(--admin-line);
  border-radius: 17px;
  background: #f8fafc;
  object-fit: cover;
}

.image-preview-contain,
.image-preview.is-contain {
  padding: 12px;
  background: #fff;
  object-fit: contain;
}

.image-preview.is-cover {
  padding: 0;
  object-fit: cover;
}

.image-admin-preview {
  display: grid;
  place-items: center;
  padding: 13px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: #fff;
}

.image-admin-preview img {
  max-width: 100%;
  max-height: 260px;
  border-radius: 12px;
  object-fit: contain;
}

.image-admin-preview-logo img {
  max-height: 125px;
}

.image-admin-preview-favicon img {
  max-width: 80px;
  max-height: 80px;
}

@media (max-width: 1100px) {
  .project-image-config-grid {
    grid-template-columns: 1fr;
  }

  .project-image-config-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
  }

  .project-image-config-card > div,
  .project-image-config-card > img {
    grid-row: span 3;
  }
}

@media (max-width: 720px) {
  .project-image-config-card {
    display: flex;
  }
}

.danger-zone {
  margin-top: 17px;
  padding: 17px;
  border: 1px solid #fecdd3;
  border-radius: 20px;
  background: #fff1f2;
}

.danger-zone button {
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #e11d48;
  font-weight: 800;
  cursor: pointer;
}

/* Configurações de tema */
.theme-admin-panel,
.social-toggle-admin {
  padding: 17px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: #f8fafc;
}

.theme-admin-panel h3 {
  margin: 0 0 5px;
}

.theme-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 13px;
}

.theme-choice-card {
  position: relative;
  display: grid !important;
  gap: 6px;
  overflow: hidden;
  margin: 0 !important;
  padding: 17px 17px 17px 46px !important;
  border: 1px solid var(--admin-line);
  border-radius: 17px;
  background: #fff;
  cursor: pointer;
}

.theme-choice-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: linear-gradient(#00d9ff, #0064ff);
  content: "";
}

.theme-choice-blue::before {
  background: linear-gradient(90deg, #00d9ff, #0064ff);
}

.theme-choice-card input {
  position: absolute;
  top: 19px;
  left: 17px;
  width: auto;
  min-height: auto;
}

.theme-choice-card span {
  font-weight: 800;
}

.theme-choice-card small {
  color: var(--admin-muted);
}

.theme-choice-red::before {
  background: linear-gradient(#ff626b, #e30613);
}

.theme-choice-card:has(input:checked) {
  border-color: #00b8dd;
  box-shadow: 0 11px 30px rgb(0 100 255 / 0.10);
}

.theme-choice-red:has(input:checked) {
  border-color: #e30613;
  box-shadow: 0 11px 30px rgb(227 6 19 / 0.10);
}

.theme-assets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.theme-assets-card {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--admin-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 11px 30px rgb(15 23 42 / 0.05);
}

.theme-assets-card h3,
.theme-assets-card p {
  margin: 0;
}

.theme-assets-card p {
  color: var(--admin-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.theme-assets-blue {
  border-top: 5px solid #00d9ff;
}

.theme-assets-red {
  border-top: 5px solid #e30613;
}

.social-toggle-admin small {
  display: block;
  margin-top: 5px;
}

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

  .admin-sidebar {
    position: relative;
    height: auto;
  }

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

  .admin-sidebar-footer {
    grid-template-columns: 1fr 1fr;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-topbar {
    margin: -18px -18px 22px;
    padding: 15px 18px;
  }

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

  .admin-filters {
    grid-template-columns: 1fr;
  }

  .login-hero-card {
    grid-template-columns: 1fr;
  }

  .login-visual-panel {
    min-height: 350px;
  }
}

@media (max-width: 760px) {
  .admin-page-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 21px;
  }

  .admin-form.form-card,
  .form-grid.two,
  .config-form-grid,
  .theme-choice-grid,
  .theme-assets-grid {
    grid-template-columns: 1fr;
  }

  .admin-form.form-card > *,
  .config-form-grid .full,
  .full {
    grid-column: 1;
  }

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

  .login-card,
  .login-visual-panel {
    padding: 30px;
  }

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

@media (max-width: 620px) {
  .admin-nav,
  .admin-sidebar-footer,
  .admin-cards,
  .admin-shortcuts {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 13px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    margin: -13px -13px 18px;
    padding: 13px;
  }

  .admin-user-pill {
    width: 100%;
  }

  .login-hero-card {
    border-radius: 25px;
  }

  .form-actions,
  .form-actions .btn {
    width: 100%;
  }
}
