html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

body.app-shell-body {
  margin-bottom: 0;
}

.public-landing-body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 46%, #eef5fa 100%);
  color: #172033;
  margin-bottom: 0;
  min-height: 100vh;
}

.landing-header {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #dfe7ef;
  box-shadow: 0 12px 34px rgba(15, 35, 55, .04);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 70px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.landing-brand {
  align-items: center;
  color: #10233d;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.landing-brand:hover {
  color: #10233d;
  text-decoration: none;
}

.landing-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, #0f2f50, #2d7894);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(23, 59, 97, .18);
  color: #ffffff;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.landing-brand-mark svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 25px;
}

.landing-brand strong,
.landing-brand small {
  display: block;
}

.landing-brand strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.landing-brand small {
  color: #64748b;
  font-size: .76rem;
  font-weight: 600;
}

.landing-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.landing-nav a {
  align-items: center;
  border-radius: 999px;
  color: #173b61;
  display: inline-flex;
  font-weight: 700;
  min-height: 34px;
  padding: 9px 14px;
  text-decoration: none;
}

.landing-nav a:hover {
  background: #eaf2f8;
  color: #102f50;
}

.landing-nav .public-admin-access {
  background: transparent;
  border: 0;
  color: #64748b;
  cursor: pointer;
  font-size: inherit;
  font-weight: 700;
  min-height: 34px;
  padding: 9px 14px;
}

.landing-nav .public-admin-access:hover {
  background: transparent;
  color: #173b61;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.landing-nav .landing-whatsapp-link {
  background: #102f50;
  color: #ffffff;
}

.landing-nav .landing-whatsapp-link:hover {
  background: #102f50;
  color: #ffffff;
}

.landing-hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .65fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 84px);
  padding: clamp(48px, 8vw, 92px) 18px;
}

.landing-hero-copy h1 {
  color: #0d223b;
  font-size: clamp(3.2rem, 7vw, 6.25rem);
  font-weight: 880;
  line-height: .96;
  margin-bottom: 18px;
}

.landing-eyebrow {
  color: #2d7894;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.landing-lead {
  color: #44576d;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 660px;
}

.landing-code-form {
  background: rgba(255, 255, 255, .94);
  border: 1px solid #d5e2ec;
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(15, 35, 55, .11);
  max-width: 640px;
  padding: 20px;
}

.landing-code-form .form-label {
  color: #10233d;
  font-weight: 800;
}

.landing-code-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.landing-code-input {
  font-family: Consolas, "Courier New", monospace;
  min-height: 48px;
  text-transform: uppercase;
}

.landing-code-input:focus {
  border-color: #2d7894;
  box-shadow: 0 0 0 .22rem rgba(45, 120, 148, .16);
}

.landing-primary-button,
.landing-secondary-button {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding-left: 18px;
  padding-right: 18px;
}

.landing-primary-button {
  background: #102f50;
  border-color: #102f50;
  color: #ffffff;
}

.landing-primary-button:hover {
  background: #0b2744;
  border-color: #0b2744;
  color: #ffffff;
}

.landing-secondary-button {
  background: #ffffff;
  border-color: #cbd8e5;
  color: #173b61;
}

.landing-secondary-button:hover {
  background: #eaf2f8;
  border-color: #b7cadb;
  color: #102f50;
}

.landing-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.landing-text-link {
  color: #245a85;
  font-weight: 800;
  text-decoration: none;
}

.landing-text-link:hover {
  color: #173b61;
  text-decoration: underline;
}

.landing-hero-panel {
  align-items: flex-start;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(239, 247, 252, .96)),
    linear-gradient(135deg, #ffffff, #e8f3f9);
  border: 1px solid #d3e1ec;
  border-radius: 22px;
  box-shadow: 0 30px 78px rgba(15, 35, 55, .17);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 36px);
}

.landing-instagram-card {
  position: relative;
}

.landing-instagram-card::before {
  background: linear-gradient(135deg, rgba(45, 120, 148, .2), rgba(16, 47, 80, .08));
  border-radius: 999px;
  content: "";
  height: 180px;
  position: absolute;
  right: -72px;
  top: -72px;
  width: 180px;
}

.landing-instagram-card > * {
  position: relative;
  z-index: 1;
}

