* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#resultado-busca {
  position: absolute;
  padding-top: 1rem;
  max-width: 360px;
  max-height: 500px;
  overflow-y: scroll;
  z-index: 2000;
  display: none;
  text-align: center;
  background-image: url("../img/hexagon.svg");
  font-weight: 500;
  border: 2px solid #777676;
}

#resultado-busca span {
  line-height: 2.4rem;
}

.tab-pane th:hover {
  background-color: #34343a;
}
th {
  cursor: pointer;
}

#resultado-busca hr {
  margin: 0.3rem;
}

#resultado-busca hr:first-child {
  margin-top: 0rem;
  display: none;
}
#resultado-busca hr:last-child {
  margin-bottom: 0rem;
  display: none;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  z-index: 1050;
  display: none;
}

#search-input {
  z-index: 1055;
  max-width: 360px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.message {
  padding: 1rem;
  position: absolute;
  max-width: 24rem;
  top: 5rem;
  right: 8.8rem;
  z-index: 9999;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation-name: notification;
  animation-duration: 0.7s;
  transition-timing-function: ease-in;
}
.message p {
  margin: 0;
  text-align: center;
}

.admin-ui {
  background:
    radial-gradient(circle at top right, rgba(3, 207, 177, 0.08), transparent 26%),
    linear-gradient(180deg, #f4f7f8 0%, #edf2f4 55%, #e8eef1 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  min-height: 74px;
  padding: 0.72rem clamp(1.2rem, 2vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 251, 0.92));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26, 26, 33, 0.08);
  box-shadow: 0 14px 34px rgba(18, 27, 34, 0.07);
}

.admin-topbar--maintenance {
  grid-template-columns: minmax(260px, 1.05fr) minmax(200px, 0.95fr) auto;
}

.admin-topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  margin-right: clamp(1.1rem, 2.4vw, 2.6rem);
}

.admin-topbar__brand-copy {
  min-width: 0;
}

.admin-topbar__eyebrow {
  display: block;
  margin-bottom: 0.2rem;
  color: #0e7d70;
  font-size: 0.72rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  font-weight: 700;
}

.admin-topbar .title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: #17222c;
}

.admin-title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.admin-title-link:hover {
  color: #0b2c3b;
}

.admin-topbar__meta {
  color: #5d6b76;
  font-size: 0.94rem;
  line-height: 1.45;
  text-align: center;
  max-width: 28rem;
}

.admin-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}

.admin-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: #17222c;
  background: rgba(23, 34, 44, 0.05);
  border: 1px solid rgba(23, 34, 44, 0.08);
  font-weight: 700;
}

.admin-mobile-back {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: #17222c;
  background: rgba(23, 34, 44, 0.05);
  border: 1px solid rgba(23, 34, 44, 0.08);
  font-weight: 700;
}

.admin-mobile-back:hover {
  color: #0b2c3b;
  background: rgba(3, 207, 177, 0.14);
}

.admin-shortcut:hover {
  color: #0b2c3b;
  background: rgba(3, 207, 177, 0.14);
}

.admin-shortcut--ghost {
  background: rgba(255, 255, 255, 0.72);
}

.admin-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: auto;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: #1a1a21;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(3, 207, 177, 0.18), rgba(17, 70, 95, 0.08));
  border: 1px solid rgba(3, 207, 177, 0.18);
}

.admin-logout:hover {
  color: #0b2c3b;
  background: linear-gradient(135deg, rgba(3, 207, 177, 0.28), rgba(17, 70, 95, 0.14));
}

.admin-workspace {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.1rem 0 10rem;
  flex: 1 0 auto;
}

.admin-dashboard {
  padding-top: 2.75rem;
}

.admin-section-heading {
  margin-bottom: 1.75rem;
}

.admin-section-heading--compact {
  max-width: 52rem;
}

.admin-section-heading--inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.admin-section-heading__eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: #0e7d70;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-section-heading h1 {
  margin: 0;
  color: #17222c;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
}

.admin-section-heading p {
  margin: 0.85rem 0 0;
  max-width: 48rem;
  color: #56656f;
  font-size: 1rem;
  line-height: 1.65;
}

.admin-surface {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 28px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 20px 50px rgba(18, 27, 34, 0.08);
}

.admin-surface--operators {
  width: min(980px, 100%);
  margin-inline: auto;
}

.admin-surface--logs {
  margin-top: 1.5rem;
}
.message-danger {
  background-color: rgb(255, 197, 197);
  color: #8a0000;
}

.message-success {
  background-color: rgb(197, 255, 214);
  color: #008a1e;
}

.message-alert {
  background-color: rgb(248, 244, 186);
  color: #8e7902;
}

span#close-message {
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  padding-left: 2rem;
}

span#close-message:houver {
  color: rgba(255, 0, 0);
}

.errorLogin {
  color: rgba(255, 0, 0);
  text-align: center;
  padding-top: 0.6rem !important;
}

button {
  font-size: 1rem;
  text-align: center;
}
.lista-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gradient2 {
  background: linear-gradient(45deg, #48d1cc, #87ceeb, #00bfff, #1e90ff)
    no-repeat;
  background-size: 700% 700%;
  animation: colors 20s ease infinite;
  width: 100%;
  padding-bottom: 4vh;
}

@keyframes notification {
  0% {
    right: -30rem;
  }
  100% {
    right: 8.8rem;
  }
}

@keyframes colors {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.container-ramais {
  width: 68%;
}

.container_esc {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.image-wrapper {
  width: 200px;
}

.image-wrapper--uploaded {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
}

.image-wrapper:hover {
  transform: scale(1.1);
  cursor: pointer;
  transition: 0.6s;
}

.image-wrapper img {
  width: 100%;
  border-radius: 20px;
}

.image-wrapper img.image-wrapper__img--uploaded {
  display: block;
  width: 100%;
  height: 200px;
  padding: 0;
  background: #ffffff;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  transform: none;
}

.public-home-preview {
  min-height: 100vh;
  color: #14212b;
}

.public-home-preview::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 16%, rgba(3, 207, 177, 0.13), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(16, 44, 74, 0.11), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28));
  z-index: -1;
}

.public-preview-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
  padding: 0.65rem clamp(1rem, 2vw, 2rem);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(20, 33, 43, 0.08);
  box-shadow: 0 16px 42px rgba(20, 33, 43, 0.08);
  backdrop-filter: blur(16px);
}

.public-preview-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.public-preview-brand img {
  display: block;
  width: auto;
  max-width: 138px;
  max-height: 42px;
  object-fit: contain;
}

.public-preview-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 1.2vw, 1.15rem);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.public-preview-nav::-webkit-scrollbar {
  display: none;
}

.public-preview-nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 40px;
  padding: 0.35rem;
  border-radius: 14px;
  background: transparent;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.public-preview-nav__item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(20, 33, 43, 0.08);
  transform: translateY(-1px);
}

.public-preview-nav__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.15);
}

.public-preview-nav__item:not(.public-preview-nav__item--jk) img {
  transform: scale(1.14);
  transform-origin: center;
}

.public-preview-nav__item.public-preview-nav__item--vw img,
.public-preview-nav__item.public-preview-nav__item--nissan img {
  transform: scale(1.26);
}

.public-preview-nav__item--jk img {
  transform: scale(0.96);
  transform-origin: center;
}

.public-preview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.public-preview-pill {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(20, 33, 43, 0.1);
  border-radius: 999px;
  color: #14212b;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 33, 43, 0.06);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.public-preview-pill::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.18));
  opacity: 0.65;
}

.public-preview-pill:hover {
  color: #14212b;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(20, 33, 43, 0.12);
}

.public-preview-pill--panel,
.public-preview-pill--login {
  color: #0b2f2a;
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.88), transparent 28%),
    linear-gradient(135deg, rgba(220, 252, 246, 0.98), rgba(164, 230, 222, 0.95));
  border-color: rgba(8, 117, 103, 0.2);
  box-shadow: 0 14px 34px rgba(8, 117, 103, 0.14);
}

.public-preview-pill--stores {
  color: #173d33;
  border-color: rgba(23, 61, 51, 0.13);
  background: rgba(244, 250, 248, 0.9);
}

.public-preview-pill--stores:hover,
.public-preview-pill--stores.is-active {
  color: #0b5e53;
  border-color: rgba(8, 117, 103, 0.3);
  background: #e3f7f2;
  box-shadow: 0 14px 30px rgba(8, 117, 103, 0.12);
}

/* Nossas Lojas — público */
.public-stores-page {
  min-height: 100vh;
}

.public-stores-page::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(75, 218, 195, 0.16), transparent 25rem),
    radial-gradient(circle at 88% 20%, rgba(16, 44, 74, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,0.54), rgba(255,255,255,0.22));
}

.stores-public-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 0 5rem;
}

.stores-public-hero {
  max-width: 850px;
  margin: 0 auto clamp(2rem, 4vw, 3.4rem);
  text-align: center;
}

.stores-public-hero__eyebrow {
  color: #0e7d70;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
}

.stores-public-hero h1 {
  margin: 0.35rem 0 0.65rem;
  color: #14212b;
  font-size: clamp(2.65rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.stores-public-hero > p {
  margin: 0 auto 1.55rem;
  color: #5b6b76;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.stores-public-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.45rem 0.55rem 0.45rem 1.15rem;
  border: 1px solid rgba(12, 115, 101, 0.18);
  border-radius: 22px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 20px 55px rgba(20,33,43,0.12);
  text-align: left;
}

.stores-public-search > i {
  color: #0e7d70;
}

.stores-public-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #14212b;
  font-size: 1rem;
}

.stores-public-search__count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  color: #0b5e53;
  background: #e4f7f3;
  white-space: nowrap;
}

.stores-public-search__count strong {
  font-size: 1.1rem;
}

.stores-public-search__count span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stores-public-groups {
  display: grid;
  gap: 2rem;
}

.stores-brand {
  padding: clamp(1.15rem, 2vw, 1.7rem);
  border: 1px solid rgba(23,34,44,0.08);
  border-radius: 30px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 24px 65px rgba(20,33,43,0.08);
  animation: storeGroupIn 0.5s ease both;
  animation-delay: var(--store-group-delay);
}

@keyframes storeGroupIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.stores-brand__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.stores-brand__identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.stores-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 56px;
  padding: 0.55rem;
  border-radius: 18px;
  background: #f4f7f7;
  border: 1px solid rgba(23,34,44,0.07);
}

.stores-brand__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.stores-brand__identity span {
  color: #71808a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stores-brand__identity h2 {
  margin: 0.05rem 0 0;
  color: #17222c;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.stores-brand__heading > small {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #52626d;
  background: #eef3f3;
  font-weight: 800;
}

