/* Language selector and logo sizing only. This file intentionally does not change the Fleet theme colors. */
.fleet-auth-logo {
  width: 164px !important;
  height: 164px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 5px !important;
  overflow: hidden;
  border-radius: 50% !important;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.fleet-logo-image {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 50% !important;
  object-fit: contain;
  transform: translate(-1.3%, 1.9%);
  transform-origin: center;
}

.fleet-admin-shell .brand-link {
  min-height: 188px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
}

.fleet-admin-shell .fleet-brand-logo-frame {
  width: 164px !important;
  height: 164px !important;
  max-height: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px 0 0 !important;
  padding: 5px !important;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 50% !important;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
  flex: 0 0 164px;
}

.fleet-language-nav-item {
  display: flex;
  align-items: center;
}

.fleet-language-switcher {
  position: relative;
  z-index: 1080;
}

.fleet-language-switcher--login {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1100;
}

.fleet-language-switcher summary {
  min-width: 78px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(15, 23, 42, .08);
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.fleet-language-switcher summary::-webkit-details-marker { display: none; }
.fleet-language-switcher__chevron { font-size: 10px; }

.fleet-language-switcher__menu {
  width: 184px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.fleet-language-switcher__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 9px;
  color: #334155;
  font-size: 13px;
  text-align: left;
  text-decoration: none !important;
}

.fleet-language-switcher__option:hover,
.fleet-language-switcher__option.is-active {
  background: #eff6ff;
  color: #1d4ed8;
}

.fleet-language-switcher__option .fa-check { margin-left: auto !important; }

.fleet-language-switcher__code {
  min-width: 30px;
  padding: 3px 5px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.fleet-admin-shell .fm-dashboard-stat-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

.fleet-admin-shell .fm-dashboard-stat-link .info-box {
  cursor: pointer;
}

.fleet-admin-shell .fm-dashboard-stat-link:focus {
  outline: none;
}

.fleet-admin-shell .fm-dashboard-stat-link:focus-visible .info-box {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .fleet-language-switcher--login {
    top: 14px;
    right: 14px;
  }
}
