:root {
  --imqab-bg-start: #123f7d;
  --imqab-bg-end: #0874d1;
  --imqab-accent: #ffc900;
  --imqab-max: 1500px;
  --imqab-height: 52px;
}

.imqab-bar,
.imqab-bar * {
  box-sizing: border-box;
}

.imqab-bar {
  position: relative;
  z-index: 10020;
  width: 100%;
  min-height: var(--imqab-height);
  border-bottom: 3px solid #20a8ed;
  background:
    radial-gradient(circle at 82% -60%, rgba(255,255,255,.16), transparent 32%),
    linear-gradient(96deg, var(--imqab-bg-start) 0%, var(--imqab-bg-end) 100%);
  color: #fff;
  box-shadow: 0 7px 22px rgba(7, 39, 82, .12);
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.imqab-bar--sticky {
  position: sticky;
  top: 0;
}

.admin-bar .imqab-bar--sticky {
  top: 32px;
}

.imqab-bar__inner {
  width: min(var(--imqab-max), calc(100% - 34px));
  min-height: calc(var(--imqab-height) - 3px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 70px);
}

.imqab-bar__message {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.96);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.imqab-bar__message > span:last-child {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.imqab-bar__message strong {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.imqab-bar__message em {
  color: rgba(255,255,255,.94);
  font-style: normal;
  font-weight: 600;
}

.imqab-bar__dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border: 2px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: var(--imqab-accent);
  box-shadow: 0 0 0 4px rgba(255,201,0,.17);
  animation: imqab-pulse 2.3s ease-in-out infinite;
}

@keyframes imqab-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,201,0,.16); }
  50% { box-shadow: 0 0 0 7px rgba(255,201,0,.05); }
}

.imqab-bar__actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.imqab-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(3, 29, 63, .14);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease;
}

.imqab-button:hover,
.imqab-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 23px rgba(3, 29, 63, .20);
}

.imqab-button:focus-visible {
  outline: 3px solid rgba(255,255,255,.75);
  outline-offset: 2px;
}

.imqab-button--infrastructure {
  border-color: color-mix(in srgb, var(--imqab-accent) 88%, #fff 12%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--imqab-accent) 92%, #fff 8%), var(--imqab-accent));
  color: #102e54 !important;
}

.imqab-button--infrastructure:hover {
  color: #102e54 !important;
  filter: brightness(1.035);
}

.imqab-button--application {
  border-color: rgba(255,255,255,.64);
  background: rgba(255,255,255,.97);
  color: #075cac !important;
}

.imqab-button--application:hover {
  background: #fff;
  color: #064f96 !important;
}

/* Global Header & Footer Pro eklentisiyle birlikte kullanıldığında iki sabit alan üst üste binmez. */
.imqab-sticky-active .imqab-bar ~ .imghf-header.imghf-header--sticky {
  top: var(--imqab-height) !important;
}

.admin-bar.imqab-sticky-active .imqab-bar ~ .imghf-header.imghf-header--sticky {
  top: calc(32px + var(--imqab-height)) !important;
}

@media (max-width: 900px) {
  .imqab-bar__inner {
    justify-content: space-between;
    gap: 14px;
  }

  .imqab-bar__message em {
    display: none;
  }
}

@media (max-width: 782px) {
  :root { --imqab-height: 58px; }

  .admin-bar .imqab-bar--sticky {
    top: 46px;
  }

  .admin-bar.imqab-sticky-active .imqab-bar ~ .imghf-header.imghf-header--sticky {
    top: calc(46px + var(--imqab-height)) !important;
  }

  .imqab-bar__inner {
    width: calc(100% - 20px);
  }

  .imqab-bar__message {
    font-size: 12px;
  }

  .imqab-bar__message strong {
    font-size: 12px;
  }

  .imqab-button {
    min-height: 39px;
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 12px;
  }
}

@media (max-width: 620px) {
  .imqab-bar__message {
    display: none;
  }

  .imqab-bar__actions {
    width: 100%;
    gap: 8px;
  }

  .imqab-button {
    flex: 1 1 50%;
    padding-inline: 9px;
  }
}

@media (max-width: 380px) {
  .imqab-button svg { display: none; }
  .imqab-button { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .imqab-bar__dot { animation: none; }
  .imqab-button { transition: none; }
}