.stores-brand__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 240px;
  padding: 1.25rem;
  border: 1px solid rgba(23,34,44,0.08);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(246,249,249,0.93));
  box-shadow: 0 12px 30px rgba(20,33,43,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14,125,112,0.2);
  box-shadow: 0 20px 38px rgba(20,33,43,0.1);
}

.store-card__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: #0e7d70;
}

.store-card__city {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.store-card h3 {
  margin: 0.75rem 0 0.55rem;
  color: #17222c;
  font-size: 1.13rem;
  line-height: 1.25;
}

.store-card__address {
  margin: 0 0 1.1rem;
  color: #62717c;
  line-height: 1.55;
}

.store-card__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(23,34,44,0.08);
  color: #173d33;
  text-decoration: none;
}

.store-card__phone:hover {
  color: #0e7d70;
}

.store-card__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #def4ef;
}

.store-card__phone small,
.store-card__phone strong {
  display: block;
}

.store-card__phone small {
  color: #75838d;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-card__phone strong {
  margin-top: 0.1rem;
  font-size: 1rem;
}

.stores-public-empty {
  max-width: 560px;
  margin: 2rem auto;
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 28px;
  background: rgba(255,255,255,0.82);
}

.stores-public-empty i {
  color: #0e7d70;
  font-size: 2rem;
}

.stores-public-empty h2 {
  margin: 0.8rem 0 0.35rem;
}

.stores-public-empty p {
  margin: 0;
  color: #687781;
}

.public-stores-page .container-footer {
  position: static !important;
}

/* Nossas Lojas — administração */
.store-admin-heading__cta {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
}

.store-admin-board {
  padding: 1rem;
}

.store-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, 0.35fr) minmax(150px, 0.28fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.35rem 1rem;
}

.store-admin-search {
  min-width: 0;
}

.store-admin-filter {
  min-height: 48px;
  border-radius: 16px;
  border-color: rgba(86,101,111,0.18);
}

.store-admin-counter {
  color: #687781;
  white-space: nowrap;
}

.store-admin-counter strong {
  color: #173d33;
  font-size: 1.15rem;
}

.store-admin-list {
  display: grid;
  gap: 0.65rem;
}

.store-admin-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.05fr) minmax(260px, 1.2fr) minmax(130px, 0.55fr) auto minmax(250px, auto);
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(23,34,44,0.07);
  border-radius: 20px;
  background: rgba(248,250,250,0.88);
}

.store-admin-row__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.store-admin-row__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  width: 50px;
  height: 46px;
  padding: 0.45rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(23,34,44,0.07);
}

.store-admin-row__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.store-admin-row h2 {
  margin: 0;
  color: #17222c;
  font-size: 0.98rem;
}

.store-admin-row__brand p,
.store-admin-row__contact p {
  margin: 0.2rem 0 0;
  color: #71808a;
  font-size: 0.82rem;
}

.store-admin-row__contact span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #33434e;
  font-size: 0.86rem;
}

.store-admin-row__contact i {
  color: #0e7d70;
}

.store-admin-row__phone small,
.store-admin-row__phone strong {
  display: block;
}

.store-admin-row__phone small {
  color: #7a8891;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-admin-row__phone strong {
  margin-top: 0.1rem;
  color: #263641;
  font-size: 0.9rem;
}

.store-admin-status {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-admin-status--active {
  color: #087454;
  background: #ddf3e9;
}

.store-admin-status--inactive {
  color: #8a5960;
  background: #f2e5e7;
}

.store-admin-row__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}

.store-admin-row__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.store-form {
  max-width: 1040px;
}

.store-form__status {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.store-form__status small {
  display: block;
  margin-top: 0.55rem;
  line-height: 1.45;
}

@media only screen and (max-width: 1180px) {
  .store-admin-row {
    grid-template-columns: minmax(220px, 1fr) minmax(230px, 1fr) auto;
  }

  .store-admin-row__phone {
    grid-column: 1;
    padding-left: 62px;
  }

  .store-admin-status {
    justify-self: start;
  }

  .store-admin-row__actions {
    grid-column: 2 / 4;
  }
}

@media only screen and (min-width: 1000px) and (max-height: 800px) {
  .stores-public-shell {
    padding-top: 1.5rem;
  }

  .stores-public-hero {
    margin-bottom: 1.5rem;
  }

  .stores-public-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.7rem);
  }

  .stores-public-search {
    min-height: 56px;
  }

  .store-card {
    min-height: 215px;
  }
}

@media only screen and (max-width: 900px) {
  .stores-brand__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .store-admin-search {
    grid-column: 1 / -1;
  }

  .store-admin-row {
    grid-template-columns: 1fr auto;
  }

  .store-admin-row__contact,
  .store-admin-row__phone,
  .store-admin-row__actions {
    grid-column: 1 / -1;
  }

  .store-admin-row__phone {
    padding-left: 0;
  }

  .store-admin-row__actions {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 620px) {
  .public-preview-pill--stores span {
    display: none;
  }

  .public-preview-pill--stores {
    width: 42px;
    min-width: 42px;
    padding-inline: 0;
  }

  .stores-public-shell {
    width: min(100% - 1rem, 1160px);
    padding-top: 1.35rem;
  }

  .stores-public-hero h1 {
    font-size: 2.55rem;
  }

  .stores-public-hero > p {
    font-size: 0.94rem;
  }

  .stores-public-search {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 56px;
    border-radius: 18px;
  }

  .stores-public-search__count {
    display: none;
  }

  .stores-brand {
    border-radius: 22px;
    padding: 0.85rem;
  }

  .stores-brand__heading {
    align-items: flex-start;
  }

  .stores-brand__logo {
    width: 52px;
    height: 48px;
  }

  .stores-brand__grid {
    grid-template-columns: 1fr;
  }

  .store-card {
    min-height: 0;
    border-radius: 19px;
  }

  .store-card__phone {
    min-height: 56px;
  }

  .store-admin-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .store-admin-heading__cta {
    width: 100%;
    justify-content: center;
  }

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

  .store-admin-search {
    grid-column: auto;
  }

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

  .store-admin-status {
    justify-self: start;
  }

  .store-admin-row__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-admin-row__actions .btn {
    width: 100%;
  }

  .store-admin-row__actions .btn span {
    display: none;
  }
}

.public-preview-pill--login {
  appearance: none;
  min-width: 104px;
  border-width: 1px;
  cursor: pointer;
}

.public-preview-pill--login i,
.public-preview-pill--panel i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0 !important;
  border-radius: 999px;
  background: transparent;
  color: #0b5e53;
  font-size: 0.92rem;
}

.public-preview-pill--login:hover,
.public-preview-pill--panel:hover {
  border-color: rgba(8, 117, 103, 0.34);
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.92), transparent 28%),
    linear-gradient(135deg, rgba(204, 249, 241, 1), rgba(141, 221, 212, 0.98));
}

.public-preview-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.4rem, 2vw, 4.75rem) 0 7rem;
}

.public-preview-hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  max-width: 830px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.3rem);
  text-align: center;
}

.public-list-hero {
  width: min(860px, calc(100% - 2rem));
  margin-top: clamp(1.3rem, 2.5vw, 2rem);
  margin-bottom: 0.85rem;
}

.public-home-preview .directory-tab-pane {
  padding-top: 0 !important;
}

.public-list-hero h1 {
  font-size: clamp(2.15rem, 3vw, 3.35rem);
}

.public-list-hero .public-preview-search {
  margin-top: 0.2rem;
}

.public-preview-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(3, 207, 177, 0.12);
  color: #087567;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-preview-hero h1 {
  margin: 0;
  color: #101923;
  font-size: clamp(2.35rem, 3vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.public-preview-hero p {
  max-width: 620px;
  margin: 0;
  color: #51606c;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
}

.public-preview-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(620px, 100%);
  min-height: 58px;
  margin-top: 0.55rem;
  padding: 0 1.15rem;
  border: 1px solid rgba(3, 207, 177, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 252, 0.94));
  box-shadow:
    0 22px 48px rgba(20, 33, 43, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.public-preview-search i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(3, 207, 177, 0.13);
  color: #087567;
}

.public-preview-search .form-control {
  height: auto;
  min-height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.public-home-preview #search-input {
  z-index: auto;
  max-width: none;
}

.public-home-preview #overlay {
  display: none !important;
}

.public-home-preview #resultado-busca.public-preview-results {
  position: absolute !important;
  top: calc(100% + 0.62rem) !important;
  left: 50% !important;
  z-index: 1058 !important;
  width: min(620px, calc(100vw - 2rem)) !important;
  max-width: min(620px, calc(100vw - 2rem)) !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0.45rem !important;
  overflow: visible !important;
  transform: translateX(-50%);
  text-align: left !important;
  background: rgba(255, 255, 255, 0.98) !important;
  background-image: none !important;
  border: 1px solid rgba(8, 117, 103, 0.18) !important;
  border-radius: 28px !important;
  box-shadow:
    0 26px 62px rgba(20, 33, 43, 0.16),
    0 6px 18px rgba(8, 117, 103, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(18px);
}

.public-home-preview #resultado-busca.public-preview-results::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(8, 117, 103, 0.18);
  border-top: 1px solid rgba(8, 117, 103, 0.18);
  transform: translateX(-50%) rotate(45deg);
}

.public-home-preview .public-search-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.72rem 0.85rem 0.55rem;
  border-bottom: 1px solid rgba(20, 33, 43, 0.07);
  background: transparent;
}

.public-home-preview .public-search-results__head span {
  flex: 1 1 auto;
  margin: 0;
  color: #23313c;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.public-home-preview .public-search-results__head small {
  display: inline-flex;
  max-width: 210px;
  overflow: hidden;
  color: #788691;
  font-size: 0.76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home-preview .public-search-results__head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  border-radius: 999px;
  background: rgba(3, 207, 177, 0.14);
  color: #087567;
  font-size: 0.85rem;
}