.landing-instagram-icon {
  align-items: center;
  background: linear-gradient(135deg, #0f2f50, #2d7894);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(23, 59, 97, .22);
  color: #ffffff;
  display: inline-flex;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.landing-instagram-icon svg {
  fill: none;
  height: 34px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 34px;
}

.landing-instagram-card h2 {
  color: #10233d;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 860;
  line-height: 1;
  margin-bottom: 10px;
}

.landing-instagram-subtitle {
  color: #44576d;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.landing-instagram-user {
  align-items: center;
  background: #eef5fb;
  border: 1px solid #d7e5f1;
  border-radius: 999px;
  color: #173b61;
  display: inline-flex;
  font-weight: 850;
  margin-bottom: 0;
  padding: 8px 13px;
}

.landing-instagram-benefits {
  color: #44576d;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-instagram-benefits li {
  align-items: center;
  display: flex;
  gap: 10px;
  line-height: 1.35;
}

.landing-instagram-benefits li::before {
  background: #2d7894;
  border-radius: 999px;
  content: "";
  flex: 0 0 8px;
  height: 8px;
  width: 8px;
}

.landing-instagram-button {
  align-self: flex-start;
}

.landing-section,
.landing-cta {
  margin: 0 auto;
  max-width: 1180px;
  padding: 58px 18px;
}

.landing-section-heading {
  margin-bottom: 24px;
  max-width: 100%;
}

.landing-section-heading p {
  color: #5f6f82;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
  margin-top: 12px;
  max-width: 860px;
}

.landing-section-heading h1,
.landing-section-heading h2,
.landing-cta h2 {
  color: #10233d;
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
  font-weight: 820;
  line-height: 1.12;
  margin-bottom: 0;
  max-width: 100%;
}

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

.landing-step,
.landing-service-card {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 35, 55, .06);
  padding: 24px;
}

.landing-step span {
  align-items: center;
  background: #eaf2f8;
  border: 1px solid #cde0ee;
  border-radius: 12px;
  color: #173b61;
  display: inline-flex;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.landing-step h3,
.landing-service-card h3 {
  color: #10233d;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.landing-step p,
.landing-service-card p,
.landing-cta p {
  color: #5f6f82;
  line-height: 1.55;
  margin-bottom: 0;
}

.landing-promos {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-promo-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 35, 55, .08);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}

.landing-promo-card:hover {
  box-shadow: 0 22px 48px rgba(15, 35, 55, .14);
  transform: translateY(-3px);
}

.landing-promo-card img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.landing-promo-viewer {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 1000;
}

.landing-promo-viewer:target {
  display: flex;
}

.landing-promo-viewer-backdrop {
  background: rgba(8, 24, 42, .76);
  inset: 0;
  position: absolute;
}

.landing-promo-viewer-content {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
  max-height: min(92vh, 980px);
  max-width: min(92vw, 760px);
  overflow: hidden;
  padding: 12px;
  position: relative;
  width: auto;
  z-index: 1;
}

.landing-promo-viewer-content img {
  display: block;
  max-height: calc(92vh - 72px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.landing-promo-close {
  align-items: center;
  background: #102f50;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: .86rem;
  font-weight: 800;
  justify-content: center;
  margin-bottom: 10px;
  min-height: 38px;
  padding: 8px 14px;
  text-decoration: none;
}

.landing-promo-close:hover {
  background: #0b2744;
  color: #ffffff;
}

.landing-cta {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15, 35, 55, .08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 54px;
  padding: 34px;
}

.landing-cta > div {
  flex: 1 1 auto;
  min-width: 0;
}

.landing-footer {
  align-items: center;
  border-top: 1px solid #dfe7ef;
  color: #64748b;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px 18px 34px;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .landing-promos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.public-gallery-body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 42%, #edf5fa 100%);
  color: #172033;
  margin-bottom: 0;
  min-height: 100vh;
}

.public-access-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 28px 18px;
}

.gallery-public-header + .public-access-shell {
  min-height: calc(100vh - 83px);
}

.public-access-card {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(10, 35, 61, .12);
  max-width: 430px;
  padding: 36px 30px;
  width: 100%;
}

.public-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, #0f2f50, #2d7894);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(23, 59, 97, .2);
  color: #ffffff;
  display: flex;
  height: 58px;
  justify-content: center;
  margin: 0 auto 18px;
  width: 58px;
}

.public-brand-mark svg {
  fill: none;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 30px;
}

.public-title {
  color: #10233d;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-align: center;
}

.public-subtitle {
  color: #667994;
  margin-bottom: 28px;
  text-align: center;
}

.public-subtitle strong,
.public-subtitle span {
  display: block;
}

.public-subtitle strong {
  color: #173b61;
  font-weight: 800;
  margin-bottom: 5px;
}

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

.public-code-input {
  font-family: Consolas, "Courier New", monospace;
  min-height: 44px;
  text-transform: uppercase;
}

.public-main-button {
  background: #102f50;
  border-color: #102f50;
  font-weight: 700;
  margin-top: 8px;
  min-height: 46px;
}

.public-main-button:hover {
  background: #0b2744;
  border-color: #0b2744;
}

.gallery-public-header {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #dfe7ef;
  box-shadow: 0 12px 34px rgba(15, 35, 55, .04);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 70px);
}

.public-gallery-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 32px 18px 58px;
}

