/* Custom header for the Odoo page: Digi8 logo on the left, Odoo logo on the right. */

.odoo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 48px;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.odoo-header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.odoo-header__logo img {
  display: block;
  width: auto;
  object-fit: contain;
}

.odoo-header__logo--odoo img {
  height: 48px;
}

/* The digi8 logo includes a tagline beneath the wordmark, so a smaller
   overall height is needed for its "digi8" text to read at the same
   visual size as the "odoo" wordmark. */
.odoo-header__logo--digi8 img {
  height: 32px;
}

@media (max-width: 880px) {
  .odoo-header {
    padding: 16px 28px;
  }
}

@media (max-width: 640px) {
  .odoo-header {
    padding: 14px 18px;
    gap: 14px;
  }
  .odoo-header__logo--odoo img {
    height: 32px;
  }
  .odoo-header__logo--digi8 img {
    height: 22px;
  }
}

@media (max-width: 380px) {
  .odoo-header {
    padding: 12px 14px;
    gap: 10px;
  }
  .odoo-header__logo--odoo img {
    height: 26px;
  }
  .odoo-header__logo--digi8 img {
    height: 18px;
  }
}