.public-home-preview .public-search-results__list {
  display: grid;
  max-height: min(312px, calc(100vh - 280px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.public-home-preview .public-search-results__list::-webkit-scrollbar {
  display: none;
}

.public-home-preview .public-search-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(112px, auto);
  align-items: center;
  gap: 0.75rem;
  min-height: 66px;
  padding: 0.72rem 0.85rem;
  color: #17222c;
  text-decoration: none;
  border-radius: 20px;
  border-bottom: 0;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.public-home-preview .public-search-result + .public-search-result {
  margin-top: 0.18rem;
}

.public-home-preview .public-search-result:hover {
  color: #17222c;
  background: linear-gradient(90deg, rgba(3, 207, 177, 0.1), rgba(20, 33, 43, 0.025));
  box-shadow: inset 3px 0 0 rgba(8, 117, 103, 0.65);
}

.public-home-preview .public-search-result__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 36px;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: #143d35;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.public-home-preview .public-search-result__body {
  min-width: 0;
}

.public-home-preview .public-search-result__body strong,
.public-home-preview .public-search-result__body small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home-preview .public-search-result__body strong {
  color: #17222c;
  font-size: 0.98rem;
}

.public-home-preview .public-search-result__body small {
  margin-top: 0.18rem;
  color: #65737d;
  font-size: 0.82rem;
}

.public-home-preview .public-search-result__company {
  justify-self: end;
  max-width: 160px;
  overflow: hidden;
  color: #4f5f6b;
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-home-preview .public-search-empty {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.25rem;
  color: #64727d;
  text-align: center;
}

.public-home-preview .public-search-empty i {
  color: #0e7d70;
  font-size: 1.35rem;
}

.public-home-preview .public-search-empty strong {
  color: #17222c;
}

.public-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: stretch;
}

.public-preview-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(150px, 1fr) auto;
  align-items: center;
  justify-items: center;
  min-height: 238px;
  padding: 1.15rem;
  border-radius: 30px;
  border: 1px solid rgba(20, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #14212b;
  text-decoration: none;
  box-shadow: 0 24px 55px rgba(20, 33, 43, 0.1);
  overflow: hidden;
  animation: publicCardIn 0.52s ease both;
  animation-delay: var(--card-delay, 0ms);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.public-preview-card::before {
  content: "";
  position: absolute;
  inset: auto 1.2rem 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--brand-accent, #03cfb1);
  opacity: 0.55;
  transform: scaleX(0.72);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.public-preview-card:hover {
  color: #14212b;
  transform: translateY(-6px);
  border-color: rgba(3, 207, 177, 0.28);
  box-shadow: 0 32px 70px rgba(20, 33, 43, 0.16);
}

.public-preview-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.public-preview-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 158px);
  height: 132px;
}

.public-preview-card__image img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.08);
}

.public-preview-card--uploaded .public-preview-card__image img {
  width: auto;
  height: auto;
}

.public-preview-card__label {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 33, 43, 0.045);
  color: #33414d;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

@keyframes publicCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media only screen and (max-width: 980px) {
  .public-preview-topbar {
    grid-template-columns: auto auto;
  }

  .public-preview-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    width: 100%;
  }

  .public-preview-actions {
    justify-self: end;
  }

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

@media only screen and (min-width: 1000px) and (max-height: 800px) {
  .public-preview-topbar {
    min-height: 56px;
    padding-block: 0.45rem;
  }

  .public-preview-brand img {
    max-height: 34px;
  }

  .public-preview-nav__item {
    width: 46px;
    height: 40px;
  }

  .public-preview-pill {
    min-height: 36px;
    padding: 0.42rem 0.85rem;
    font-size: 0.82rem;
  }

  .public-preview-shell {
    width: min(990px, calc(100% - 2rem));
    padding: 1.35rem 0 3.2rem;
  }

  .public-preview-hero {
    gap: 0.55rem;
    margin-bottom: 1.3rem;
  }

  .public-list-hero {
    margin-top: 0.85rem;
    margin-bottom: 0.65rem;
  }

  .public-list-hero h1 {
    font-size: clamp(2rem, 2.65vw, 2.75rem);
  }

  .public-preview-search {
    min-height: 46px;
    width: min(500px, 100%);
    border-radius: 18px;
  }

  .public-preview-search .form-control {
    min-height: 44px;
  }

  .public-preview-search i {
    width: 30px;
    height: 30px;
  }

  .public-home-preview #resultado-busca.public-preview-results {
    top: calc(100% + 0.55rem) !important;
    width: min(500px, calc(100vw - 2rem)) !important;
    max-width: min(500px, calc(100vw - 2rem)) !important;
  }

  .public-home-preview .public-search-results__head {
    padding: 0.65rem 0.85rem;
  }

  .public-home-preview .public-search-results__list {
    max-height: min(244px, calc(100vh - 245px));
  }

  .public-home-preview .public-search-result {
    padding: 0.6rem 0.85rem;
  }

  .public-preview-grid {
    gap: 0.8rem;
  }

  .public-preview-card {
    min-height: 174px;
    padding: 0.8rem;
    border-radius: 22px;
    grid-template-rows: minmax(100px, 1fr) auto;
  }

  .public-preview-card__image {
    width: min(100%, 122px);
    height: 96px;
  }

  .public-preview-card__label {
    min-height: 28px;
    padding: 0.32rem 0.65rem;
    font-size: 0.78rem;
  }
}

@media only screen and (max-width: 720px) {
  .public-preview-shell {
    width: min(100% - 1rem, 32rem);
    padding-top: 2rem;
  }

  .public-preview-topbar {
    gap: 0.7rem;
    padding-inline: 0.8rem;
  }

  .public-preview-brand img {
    max-width: 112px;
  }

  .public-preview-pill span {
    display: none;
  }

  .public-preview-pill {
    min-width: 42px;
    padding-inline: 0.85rem;
  }

  .public-preview-pill--login {
    min-width: 42px;
  }

  .public-preview-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.15rem);
  }

  .public-list-hero {
    width: min(100% - 1rem, 32rem);
    margin-top: 1.35rem;
  }

  .public-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .public-preview-card {
    min-height: 184px;
    border-radius: 24px;
    padding: 0.9rem;
  }

  .public-preview-card__image {
    width: min(100%, 128px);
    height: 112px;
  }

  .public-home-preview #resultado-busca.public-preview-results {
    top: calc(100% + 0.55rem) !important;
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    padding: 0.35rem !important;
    border-radius: 22px !important;
  }

  .public-home-preview .public-search-results__head {
    align-items: flex-start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.65rem 0.7rem 0.48rem;
  }

  .public-home-preview .public-search-results__head small {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
  }

  .public-home-preview .public-search-results__head strong {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .public-home-preview .public-search-results__list {
    max-height: min(258px, calc(100vh - 430px));
  }

  .public-home-preview .public-search-result {
    min-height: 72px;
    padding: 0.62rem 0.68rem;
    border-radius: 17px;
  }

  .public-home-preview .public-search-result {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .public-home-preview .public-search-result__company {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
  }

}

@media only screen and (max-width: 420px) {
  .public-preview-grid {
    grid-template-columns: 1fr;
  }
}

.container_esc_nav {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
}

.container_esc_nav .image-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  width: 40px;
  height: 40px;
}
.container_esc_nav .image-nav img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.container-ramais ul li button {
  display: flex;
  justify-content: center;
  align-items: center;
  word-wrap: break-word;
  line-height: 1rem;
  max-width: 150px;
}

.nav-tabs .nav-link {
  font-size: 0.85rem;
  padding: 0.5rem 0.3rem;
  font-weight: bold;
}

.bg {
  background-image: url("../img/hexagon.svg");
  background-size: 100%;
}

.superInfo {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem;
  font-size: 0.9rem !important;
  background-color: #efeeee;
}
.superInfo .title {
  font-size: 1.8rem;
  text-align: center;
  color: #1a1a21;
  line-height: 0px;
  margin: 0;
  padding: 0px;
}

.topbar-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: #17222c;
  background: rgba(23, 34, 44, 0.06);
  border: 1px solid rgba(23, 34, 44, 0.08);
  font-weight: 700;
}

.topbar-shortcut:hover {
  color: #0b2c3b;
  background: rgba(3, 207, 177, 0.12);
}

.topbar-shortcut--panel {
  background: rgba(3, 207, 177, 0.14);
}

.tab-pane {
  font-size: 1rem;
  overflow: auto;
  max-height: 68vh;
  padding: 0rem 1rem 0rem 1rem;
}

.directory-tab-pane[style] {
  background: var(--directory-accent);
}

.tab-vw {
  background-color: #1b6499;
}
.tab-nissan {
  background-color: #b54040;
}
.tab-jkseg {
  background-color: #48d1cc;
}

.tab-suzuki {
  background-image: linear-gradient(to left, #be0000, #b8002f, #e0e0e0, #27217c, #240383);
}

.tab-motors, .tab-omoda, .tab-jaecoo {
  background:    #e0e0e0;
}

.nav-link {
  color: #1a1a21;
  line-height: 0px;
}

#comeriMat {
  padding-top: 0;
}

.tab-pane {
  padding-top: 1rem;
}
.btn-active {
  background-color: #fff;
}

.nav-link:last-child {
  padding-right: 1rem;
}

.logo-emp {
  width: 80px;
}

.shadow {
  box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

#modal {
  animation-name: suave;
  animation-duration: 0.3s;
}

.container-maintenance {
margin-top: 7rem !important;
}

.maintenance-view {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.8rem;
  max-width: 28rem;
  margin: 0 auto;
  background-color: #fff;
  animation-name: suave;
  padding: 1rem;
  animation-duration: 1s;
}

.maintenance-view input {
  min-width: 10rem;
}

.maintenance-result-card {
  width: min(42rem, 100%);
  margin: 1.25rem auto 0;
  padding: 1.1rem 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(23, 34, 44, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px rgba(18, 27, 34, 0.08);
}

.maintenance-result-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.maintenance-result-card__eyebrow {
  display: inline-block;
  margin-bottom: 0.3rem;
  color: #0e7d70;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.maintenance-result-card__header h3 {
  margin: 0;
  color: #17222c;
  font-size: 1.35rem;
}

.maintenance-result-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(17, 70, 95, 0.06);
  color: #173d33;
  text-decoration: none;
  font-weight: 700;
}

.maintenance-result-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.maintenance-result-card__grid div {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(244, 247, 248, 0.92);
}

.maintenance-result-card__grid small {
  color: #6a7882;
  font-size: 0.74rem;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
}

.maintenance-result-card__grid strong {
  color: #17222c;
  font-size: 0.96rem;
  line-height: 1.35;
}

.btn-cadastrar {
  position: absolute;
  right: 0;
}

#editarOp {
  display: none;
}

#modal {
  margin-top: 1rem;
}

.container-footer {
  display: flex;
  border-top: 2px solid #f2f2f2;
  background-color: #1a1a21;
  justify-content: center;
  align-items: center;
  gap: 100px;
}
.container-footer img {
  height: 24px;
}

.container-footer a {
  display: block;
}
.container-footer p {
  color: #bebebe;
  font-family: monospace;
  font-size: 0.75rem;
  padding-top: 14px;
}

.marca {
  width: 40%;
  margin: 4rem;
}

.forgotPassword {
  background-color: #03cfb1;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.marca-forgot {
  position: absolute;
  bottom: -18rem;
  right: 2rem;
  width: 100px;
  z-index: 50000;
}

.footer-password {
  z-index: -1;
}

.marca-grupojk {
  display: flex;
  width: 300px;
  margin: auto;
}
.table-fs {
  font-size: 0.875rem;
}

.op-cad {
  margin: 0;
}