.gallery-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 47, 80, .96), rgba(45, 120, 148, .9)),
    linear-gradient(135deg, #102f50, #2d7894);
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(15, 35, 55, .14);
  color: #ffffff;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.gallery-hero .landing-eyebrow {
  color: #bfe2f3;
}

.gallery-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 860;
  line-height: 1;
  margin-bottom: 10px;
}

.gallery-hero p {
  color: #e3eef6;
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 620px;
}

.gallery-hero .landing-secondary-button {
  border-color: rgba(255, 255, 255, .48);
  color: #102f50;
  flex: 0 0 auto;
}

.gallery-info-card {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 35, 55, .07);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
  padding: 18px;
}

.gallery-info-card span {
  color: #64748b;
  display: block;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.gallery-info-card strong {
  color: #10233d;
  display: block;
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-gallery-message {
  background: #ffffff;
  border-color: #d7e5f1;
  color: #173b61;
}

.public-photo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.public-photo-item {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 35, 55, .08);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.public-photo-item img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.public-photo-actions {
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .98));
  border-top: 1px solid rgba(215, 229, 241, .92);
  bottom: 0;
  display: grid;
  gap: 10px;
  left: 0;
  padding: 12px;
  position: absolute;
  right: 0;
}

.public-photo-actions span {
  color: #53657a;
  font-size: .86rem;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-photo-buttons {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.gallery-photo-button {
  background: #eef5fb;
  border-color: #d7e5f1;
  color: #173b61;
  font-weight: 800;
}

.gallery-photo-button:hover {
  background: #173b61;
  border-color: #173b61;
  color: #ffffff;
}

.gallery-download-button {
  background: #102f50;
  border-color: #102f50;
  color: #ffffff;
}

.gallery-download-button:hover {
  background: #0b2744;
  border-color: #0b2744;
}

.admin-login-shell {
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, .08), transparent 34%),
    linear-gradient(135deg, #143a5b 0%, #2d7894 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 36px 18px;
}

.login-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(5, 24, 44, .28);
  max-width: 420px;
  padding: 40px 32px;
  width: 100%;
}

.login-brand-icon {
  align-items: center;
  background: #1d416e;
  border-radius: 15px;
  color: #ffffff;
  display: flex;
  height: 64px;
  justify-content: center;
  margin: 0 auto 18px;
  width: 64px;
}

.login-brand-icon svg,
.login-input-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.login-brand-icon svg {
  height: 31px;
  width: 31px;
}

.login-title {
  color: #0f2440;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 4px;
  text-align: center;
}

.login-subtitle {
  color: #667994;
  margin-bottom: 34px;
  text-align: center;
}

.login-form .form-label {
  color: #0f2440;
  font-weight: 500;
  margin-bottom: 8px;
}

.login-form .form-control {
  min-height: 39px;
}

.login-input-icon {
  background: #f4f7fb;
  color: #173b61;
  justify-content: center;
  min-width: 44px;
}

.login-input-icon svg {
  height: 19px;
  width: 19px;
}

.login-button {
  background: #1d416e;
  border-color: #1d416e;
  font-weight: 700;
  min-height: 46px;
  width: 100%;
}

.login-button:hover {
  background: #153557;
  border-color: #153557;
}

.login-footer {
  color: #d7e9f2;
  font-size: .85rem;
  margin-top: 18px;
}