/*bgColor Ã© o bg da view error.ejs*/
.bgColor {
  background-color: #1a1a21;
  color: #008470;
}

#loading {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(26, 26, 33, 0.8) repeat center center;
}

#loading img {
  position: absolute;
  width: 150px;
  top: 50%;
  left: 49%;

  animation-name: rotate-scale-up;
  margin-top: -50px;
  margin-left: -50px;
}

.rotate-scale-up {
  -webkit-animation: rotate-scale-up 0.75s linear both;
  animation: rotate-scale-up 0.75s linear both;
}

@-webkit-keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
    transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(2) rotateZ(180deg);
    transform: scale(2) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
    transform: scale(1) rotateZ(360deg);
  }
}
@keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
    transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(2) rotateZ(180deg);
    transform: scale(2) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
    transform: scale(1) rotateZ(360deg);
  }
}


.return-page {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  min-width: 118px;
  height: 44px;
  color: rgba(26, 26, 33, 0.86);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 34, 44, 0.12);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  margin: 1.25rem 1.5rem 0 auto;
  z-index: 1;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.return-page img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.return-page::after {
  content: "Voltar";
  font-size: 0.94rem;
  line-height: 1;
}

.return-page:hover {
  color: #0b2c3b;
  background: rgba(236, 244, 244, 0.98);
  box-shadow: 0 14px 30px rgba(18, 27, 34, 0.08);
  transform: translateY(-1px);
}

.logoff {
  min-width: 125px;
}

#form-UserPanel {
  margin-top: 1.5rem !important;
}
.role-form {
  padding-top: 0.5rem;
  text-align: center;
}

#submitBtn {
  padding: 0 1.4rem;
}

.unused-ramals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-height: 31rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.unused-board {
  display: grid;
  gap: 1rem;
}

.unused-board__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(23, 34, 44, 0.08);
}

.unused-board__toolbar h2 {
  margin: 0;
  color: #17222c;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.unused-board__toolbar p {
  margin: 0.15rem 0 0;
  color: #5d6b76;
  max-width: 34rem;
  font-size: 0.86rem;
}

.unused-board__filters {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.unused-board__exports {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.28rem;
}

.unused-board__exports .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 0.76rem;
  white-space: nowrap;
}

.unused-board__search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: min(100%, 320px);
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 34, 44, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.unused-board__search i {
  color: #5d6b76;
}

.unused-board__search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #17222c;
}

.unused-board__count {
  display: grid;
  place-items: center;
  min-width: 82px;
  padding: 0.45rem 0.6rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(23, 61, 51, 0.94), rgba(27, 78, 64, 0.98));
  color: #f8fbfb;
}

.unused-board__count span {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.unused-board__count small {
  margin-top: 0.1rem;
  font-size: 0.62rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  text-align: center;
}

.unused-ramal-item {
  display: grid;
  gap: 0.85rem;
  min-height: 148px;
  padding: 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(23, 34, 44, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 248, 0.94));
  box-shadow: 0 14px 34px rgba(18, 27, 34, 0.06);
  text-decoration: none;
  color: #17222c;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.unused-ramal-item:hover {
  transform: translateY(-3px);
  color: #17222c;
  border-color: rgba(3, 207, 177, 0.28);
  box-shadow: 0 22px 40px rgba(18, 27, 34, 0.1);
}

.unused-ramal-item__top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem;
}

.unused-ramal-item__top i {
  color: #6d7b84;
  font-size: 0.95rem;
}

.unused-ramal-item__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 38px;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(17, 70, 95, 0.08);
  color: #184d66;
  font-weight: 800;
  letter-spacing: 0.04rem;
}

.unused-ramal-item__role {
  font-size: 1rem;
  line-height: 1.4;
}

.unused-ramal-item__company {
  color: #5d6b76;
  font-size: 0.93rem;
  line-height: 1.45;
}

.unused-empty {
  display: grid;
  place-items: center;
  gap: 0.45rem;
  padding: 2.4rem 1rem 1.4rem;
  text-align: center;
  color: #5d6b76;
}

.unused-empty i {
  font-size: 1.8rem;
  color: #90a0aa;
}

.unused-empty h3 {
  margin: 0.25rem 0 0;
  color: #17222c;
  font-size: 1.2rem;
}

.unused-empty p {
  margin: 0;
  max-width: 28rem;
}

.btn-large {
  padding: 0.6rem 1.2rem;
  font-size: 1.4rem;
  font-weight: bold;
}

.access-panel {
  width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 8rem;
}

.access {
  margin-top: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 46rem;
  flex-wrap: wrap;
}

a.item-access {
  width: 14rem;
  height: 8rem;
  border: 2px solid #6c757d;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-decoration: none;
  gap: .8rem;
  text-transform: uppercase;
  color: #1a1a21;
  background-color: #6c757d;
  padding: 2rem 0;
}

a.item-access img {
  width: 2.5rem;
  display: block;
}

a.item-access span {
  font-size: 1.1rem;
  font-weight: 600;
}

a.item-access:hover {
  background-color: #aeafad;
  transition: 0.3s;
}

a.item-access:hover {
  transition: 0.3s;
}


.sub-menu-access {
  display: flex;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.sub-menu-access a {
  padding: 0.6rem 1rem;
}

.sub-menu-access a:hover {
  border-radius: 8px;
  background-color: #6c757d;
  transition: 0.5s;
}

.sub-menu-access-item img {
  width: 20px;
  height: 20px;
}

.tracking-in-expand {
  -webkit-animation: tracking-in-expand 1s cubic-bezier(0.215, 0.61, 0.355, 1)
    both;
  animation: tracking-in-expand 1s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.questions {
  max-width: 560px;
}

.questions .card-header {
  background-color: #6c757d;
  border-color: #6c757d;
  text-align: right;
}
.questions button {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: #dddada;
}
.questions button:hover {
  color: #ffffff;
}

.logForm {
  max-width: 46rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  margin: 0 auto;
  text-align: center;
  padding: 0.4rem;
  margin-top: 1rem;
}
.logForm label {
  display: block;
  margin-bottom: 0.3rem;
}

.inputs {
  display: flex;
  justify-content: center;
  align-items: end;
  flex-wrap: nowrap;
  gap: 2rem;
  margin-bottom: 0.7rem;
}

.icon-detail {
  cursor: pointer;
  width: 30px;
}
.table-detail {
  overflow-y: auto;
  max-height: 100px;
}
.bg-detail {
  background-color: #03cfb1;
}

.details-row {
  background-color: #ebeced;
}

.groups {
  margin-top: 2rem;
  background-color: #f2f2f2;
  text-align: center;
  padding: 1.2rem;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.6rem;
  border-radius: 8px;
}

.group-access-item {
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.group-access-item button {
  padding: 0.4rem 0.8rem;
}

.edit-group {
  max-width: 680px;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 1.6rem;
}
.edit-group form input[type="submit"] {
  margin: 0 auto;
  display: block;
}
.edit-group-item {
  display: flex;
  text-align: center;
}
.edit-group-item1 {
  text-align: center;
  flex: 1;
}
.edit-group-item2 {
  flex: 1;
}

/* Scroll Config */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #cfcdcf;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #b1afaf;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(62, 65, 62, 0.5);
}

.emp-mobile {
  display: none;
}

.return-to-home {
  display: none;
  font-size: 1.5em;
  padding: .8rem;
}

@media only screen and (max-width: 1023px) {
  .superInfo h1.title {
    font-size: 1.4rem;
    padding-right: 2rem;
  }

  .tab-pane {
    overflow: auto;
    max-height: 74vh;
  }

  .logo-emp {
    display: none;
  }

  .container-ramais {
    width: 100%;
  }
  .nav-tabs {
    align-items: center;
    flex-wrap: nowrap;
    overflow: scroll;
    min-width: 600px;
  }

  .nav-item:nth-child(6) {
    min-width: 9rem;
  }

  .resultado-busca {
    width: 100%;
    max-height: auto;
    margin: 0 auto;
  }

  .container-footer {
    padding: 0 2rem;
  }
}

@media only screen and (max-width: 560px) {
  .superInfo {
    padding: 0.3rem;
  }

  #search-input::placeholder {
    font-size: 0.9rem;
  }

  .lista-container {
    margin: 0 !important;
  }

  .container_esc {
    padding-bottom: 2rem;
  }

  .bg footer {
    position: static;
    width: 100%;
  }

  .bg .container-footer {
    position: static !important;
    gap: 1rem;
    padding: 0.7rem 1rem;
    flex-wrap: wrap;
  }

  .bg .container-footer p {
    padding-top: 0;
    margin: 0;
    text-align: center;
  }

  h1.title {
    display: none;
  }

  .container_esc_nav {
    display: none;
  }

  .return-to-home {
    display: block;
  }

  .image-wrapper {
    width: 100px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
  }

  .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }

  .image-wrapper--uploaded {
    width: 100px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
  }

  .image-wrapper img.image-wrapper__img--uploaded {
    height: 100%;
    object-fit: contain;
    padding: 0;
    transform: none;
  }

  .image-wrapper--slug-jk img.image-wrapper__img--uploaded {
    padding: 0.2rem 0 0;
    background: #ffffff;
  }

  .image-wrapper--slug-omoda_jaecoo {
    background: #ffffff;
  }

  .image-wrapper--slug-omoda_jaecoo img {
    object-fit: contain;
    background: #ffffff;
    padding: 0.8rem;
  }

  .superInfo h2.title {
    font-size: 1.2rem;
  }

  .resultado-busca {
    width: 100%;
    max-height: auto;
    margin: 0 auto;
  }

  .tab-pane {
    overflow: auto;
    max-height: 60vh;
    padding: 0;
  }

  td {
    vertical-align: middle;
    height: 3.2rem;
  }

  #ramalLocalizado td {
    white-space: nowrap;
  }
  #inputSearch {
    display: none;
  }

  .nav-link {
    flex-direction: column;
    min-height: 90px;
  }

  .nav-item:nth-child(6) {
    min-width: 5rem;
  }

  .container-ramais ul li button {
    width: 96px;
  }
  .nav-link:first-child,
  .nav-link:last-child {
    padding-right: 0;
    margin: 0;
  }

  .nav-tabs .nav-link {
    padding: 0;
  }

  .nav-tabs {
    flex-wrap: nowrap;
    align-items: center;
    overflow: scroll;
    min-width: 100px;
  }

  .table-ramais td:nth-of-type(4),
  .table-ramais th:nth-of-type(4) {
    display: none;
  }

.container-maintenance {
margin-top: 8rem !important;
}

  .maintenance-view {
    display: block;
    text-align: center;
    padding: 1rem 1rem;
    
  }
  .maintenance-view input {
    max-width: 8rem;
    margin: 0 auto;
    margin-bottom: 1rem;
  }

  .container-footer {
    padding: 0 2rem;
  }

  .logoff {
    min-width: 0;
  }