.admin-shell {
  background: #f4f7fb;
  color: #1d2733;
  display: grid;
  grid-template-columns: 272px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #0b2d4d;
  color: #ffffff;
  padding: 26px 18px;
}

.admin-sidebar .admin-brand {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 30px;
  padding: 8px 10px 20px;
  text-decoration: none;
}

.admin-sidebar .admin-brand:hover {
  color: #ffffff;
  text-decoration: none;
}

.admin-brand-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.admin-brand-subtitle {
  color: #a9c3dc;
  font-size: .82rem;
  font-weight: 600;
}

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

.admin-sidebar .admin-nav-link {
  align-items: center;
  border-radius: 8px;
  color: #dbe8f4;
  display: flex;
  font-weight: 600;
  gap: 11px;
  min-height: 44px;
  padding: 10px 12px;
  text-decoration: none;
}

.admin-sidebar .admin-nav-link:hover,
.admin-sidebar .admin-nav-link.active {
  background: #17466f;
  color: #ffffff;
  text-decoration: none;
}

.admin-sidebar .admin-nav-link.disabled {
  color: #8fafc9;
  cursor: default;
}

.admin-sidebar .admin-nav-link.disabled:hover {
  background: transparent;
  color: #8fafc9;
}

.admin-sidebar .admin-nav-sublink {
  margin-left: 18px;
  min-height: 40px;
  padding-left: 18px;
}

.admin-nav-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 22px;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.admin-nav-icon svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}

.admin-main {
  min-width: 0;
}

.admin-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dfe7ef;
  display: flex;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 32px;
}

.admin-header-product {
  display: grid;
  gap: 2px;
}

.admin-header-title {
  color: #18324a;
  font-weight: 700;
}

.admin-header-subtitle {
  color: #6c7a89;
  font-size: .82rem;
}

.admin-user {
  align-items: center;
  display: flex;
  gap: 14px;
}

.admin-user-name {
  color: #334155;
  font-weight: 600;
}

.admin-content {
  padding: 30px 34px;
}

.admin-page-title {
  font-size: 1.6rem;
  font-weight: 750;
  margin-bottom: 6px;
}

.admin-page-subtitle {
  color: #697586;
  margin-bottom: 24px;
}

.admin-page-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.admin-page-heading .admin-page-subtitle {
  margin-bottom: 0;
}

.admin-narrow-page {
  width: 100%;
}

.admin-wide-page {
  width: 100%;
}

.admin-section {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 35, 55, .04);
  padding: 22px;
}

.admin-section-heading {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-count-pill {
  align-items: center;
  background: #eef5fb;
  border: 1px solid #d7e5f1;
  border-radius: 999px;
  color: #173b61;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-width: 38px;
  padding: 4px 10px;
}

.admin-import-panel {
  background: #f7fafc;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.admin-import-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(180px, 260px) minmax(260px, 1fr) auto;
}

.admin-import-form-action {
  display: flex;
  justify-content: flex-end;
}

.admin-import-groups {
  display: grid;
  gap: 12px;
}

.admin-import-group {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 420px) auto;
  padding: 14px;
}