.message {
  position: fixed;
  top: 5rem;
  left: 50%;
  width: 96%;
  transform: translateX(-50%);
  animation-name: none;
}

}

/* Logged-in UI refresh */
.admin-ui .container-maintenance {
  margin-top: 0 !important;
}

.admin-ui .maintenance-view {
  max-width: 42rem;
  padding: 1.1rem;
  border-radius: 24px !important;
  border: 1px solid rgba(23, 34, 44, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(18, 27, 34, 0.08);
}

.admin-ui .maintenance-view input {
  min-width: 14rem;
  height: 3.3rem;
  border-radius: 16px;
  border: 1px solid rgba(86, 101, 111, 0.22);
}

.admin-ui .return-page {
  background: #ffffff;
  border-color: rgba(23, 34, 44, 0.12);
  box-shadow: 0 14px 30px rgba(18, 27, 34, 0.08);
}

.admin-ui .access {
  margin-top: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: start;
  gap: 1.2rem;
}

.admin-ui a.item-access {
  width: 100%;
  min-width: 0;
  height: 9.25rem;
  align-items: start;
  padding: 1.25rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 248, 0.92));
  color: #17222c;
  box-shadow: 0 20px 50px rgba(18, 27, 34, 0.08);
}

.admin-ui a.item-access img {
  width: 1.9rem;
  height: 1.9rem;
  margin: 0 !important;
}

.admin-ui a.item-access .item-access__icon {
  font-size: 1.95rem;
  line-height: 1;
  color: #17222c;
}

.admin-ui a.item-access span {
  margin-top: auto;
  font-size: 0.94rem;
  line-height: 1.3;
  text-align: left;
}

.admin-ui a.item-access:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(230, 244, 241, 0.98));
  box-shadow: 0 24px 55px rgba(18, 27, 34, 0.12);
}

.admin-ui .sub-menu-access {
  gap: 0.42rem;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.admin-ui .sub-menu-access a,
.admin-ui .sub-menu-access button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 44px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 34, 44, 0.08);
  color: #5e6871;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.admin-ui .sub-menu-access a::before,
.admin-ui .sub-menu-access button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.55), transparent 46%),
    linear-gradient(135deg, rgba(3, 207, 177, 0.18), rgba(14, 125, 112, 0.06));
  transition: opacity 0.18s ease;
}

.admin-ui .sub-menu-access a::after,
.admin-ui .sub-menu-access button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #03cfb1;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.4);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-ui .sub-menu-access a:hover,
.admin-ui .sub-menu-access button:hover,
.admin-ui .sub-menu-access button.show,
.admin-ui .sub-menu-access .dropdown:hover > .admin-nav-link,
.admin-ui .sub-menu-access .admin-nav-link--active {
  background: rgba(255, 255, 255, 0.84);
  color: #0b2c3b;
  border-color: rgba(3, 207, 177, 0.34);
  box-shadow:
    0 12px 26px rgba(18, 27, 34, 0.1),
    0 0 0 4px rgba(3, 207, 177, 0.08);
  transform: translateY(-1px);
}

.admin-ui .sub-menu-access a:hover::before,
.admin-ui .sub-menu-access button:hover::before,
.admin-ui .sub-menu-access button.show::before,
.admin-ui .sub-menu-access .dropdown:hover > .admin-nav-link::before,
.admin-ui .sub-menu-access .admin-nav-link--active::before {
  opacity: 1;
}

.admin-ui .sub-menu-access a:hover::after,
.admin-ui .sub-menu-access button:hover::after,
.admin-ui .sub-menu-access button.show::after,
.admin-ui .sub-menu-access .dropdown:hover > .admin-nav-link::after,
.admin-ui .sub-menu-access .admin-nav-link--active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.admin-ui .sub-menu-access .admin-nav-link--active {
  color: #0e7d70;
  background: linear-gradient(180deg, #ffffff, #effdfa);
  border-color: rgba(3, 207, 177, 0.42);
}

.admin-ui .sub-menu-access a i,
.admin-ui .sub-menu-access button i {
  font-size: 1rem;
  color: #17222c;
  transition: color 0.18s ease, transform 0.18s ease;
}

.admin-ui .sub-menu-access a:hover i,
.admin-ui .sub-menu-access .admin-nav-link--active i {
  color: #0e7d70;
  transform: translateY(-1px);
}

.admin-dropdown-nav {
  align-items: center;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(237, 244, 245, 0.72);
  border: 1px solid rgba(23, 34, 44, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.admin-nav-link {
  appearance: none;
  white-space: nowrap;
}

.admin-nav-link--home {
  min-width: 54px !important;
  width: 54px;
  padding-inline: 0 !important;
  font-size: 1rem !important;
}

.admin-dropdown-nav .dropdown {
  position: relative;
}

.admin-dropdown-nav .dropdown:hover > .dropdown-menu,
.admin-dropdown-nav .dropdown:focus-within > .dropdown-menu {
  display: block;
}

.admin-nav-dropdown {
  padding: 0.45rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(18, 27, 34, 0.12);
  margin-top: 0 !important;
  top: 100%;
}

.admin-nav-dropdown .dropdown-item {
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-width: 190px;
  padding: 0.62rem 0.75rem;
  border-radius: 12px;
  background: transparent;
  clip-path: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.operational-dashboard {
  display: grid;
  gap: 0.85rem;
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-topline__title {
  display: grid;
  gap: 0.2rem;
}

.dashboard-topline__title strong {
  color: #17222c;
  font-size: 1.15rem;
  font-weight: 900;
}

.dashboard-greeting {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
  max-width: 34rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(18, 27, 34, 0.06);
  text-align: right;
}

.dashboard-greeting strong {
  color: #17222c;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.2;
}

.dashboard-greeting span {
  color: #53636f;
  font-size: 0.82rem;
  line-height: 1.35;
}

.dashboard-hero__eyebrow,
.dashboard-panel__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0e7d70;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.dashboard-metric-card {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(18, 27, 34, 0.06);
}

.dashboard-metric-card__icon,
.dashboard-action-card__icon,
.dashboard-log-item__icon,
.dashboard-attention-item__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: rgba(23, 34, 44, 0.06);
  color: #17222c;
}

.dashboard-metric-card span {
  display: block;
  color: #667681;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
}

.dashboard-metric-card strong {
  display: block;
  margin-top: 0.15rem;
  color: #17222c;
  font-size: 1.42rem;
  line-height: 1;
}

.dashboard-metric-card small {
  display: block;
  margin-top: 0.3rem;
  color: #65737d;
  font-size: 0.78rem;
  font-weight: 600;
}

.dashboard-metric-card--green .dashboard-metric-card__icon {
  background: rgba(22, 141, 89, 0.13);
  color: #0f7045;
}

.dashboard-metric-card--blue .dashboard-metric-card__icon {
  background: rgba(30, 111, 239, 0.12);
  color: #155dcc;
}

.dashboard-metric-card--navy .dashboard-metric-card__icon {
  background: rgba(27, 44, 74, 0.11);
  color: #1b2c4a;
}

.dashboard-metric-card--amber .dashboard-metric-card__icon {
  background: rgba(245, 158, 11, 0.16);
  color: #a15c00;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 0.75rem;
  align-items: start;
}

.dashboard-panel,
.dashboard-actions {
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(18, 27, 34, 0.07);
}

.dashboard-panel__head,
.dashboard-actions__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.72rem;
}

.dashboard-panel h2,
.dashboard-actions h2 {
  margin: 0.2rem 0 0;
  color: #17222c;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.dashboard-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #8c4d00;
  font-weight: 900;
}

.dashboard-panel__link {
  color: #0e7d70;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-attention-list,
.dashboard-log-list {
  display: grid;
  gap: 0.55rem;
}

.dashboard-attention-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.68rem;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: rgba(255, 249, 237, 0.9);
  color: #17222c;
  text-decoration: none;
}

.dashboard-attention-item:hover {
  color: #17222c;
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.32);
}

.dashboard-attention-item__marker {
  background: rgba(245, 158, 11, 0.18);
  color: #a15c00;
}

.dashboard-attention-item strong,
.dashboard-log-item strong,
.dashboard-action-card strong {
  display: block;
  color: #17222c;
  font-size: 0.95rem;
  line-height: 1.25;
}

.dashboard-attention-item small,
.dashboard-action-card small,
.dashboard-log-item small,
.dashboard-log-item div > span {
  display: block;
  margin-top: 0.18rem;
  color: #62727e;
  font-size: 0.82rem;
  line-height: 1.35;
}

.dashboard-panel__note {
  margin: 0.9rem 0 0;
  color: #667681;
  font-size: 0.86rem;
  line-height: 1.5;
}

.dashboard-log-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  min-height: 64px;
  padding: 0.62rem 0.7rem;
  border-radius: 17px;
  background: rgba(23, 34, 44, 0.035);
}

.dashboard-log-item__icon {
  display: inline-flex;
  align-self: center;
  background: rgba(14, 125, 112, 0.12);
  color: #0e7d70;
  margin-top: 0;
  line-height: 1;
}

.dashboard-log-item__icon i {
  line-height: 1;
}

.dashboard-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.15rem 1rem;
  border-radius: 18px;
  background: rgba(14, 125, 112, 0.06);
  color: #53636f;
  text-align: center;
}

.dashboard-empty-state i {
  color: #168d59;
  font-size: 1.45rem;
}

.dashboard-empty-state strong {
  color: #17222c;
}

.dashboard-empty-state--compact {
  padding-block: 1.35rem;
}

.dashboard-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.dashboard-actions--compact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.dashboard-actions--compact .dashboard-actions__head {
  margin-bottom: 0;
}

.dashboard-actions--compact .dashboard-action-card {
  min-height: 66px;
}

.dashboard-action-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
  min-height: 86px;
  padding: 0.78rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 250, 0.94));
  color: #17222c;
  text-decoration: none;
}

.dashboard-action-card:hover {
  color: #17222c;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(18, 27, 34, 0.1);
}

.dashboard-action-card__icon {
  background: rgba(3, 207, 177, 0.13);
  color: #0e7d70;
}

.admin-ui .logForm {
  max-width: 62rem;
  justify-content: start;
  padding: 1.15rem 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(23, 34, 44, 0.08);
  box-shadow: 0 20px 50px rgba(18, 27, 34, 0.08);
}

.maintenance-lookup {
  display: grid;
  gap: 1rem;
  max-width: 980px;
}

.maintenance-company-card {
  gap: 1rem;
}

.maintenance-company-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.maintenance-global-search {
  display: grid;
  gap: 0.25rem;
  width: min(285px, 100%);
  margin-left: auto;
}