.admin-import-group-info {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.admin-import-group-order {
  align-items: center;
  background: #eef5fb;
  border: 1px solid #d7e5f1;
  border-radius: 8px;
  color: #173b61;
  display: inline-flex;
  flex: 0 0 38px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.admin-code-panel {
  border-top: 1px solid #dfe7ef;
  padding-top: 22px;
}

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

.admin-code-group {
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.admin-code-group-header {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.admin-route-text {
  background: #f7fafc;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
  color: #475569;
  display: inline-flex;
  font-family: Consolas, "Courier New", monospace;
  font-size: .86rem;
  padding: 5px 8px;
}

.admin-zip-guide {
  background: #f8fbfd;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr);
  padding: 14px;
}

.admin-vigencia-panel {
  background: #fbfdff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  padding: 14px;
}

.admin-vigencia-main {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.admin-vigencia-badge {
  background: #eef5fb;
  border: 1px solid #d7e5f1;
  border-radius: 999px;
  color: #173b61;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 10px;
  white-space: nowrap;
}

.admin-vigencia-badge.is-available {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.admin-vigencia-badge.is-warning {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.admin-vigencia-badge.is-expired {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

.admin-vigencia-badge.is-pending {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.admin-vigencia-badge.is-deleted {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.admin-vigencia-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  width: 100%;
}

.admin-vigencia-meta span {
  color: #64748b;
  display: block;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-vigencia-meta strong {
  color: #0f1f33;
  display: block;
  font-size: .92rem;
  margin-top: 2px;
}

.admin-danger-panel {
  align-items: center;
  background: #fffafa;
  border: 1px solid #fecaca;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 440px);
  padding: 14px;
}

.admin-danger-panel.is-compact {
  background: #fffafa;
}

.admin-confirm-form {
  margin: 0;
}

.admin-confirm-controls {
  align-items: center;
  display: flex;
  gap: 8px;
}

.admin-confirm-controls .form-control {
  min-width: 150px;
}

.admin-zip-label {
  color: #5f6f82;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.admin-zip-tree {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
  color: #173b61;
  font-family: Consolas, "Courier New", monospace;
  font-size: .88rem;
  line-height: 1.7;
  padding: 10px 12px;
}

.admin-code-pill {
  background: #eef5fb;
  border: 1px solid #d7e5f1;
  border-radius: 999px;
  color: #173b61;
  display: inline-flex;
  font-weight: 700;
  min-width: 38px;
  padding: 3px 9px;
}

.admin-code-value {
  color: #173b61;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
}

.admin-inline-upload {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  min-width: 320px;
}

.admin-inline-upload .form-control {
  max-width: 230px;
}

.admin-import-list {
  border-top: 1px solid #dfe7ef;
  padding-top: 18px;
}

.admin-import-row {
  align-items: center;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 14px;
}

.admin-import-row + .admin-import-row {
  margin-top: 10px;
}

.admin-form {
  width: 100%;
}

.admin-form-card {
  padding: 28px;
}

.admin-form-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 4px;
}

.admin-actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.validation-summary-valid {
  display: none;
}

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

.admin-detail-grid dt {
  color: #697586;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.admin-detail-grid dd {
  color: #1f2933;
  font-weight: 600;
  margin-bottom: 0;
}

.admin-quick-row {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.admin-muted-label {
  color: #697586;
  font-size: .9rem;
  margin-bottom: 4px;
}

.admin-placeholder-number {
  font-size: 1.75rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .gallery-public-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .gallery-public-header .landing-nav {
    width: 100%;
  }

  .gallery-public-header .landing-nav a {
    width: auto;
  }

  .gallery-public-header .landing-nav .public-admin-access {
    margin-left: auto;
  }

  .gallery-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-hero .btn {
    width: 100%;
  }

  .gallery-info-card {
    grid-template-columns: 1fr;
  }

  .landing-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    position: static;
  }

  .landing-nav {
    width: 100%;
  }

  .landing-nav a {
    text-align: center;
    width: 50%;
  }

  .landing-nav .public-admin-access {
    margin-left: auto;
    width: auto;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .landing-code-row {
    grid-template-columns: 1fr;
  }

  .landing-code-row .btn,
  .landing-hero-actions .btn {
    width: 100%;
  }

  .landing-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-hero-panel {
    min-height: auto;
  }

  .landing-instagram-button {
    align-self: stretch;
    width: 100%;
  }

  .landing-steps,
  .landing-services {
    grid-template-columns: 1fr;
  }

  .landing-promos {
    grid-template-columns: 1fr;
  }

  .landing-promo-viewer {
    padding: 12px;
  }

  .landing-cta {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .admin-sidebar {
    padding: 18px;
  }

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

  .admin-header {
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
  }

  .admin-user {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .admin-content {
    padding: 20px 18px;
  }

  .admin-quick-row,
  .admin-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .admin-inline-upload {
    align-items: stretch;
    flex-direction: column;
    min-width: 0;
  }

  .admin-inline-upload .form-control {
    max-width: none;
  }

  .admin-import-form {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-import-form-action {
    justify-content: stretch;
  }

  .admin-import-form-action .btn {
    width: 100%;
  }

  .admin-import-group {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-code-group-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-code-group-header .btn {
    width: 100%;
  }

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

  .admin-vigencia-main {
    flex-direction: column;
  }

  .admin-vigencia-meta,
  .admin-danger-panel {
    grid-template-columns: 1fr;
  }

  .admin-confirm-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-confirm-controls .btn {
    width: 100%;
  }

  .admin-import-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-detail-grid {
    grid-template-columns: 1fr;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