.maintenance-global-search label {
  color: #41515d;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.maintenance-global-search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
}

.maintenance-global-search__row .form-control {
  min-height: 2.25rem !important;
  border-radius: 16px !important;
  font-size: 0.9rem;
  padding-block: 0.35rem !important;
}

.maintenance-global-search__row .btn {
  min-width: auto !important;
  min-height: 2.25rem !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 999px !important;
}

.maintenance-ramal-picker {
  min-height: 0;
}

.maintenance-ramal-picker__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0;
  color: #56656f;
  font-size: 0.86rem;
}

.maintenance-ramal-picker__head strong {
  color: #17222c;
}

.maintenance-ramal-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.65rem;
  max-height: 360px;
  overflow: auto;
  padding-right: 0.25rem;
}

.maintenance-result-card--inline {
  margin-top: 0.8rem;
}

.maintenance-ramal-chip {
  display: grid;
  gap: 0.15rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #17222c;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(18, 27, 34, 0.05);
}

.maintenance-ramal-chip:hover {
  color: #17222c;
  transform: translateY(-2px);
  border-color: rgba(14, 125, 112, 0.25);
  background: rgba(234, 248, 246, 0.92);
}

.maintenance-ramal-chip strong {
  font-size: 1.1rem;
  line-height: 1;
}

.maintenance-ramal-chip span {
  color: #62727e;
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.maintenance-ramal-picker__empty {
  margin-top: 0.85rem;
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(23, 34, 44, 0.04);
  color: #56656f;
  text-align: center;
}

.admin-disabled-action,
.admin-disabled-action:disabled {
  cursor: not-allowed !important;
  opacity: 0.5;
}

.admin-ui .logForm input,
.admin-ui .logForm select {
  min-height: 46px;
  border-radius: 14px;
}

.structure-color-chip {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(23, 34, 44, 0.12);
}

.structures-board {
  display: grid;
  gap: 1.4rem;
}

.structures-board__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem;
}

.structures-board__toolbar > div:first-child {
  flex: 1 1 360px;
  min-width: 0;
}

.structures-board__toolbar h2 {
  margin: 0;
  color: #17222c;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.structures-board__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 420px;
  gap: 0.85rem;
  min-width: 0;
  flex-wrap: wrap;
}

.structures-board__search {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 320px;
  min-width: min(100%, 280px);
  max-width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 34, 44, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.structures-board__search i {
  color: #5d6b76;
}

.structures-board__search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #17222c;
}

.structures-board__cta {
  white-space: nowrap;
  flex: 0 0 auto;
}

.structures-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  max-height: 34rem;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.structure-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(23, 34, 44, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 248, 0.94));
  box-shadow: 0 16px 36px rgba(18, 27, 34, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
  min-height: 280px;
}

.structure-card:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 207, 177, 0.24);
  box-shadow: 0 22px 40px rgba(18, 27, 34, 0.1);
}

.structure-card__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.85rem;
}

.structure-card__identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.structure-card__identity h3 {
  margin: 0;
  color: #17222c;
  font-size: 1.05rem;
}

.structure-card__identity p {
  margin: 0.2rem 0 0;
  color: #6b7a84;
  font-size: 0.88rem;
}

.structure-card__logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 34, 44, 0.08);
  padding: 0.45rem;
}

.structure-card__logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #23495c;
  font-size: 1.1rem;
}

.structure-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04rem;
}

.structure-card__status--active {
  background: rgba(34, 165, 93, 0.12);
  color: #1f7a4c;
}

.structure-card__status--inactive {
  background: rgba(153, 36, 64, 0.12);
  color: #8f2740;
}

.structure-card__body {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.structure-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #5d6b76;
  font-size: 0.9rem;
}

.structure-card__units {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.structure-card__units span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 70, 95, 0.06);
  color: #294e61;
  font-size: 0.82rem;
  font-weight: 600;
}

.structure-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
  margin-top: auto;
}

.structure-card__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.9rem;
}

.structure-card__actions form {
  margin: 0;
}

.structure-card__actions form,
.structure-card__actions a {
  width: 100%;
}

.structures-empty {
  display: grid;
  place-items: center;
  gap: 0.45rem;
  padding: 2.2rem 1rem 1rem;
  text-align: center;
  color: #5d6b76;
}

.structures-empty i {
  font-size: 1.8rem;
  color: #90a0aa;
}

.structures-empty h3 {
  margin: 0.25rem 0 0;
  color: #17222c;
  font-size: 1.2rem;
}

.structures-empty p {
  margin: 0;
  max-width: 28rem;
}

.admin-ui .inputs {
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
}

.admin-ui .details-row {
  background-color: #f4f8f8;
}

.admin-ui .admin-table,
.admin-ui .logForm + .container .table,
.admin-ui .admin-surface .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(17, 70, 95, 0.04);
  --bs-table-hover-bg: rgba(3, 207, 177, 0.08);
  color: #17222c;
}

.admin-ui .admin-table thead th,
.admin-ui .logForm + .container .table thead th,
.admin-ui .admin-surface .table thead th {
  border-bottom-width: 1px;
  border-color: rgba(23, 34, 44, 0.12);
  color: #41515d;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  font-size: 0.78rem;
}

.admin-ui .admin-table-toolbar {
  gap: 1rem;
}

.admin-table-shell {
  max-height: 30rem;
  overflow-y: auto;
  overflow-x: auto;
  border-top: 1px solid rgba(23, 34, 44, 0.06);
}

.admin-table--operators {
  min-width: 920px;
  margin-bottom: 0;
}

.admin-table-shell .admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.admin-table--operators tbody tr {
  height: 3.2rem;
}

.admin-sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.admin-sortable::after {
  content: "â†•";
  display: inline-block;
  margin-left: 0.35rem;
  color: #8a98a3;
  font-size: 0.72rem;
}

.admin-sortable--asc::after {
  content: "â†‘";
  color: #0e7d70;
}

.admin-sortable--desc::after {
  content: "â†“";
  color: #0e7d70;
}

.swal2-popup.admin-confirm {
  border-radius: 24px;
  padding: 1.4rem 1.4rem 1.2rem;
  background: #f8fbfb;
  box-shadow: 0 28px 60px rgba(18, 27, 34, 0.18);
}

.swal2-popup.admin-confirm .swal2-title {
  color: #17222c;
  font-size: 1.45rem;
  font-weight: 700;
}

.swal2-popup.admin-confirm .swal2-html-container {
  color: #5d6b76;
  font-size: 0.98rem;
  line-height: 1.6;
}

.swal2-popup.admin-confirm .swal2-actions {
  gap: 0.7rem;
}

.swal2-popup.admin-confirm .swal2-styled {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  box-shadow: none !important;
}

.swal2-popup.admin-confirm .swal2-confirm {
  background: linear-gradient(135deg, #173d33, #24644f) !important;
}

.swal2-popup.admin-confirm .swal2-cancel {
  background: #e9eff1 !important;
  color: #17222c !important;
}

.admin-status-pill,
.admin-role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04rem;
}

.admin-status-pill--active {
  background: rgba(34, 165, 93, 0.12);
  color: #1f7a4c;
}

.admin-status-pill--inactive {
  background: rgba(153, 36, 64, 0.12);
  color: #8f2740;
}

.admin-role-pill {
  background: rgba(17, 70, 95, 0.08);
  color: #23495c;
}

.admin-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(18, 27, 34, 0.08);
}

.admin-form__section {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(23, 34, 44, 0.08);
}

.admin-form__section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.admin-form__section-head {
  margin-bottom: 1rem;
}

.admin-form__section-head h3 {
  margin: 0;
  color: #17222c;
  font-size: 1rem;
  font-weight: 700;
}

.admin-form__section-head p {
  margin: 0.25rem 0 0;
  color: #6a7882;
  font-size: 0.92rem;
}

.admin-form--wide {
  width: min(880px, 100%);
  margin: 0 auto;
}

.admin-form--narrow {
  width: min(560px, 100%);
  margin: 0 auto;
}

.admin-form__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.admin-field {
  grid-column: span 12;
}

.admin-field--full {
  grid-column: 1 / -1;
}

.admin-field--span-2 {
  grid-column: span 2;
}

.admin-field--span-3 {
  grid-column: span 3;
}

.admin-field--span-4 {
  grid-column: span 4;
}

.admin-field--span-5 {
  grid-column: span 5;
}

.admin-field--span-6 {
  grid-column: span 6;
}

.admin-field--span-8 {
  grid-column: span 8;
}

.admin-field--span-12 {
  grid-column: span 12;
}

.admin-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #41515d;
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-field__hint {
  display: block;
  margin-top: 0.45rem;
  color: #6a7882;
  font-size: 0.86rem;
  line-height: 1.45;
}

.admin-field input,
.admin-field select {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(86, 101, 111, 0.22);
  background-color: rgba(255, 255, 255, 0.98);
}

.admin-field input:focus,
.admin-field select:focus {
  border-color: rgba(3, 207, 177, 0.58);
  box-shadow: 0 0 0 0.2rem rgba(3, 207, 177, 0.16);
}

.system-asset-field {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1rem;
  min-height: 144px;
  padding: 0.9rem;
  border: 1px solid rgba(65, 81, 93, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 250, 0.9));
  box-shadow: 0 10px 28px rgba(18, 27, 34, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.system-asset-field:hover {
  border-color: rgba(8, 117, 103, 0.3);
  transform: translateY(-1px);
}

.system-asset-field--selected {
  border-color: rgba(8, 140, 120, 0.58);
  box-shadow:
    0 0 0 4px rgba(8, 140, 120, 0.09),
    0 14px 32px rgba(18, 27, 34, 0.07);
}

.system-asset-field--compact {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0.8rem;
}

.system-asset-field--compact .system-asset-field__content {
  gap: 0.35rem;
}

.system-asset-field--compact .system-asset-field__button {
  width: 100%;
  padding-inline: 0.65rem;
}

.system-asset-field__preview {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 43, 0.09);
  border-radius: 14px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #edf2f3 25%, transparent 25%),
    linear-gradient(-45deg, #edf2f3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #edf2f3 75%),
    linear-gradient(-45deg, transparent 75%, #edf2f3 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.system-asset-field__preview--favicon {
  min-height: 96px;
}

.system-asset-field__preview img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 92px;
  object-fit: contain;
}

.system-asset-field__preview--favicon img {
  width: 48px;
  height: 48px;
}

.system-asset-field__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
}

.system-asset-field__content strong {
  color: #17222c;
  font-size: 0.94rem;
}

.system-asset-field__content > span,
.system-asset-field__content > small {
  max-width: 100%;
  color: #64727c;
  font-size: 0.78rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.system-asset-field--selected .system-asset-field__content > small {
  color: #087567;
  font-weight: 700;
}

.admin-field .system-asset-field__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(8, 117, 103, 0.24);
  border-radius: 12px;
  color: #0b5e53;
  background: #ecfaf7;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.admin-field .system-asset-field__button:hover {
  color: #064c43;
  border-color: rgba(8, 117, 103, 0.42);
  background: #dff7f2;
}

.system-asset-field:focus-within {
  border-color: rgba(3, 207, 177, 0.68);
  box-shadow: 0 0 0 4px rgba(3, 207, 177, 0.13);
}

.system-asset-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.admin-field--check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: 0.65rem;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-check span {
  margin: 0;
  color: #17222c;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

.admin-check .form-check-input {
  margin: 0;
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  min-height: 0;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(35, 73, 92, 0.14);
  background:
    radial-gradient(circle at 11px 50%, #ffffff 0 6px, transparent 6.5px),
    #cfd8dc;
  background-repeat: no-repeat;
  transition: background-position 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(18, 27, 34, 0.12);
}

.admin-check .form-check-input:focus {
  border-color: rgba(3, 207, 177, 0.52);
  box-shadow: 0 0 0 0.2rem rgba(3, 207, 177, 0.14);
}

.admin-check .form-check-input:checked {
  background:
    radial-gradient(circle at 27px 50%, #ffffff 0 6px, transparent 6.5px),
    #173d33;
  border-color: #173d33;
}

.admin-check .form-check-input:hover {
  border-color: rgba(23, 61, 51, 0.38);
}

.admin-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.admin-crud-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-crud-toolbar h2 {
  margin: 0;
  color: #17222c;
  font-size: 1.15rem;
  font-weight: 700;
}

.admin-crud-toolbar p {
  margin: 0.2rem 0 0;
  color: #6a7882;
  font-size: 0.92rem;
}

.admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-search-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 430px;
  padding: 0.15rem 0.85rem;
  border: 1px solid rgba(86, 101, 111, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #6a7882;
}

.log-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding-top: 0.85rem;
}

.log-pagination span {
  color: #56656f;
  font-size: 0.84rem;
  font-weight: 800;
}

.log-page-btn {
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(23, 34, 44, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #17222c;
  font-weight: 800;
}

.log-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-search-field input {
  width: 100%;
  min-height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
}

.admin-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 2rem 1rem;
  text-align: center;
  color: #667580;
}

.admin-empty-state i {
  font-size: 1.7rem;
  color: #03a98f;
}

.admin-empty-state h3 {
  margin: 0;
  color: #17222c;
  font-size: 1rem;
}

.admin-empty-state p {
  margin: 0;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.admin-crud-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(18, 27, 34, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-crud-card:hover {
  transform: translateY(-2px);
  border-color: rgba(3, 207, 177, 0.22);
  box-shadow: 0 18px 38px rgba(23, 34, 44, 0.12);
}

.admin-crud-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-crud-card__head h3 {
  margin: 0;
  color: #17222c;
  font-size: 1.05rem;
}

.admin-crud-card__meta {
  margin: 0.25rem 0 0;
  color: #6a7882;
  font-size: 0.88rem;
}

.admin-crud-card__body {
  color: #41515d;
  font-size: 0.94rem;
}

.admin-crud-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-choice-list {
  display: grid;
  gap: 0.7rem;
}

.admin-choice-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 16px;
  background: rgba(244, 247, 248, 0.9);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-choice-item:hover,
.admin-choice-item:focus-within {
  border-color: rgba(3, 207, 177, 0.28);
  background: rgba(240, 250, 248, 0.98);
  box-shadow: 0 10px 24px rgba(23, 34, 44, 0.06);
}

.admin-choice-item input {
  margin: 0;
}

.admin-inline-create {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.admin-inline-create .btn {
  min-height: 48px;
}

.admin-field--span-4 .admin-inline-create {
  grid-template-columns: 1fr;
}

.admin-readonly-field {
  background: rgba(23, 34, 44, 0.04) !important;
  color: #56656f;
}

.admin-action-disabled,
.admin-action-disabled:hover,
button:disabled.admin-action-disabled {
  cursor: not-allowed !important;
  opacity: 0.48;
}

.admin-management-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.admin-management-panel {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.admin-inline-form,
.admin-list-row,
.admin-list-row__form {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.admin-inline-form {
  margin-bottom: 1rem;
}

.admin-list-stack {
  display: grid;
  gap: 0.7rem;
  max-height: 560px;
  overflow: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

.admin-reference-search {
  width: 100%;
  min-width: 0;
  margin-bottom: 0.15rem;
}

.admin-list-row {
  justify-content: space-between;
  padding: 0.7rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 18px;
  background: rgba(247, 250, 251, 0.82);
}

.admin-list-row__form {
  flex: 1;
  min-width: 0;
}

.admin-list-row__meta {
  flex: 0 0 auto;
  color: #6a7882;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-permission-list {
  display: grid;
  gap: 0.5rem;
  color: #41515d;
}

.admin-permission-list span {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-permission-list i {
  color: #16875a;
}

.admin-permission-list .is-denied,
.admin-permission-list .is-denied i {
  color: #8f2740;
}

.maintenance-search-card {
  display: grid;
  gap: 1rem;
  width: min(720px, 100%);
  margin: 0 auto;
}

.maintenance-search-card label {
  color: #41515d;
  font-weight: 700;
}

.admin-ui footer {
  position: static;
  width: 100%;
  margin-top: 2rem;
}

.admin-ui .container-footer {
  position: static !important;
}

.structure-upload {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.structure-upload input[type="file"] {
  display: none;
}

.structure-upload__button {
  white-space: nowrap;
}

.structure-preview {
  margin-top: 0.8rem;
  border: 1px solid rgba(23, 34, 44, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.75rem;
}

.structure-preview img {
  display: block;
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  border-radius: 12px;
}

.structure-preview--nav img {
  max-width: 92px;
  max-height: 92px;
}

.structure-color-field {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0.75rem;
  align-items: center;
}

.structure-help-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(17, 70, 95, 0.05);
  color: #41515d;
  border: 1px solid rgba(17, 70, 95, 0.08);
}

.structure-units-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.structure-units-header p {
  margin: 0;
  color: #5d6b76;
}

.structure-units {
  display: grid;
  gap: 0.75rem;
}

.structure-unit-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 0.75rem;
  padding: 0.8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 34, 44, 0.08);
}

.admin-form .btn {
  min-width: 11rem;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
}

@media only screen and (max-width: 1023px) {
  .admin-topbar,
  .admin-topbar--maintenance {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 1rem 1rem 1.2rem;
  }

  .admin-topbar__meta {
    text-align: left;
  }

  .admin-topbar__actions {
    justify-self: start;
    flex-wrap: wrap;
  }

  .admin-table-toolbar {
    flex-wrap: wrap;
    align-items: stretch !important;
  }

  .admin-ui .access {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .admin-ui .inputs {
    flex-wrap: wrap;
    justify-content: start;
  }

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

  .admin-field--span-2,
  .admin-field--span-3,
  .admin-field--span-4,
  .admin-field--span-5,
  .admin-field--span-6,
  .admin-field--span-8,
  .admin-field--span-12 {
    grid-column: span 6;
  }
}

@media only screen and (max-width: 560px) {
  .admin-topbar,
  .admin-topbar--maintenance {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem 0.7rem;
  }

  .logo-emp {
    display: none;
  }

  .admin-topbar__brand {
    gap: 0;
    align-items: center;
    flex: 1 1 auto;
  }

  .admin-topbar .title {
    font-size: 1.18rem;
    line-height: 1;
  }

  .admin-topbar__eyebrow {
    display: none;
  }

  .admin-topbar__brand-copy {
    width: 100%;
  }

  .admin-topbar__meta {
    display: none;
  }

  .admin-ui .sub-menu-access {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.2rem 0 0.35rem;
    scrollbar-width: thin;
  }

  .admin-ui .sub-menu-access a,
  .admin-ui .sub-menu-access button {
    width: auto;
    min-width: 112px;
    height: 42px;
    padding: 0 0.95rem;
  }

  .admin-ui .admin-nav-link span {
    display: inline;
  }

  .admin-topbar__actions {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
  }

  .admin-mobile-back,
  .admin-shortcut,
  .admin-logout {
    width: auto;
    min-height: 42px;
    justify-content: center;
    padding: 0.65rem;
  }

  .admin-mobile-back {
    display: inline-flex;
  }

  .admin-shortcut,
  .admin-shortcut--ghost {
    display: none;
  }

  .admin-mobile-back span,
  .admin-logout span {
    display: none;
  }

  .admin-workspace {
    width: min(100%, calc(100% - 1rem));
    padding-top: 0.8rem;
    padding-bottom: 2rem;
  }

  .admin-section-heading {
    margin-bottom: 0.9rem;
  }

  .admin-dashboard .admin-section-heading h1 {
    display: none;
  }

  .admin-section-heading h1 {
    font-size: 1.7rem;
  }

  .admin-section-heading__eyebrow,
  .admin-section-heading p {
    display: none;
  }

  .admin-surface {
    padding: 1rem 0.9rem;
    border-radius: 24px;
  }

  .admin-ui .maintenance-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .admin-ui .maintenance-view input {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    text-align: left !important;
  }

  .admin-ui .maintenance-view .btn {
    width: 100%;
  }

  .maintenance-ramal-picker__head {
    flex-direction: column;
    gap: 0.2rem;
  }

  .maintenance-ramal-picker__grid {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .maintenance-company-card__head {
    flex-direction: column;
  }

  .maintenance-global-search {
    width: 100%;
    margin-left: 0;
  }

  .maintenance-global-search label {
    text-align: left;
  }

  .maintenance-result-card {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 22px;
  }

  .maintenance-result-card__header {
    flex-direction: column;
  }

  .maintenance-result-card__action {
    width: 100%;
  }

  .maintenance-result-card__grid {
    grid-template-columns: 1fr;
  }

  .admin-form {
    padding: 1rem;
    border-radius: 22px;
  }

  .admin-form__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .structure-upload,
  .structure-color-field,
  .structure-units-header,
  .structure-unit-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-field,
  .admin-field--span-2,
  .admin-field--span-3,
  .admin-field--span-4,
  .admin-field--span-5,
  .admin-field--span-6,
  .admin-field--span-8,
  .admin-field--span-12,
  .admin-field--full {
    grid-column: 1 / -1;
  }

  .system-asset-field {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .system-asset-field__preview {
    min-height: 110px;
  }

  .admin-field .system-asset-field__button {
    width: 100%;
  }

  .admin-form__actions .btn {
    width: 100%;
  }

  .admin-crud-toolbar,
  .admin-crud-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-toolbar-actions,
  .admin-inline-form,
  .admin-list-row,
  .admin-list-row__form {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-search-field {
    min-width: 0;
    width: 100%;
  }

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

  .admin-crud-toolbar .btn,
  .admin-crud-card__actions .btn {
    width: 100%;
  }

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

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

  .admin-check {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }

  .topbar-shortcut span,
  .admin-shortcut span {
    display: none;
  }

  .admin-ui .access {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .admin-ui a.item-access {
    height: 7.6rem;
    padding: 1rem;
    border-radius: 22px;
  }

  .admin-ui a.item-access span {
    font-size: 0.84rem;
  }

  .admin-surface--operators {
    padding: 1rem 0.85rem;
  }

  .operational-dashboard {
    gap: 0.85rem;
  }

  .dashboard-topline {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-greeting {
    justify-items: start;
    max-width: none;
    text-align: left;
  }

  .dashboard-metrics,
  .dashboard-grid,
  .dashboard-action-grid,
  .dashboard-actions--compact {
    grid-template-columns: 1fr;
  }

  .dashboard-metric-card,
  .dashboard-panel,
  .dashboard-actions {
    border-radius: 22px;
    padding: 0.95rem;
  }

  .dashboard-metric-card {
    align-items: center;
  }

  .dashboard-metric-card strong {
    font-size: 1.65rem;
  }

  .dashboard-panel__head,
  .dashboard-actions__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .dashboard-counter {
    align-self: flex-start;
  }

  .dashboard-attention-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dashboard-attention-item > .fa-arrow-right {
    display: none;
  }

  .dashboard-action-card {
    min-height: auto;
  }

  .admin-table-toolbar {
    flex-direction: column;
    align-items: stretch !important;
  }

  .admin-table-toolbar .btn,
  .admin-table-toolbar a {
    width: 100%;
  }

  .admin-table-shell {
    max-height: none;
    overflow: visible;
    border-top: 0;
  }

  .admin-table--operators {
    min-width: 0;
  }

  .admin-table--operators thead {
    display: none;
  }

  .admin-table--operators,
  .admin-table--operators tbody,
  .admin-table--operators tr,
  .admin-table--operators td {
    display: block;
    width: 100%;
  }

  .admin-table--operators tbody {
    display: grid;
    gap: 0.8rem;
  }

  .admin-table--operators tbody tr {
    height: auto;
    width: 100%;
    max-width: 100%;
    padding: 0.95rem;
    border-radius: 20px;
    border: 1px solid rgba(23, 34, 44, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(18, 27, 34, 0.06);
  }

  .admin-table--operators tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.35rem 0;
    border: 0;
    text-align: right;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .admin-table--operators tbody td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    color: #5d6b76;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    text-align: left;
  }

  .admin-table--operators tbody td.admin-cell-edit {
    padding-top: 0;
    justify-content: flex-start;
  }

  .admin-table--operators tbody td.admin-cell-edit::before {
    display: none;
  }

  .admin-table--operators tbody td.admin-cell-edit a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 193, 7, 0.12);
  }

  .unused-board__toolbar,
  .unused-board__filters {
    flex-direction: column;
    align-items: stretch;
  }

  .unused-board__search {
    min-width: 100%;
  }

  .unused-board__count {
    width: 100%;
  }

  .structures-board__toolbar,
  .structures-board__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .structures-board__cta,
  .structure-card__actions .btn,
  .structure-card__actions form,
  .structure-card__actions button {
    width: 100%;
  }

  .structures-grid {
    grid-template-columns: 1fr;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .structures-board__search {
    min-width: 100%;
  }

  .structure-card__header,
  .structure-card__identity,
  .structure-card__actions {
    align-items: stretch;
  }

  .structure-card__actions {
    grid-template-columns: 1fr;
  }

  .structure-upload__button {
    width: 100%;
  }

  .structure-preview img {
    max-height: 150px;
  }

  .admin-ui .logForm {
    padding: 1rem;
  }

  .admin-ui .inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .admin-ui .inputs > div {
    width: 100%;
  }

  .admin-ui .logForm button {
    width: 100%;
    min-height: 48px;
  }

  .admin-surface--logs {
    padding: 1rem 0.85rem;
  }

  .admin-surface--logs > .row {
    margin: 0;
  }

  .admin-ui .log-mobile-list {
    display: grid;
    width: 100%;
    gap: 0.85rem;
    margin-top: 0.6rem;
  }

  .admin-ui .log-mobile-card {
    padding: 0.95rem;
    border-radius: 20px;
    border: 1px solid rgba(23, 34, 44, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(18, 27, 34, 0.06);
  }

  .admin-ui .log-mobile-card__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.35rem 0;
  }

  .admin-ui .log-mobile-card__label {
    flex: 0 0 42%;
    color: #5d6b76;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    text-align: left;
  }

  .admin-ui .log-mobile-card__value {
    flex: 1 1 auto;
    text-align: right;
    word-break: break-word;
  }

  .admin-ui .log-mobile-card__item--detail {
    align-items: center;
    padding-top: 0.55rem;
  }

  .admin-ui .icon-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-ui .log-mobile-detail-panel {
    width: 100%;
    margin-top: 0.75rem;
  }

  .admin-ui .log-mobile-detail-panel.d-none {
    display: none !important;
  }

  .admin-ui .log-mobile-detail-panel .log-details-pane {
    width: 100%;
    margin: 0;
  }

  .admin-ui .details-row {
    background: transparent;
    display: block;
    width: 100%;
    margin-top: -0.35rem;
    margin-bottom: 0.65rem;
  }

  .admin-ui .details-row td {
    display: block;
    width: 100%;
    padding: 0.2rem 0 0 !important;
    border: 0;
  }

  .log-details-pane {
    padding: 0;
    width: 100%;
    margin: 0;
    overflow: visible;
  }

  .table-detail {
    min-width: 420px;
  }

  .table-detail--mobile {
    min-width: 0;
    width: 100%;
  }

  .table-detail--mobile th,
  .table-detail--mobile td {
    word-break: break-word;
  }

  .admin-ui .log-details-empty {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: #f4f8fb;
    text-align: center;
  }

  .admin-ui .log-mobile-empty-state {
    margin: 0.6rem 0 0;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(23, 34, 44, 0.08);
    box-shadow: 0 18px 42px rgba(18, 27, 34, 0.06);
    text-align: center;
  }

  .return-page {
    display: none !important;
  }

  .admin-ui footer {
    position: static;
    margin-top: auto;
    width: 100%;
  }

  .admin-ui .container-footer {
    position: static !important;
    gap: 1rem;
    padding: 0.7rem 1rem;
    flex-wrap: wrap;
  }

  .admin-ui .container-footer p {
    padding-top: 0;
    margin: 0;
    text-align: center;
  }
}

.smtp-layout {
  display: grid;
  gap: 1.5rem;
}

.smtp-panel {
  width: min(980px, 100%);
  margin: 0 auto;
}

.smtp-helper-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(17, 70, 95, 0.05);
  border: 1px solid rgba(17, 70, 95, 0.08);
  color: #41515d;
}

.smtp-helper-card p {
  margin: 0;
  color: #5d6b76;
  line-height: 1.6;
}

.smtp-template-preview {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 248, 0.94));
  border: 1px solid rgba(23, 34, 44, 0.08);
}

.smtp-template-preview--empty {
  text-align: center;
  color: #5d6b76;
}

.smtp-template-preview__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.smtp-template-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 165, 93, 0.12);
  color: #1f7a4c;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04rem;
}

.smtp-template-preview__block {
  display: grid;
  gap: 0.5rem;
}

.smtp-template-preview__block small {
  color: #5d6b76;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

.smtp-template-preview__block p {
  margin: 0;
  color: #17222c;
}

.smtp-template-preview__body {
  display: grid;
  gap: 0.55rem;
  color: #17222c;
  line-height: 1.65;
}

.smtp-token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.smtp-token-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(17, 70, 95, 0.08);
  color: #294e61;
  font-size: 0.8rem;
  font-weight: 700;
}

.smtp-field-textarea textarea,
.admin-field textarea {
  min-height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(86, 101, 111, 0.22);
  background-color: rgba(255, 255, 255, 0.98);
  resize: vertical;
}

.smtp-field-textarea textarea:focus,
.admin-field textarea:focus {
  border-color: rgba(3, 207, 177, 0.58);
  box-shadow: 0 0 0 0.2rem rgba(3, 207, 177, 0.16);
}

.smtp-templates-board {
  width: min(980px, 100%);
  margin: 0 auto;
}

.smtp-templates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.smtp-template-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(23, 34, 44, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 248, 0.94));
  box-shadow: 0 18px 42px rgba(18, 27, 34, 0.06);
}

.smtp-template-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.smtp-template-card__head h3 {
  margin: 0;
  color: #17222c;
  font-size: 1.08rem;
}

.smtp-template-card__head p {
  margin: 0.3rem 0 0;
  color: #5d6b76;
  line-height: 1.45;
}

.smtp-template-card__body {
  display: grid;
  gap: 0.5rem;
  min-height: 160px;
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(244, 247, 248, 0.9);
  color: #17222c;
  line-height: 1.6;
}

.smtp-template-card__actions {
  margin-top: 0;
}

.smtp-toggle-check {
  width: 100%;
}

@media only screen and (max-width: 560px) {
  .smtp-templates-grid {
    grid-template-columns: 1fr;
  }

  .smtp-template-card__head {
    display: grid;
  }
}

.smtp-provider-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.smtp-provider-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 34, 44, 0.08);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.smtp-provider-option input {
  margin-top: 0.15rem;
}

.smtp-provider-option span {
  display: grid;
  gap: 0.25rem;
}

.smtp-provider-option strong {
  color: #17222c;
}

.smtp-provider-option small {
  color: #5d6b76;
  line-height: 1.5;
}

.smtp-provider-option--active {
  border-color: rgba(3, 207, 177, 0.38);
  box-shadow: 0 0 0 0.2rem rgba(3, 207, 177, 0.08);
  background: rgba(240, 252, 249, 0.94);
}

.smtp-provider-panel {
  display: grid;
  gap: 1rem;
}

.smtp-provider-grid {
  margin-top: 0;
}

.smtp-helper-card--highlight {
  background: linear-gradient(135deg, rgba(3, 207, 177, 0.08), rgba(17, 70, 95, 0.08));
  border-color: rgba(3, 207, 177, 0.18);
}

@media only screen and (max-width: 560px) {
  .smtp-provider-switch {
    grid-template-columns: 1fr;
  }
}

.smtp-test-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: end;
}

.smtp-test-actions .btn {
  width: 100%;
}

@media only screen and (max-width: 560px) {
  .smtp-test-actions {
    grid-template-columns: 1fr;
  }
}

.login-modal__logo {
  display: block;
  width: clamp(140px, 45vw, 210px);
  height: auto;
  max-height: 96px;
  object-fit: contain;
}
