/*
 * Hytrans layout/theme (app pages)
 * ------------------------------
 * This file is intentionally limited to Hytrans-specific components.
 * Frame + bootstrap-like utilities live in hytrans_bootstrap_layout.css.
 */

@import "hytrans_app_hero-oKcce07.css";
@import "hytrans_auth_hero-j_GJ0Jt.css";
@import "hytrans_bottom_nav-lQziGFp.css";

:root {
  --ht-blue-dark: #0f4b8a;
  --ht-muted: #6b7280;

  --ht-radius-lg: 14px;
  --ht-radius-md: 10px;
  --ht-shadow-tile: 0 10px 20px rgba(0,0,0,0.15);
}

/* Keep pages consistent */
.ht-page-content {
  padding-left: 18px;
  padding-right: 18px;
}

/* =============================
   Brand + hero (Dashboard)
   ============================= */
.ht-header {
  position: relative;
  padding: 18px 18px 0;
  min-height: 210px;
}

.ht-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  z-index: 2;
  position: relative;
}

.ht-brand__link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
}

.ht-brand__logo {
  height: 44px;
  width: auto;
  display: block;
}

/* Important: prevent gigantic wordmarks (this broke the header previously) */
.ht-brand__wordmark {
  height: 38px;
  width: auto;
  display: block;
  opacity: 0.9;
}

@media (max-width: 520px) {
  .ht-brand__logo { height: 36px; }
  .ht-brand__wordmark { height: 30px; }
}

.ht-hero {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 420px;
  height: 150px;
  z-index: 1;
}

/* light grey background shape behind image */
.ht-hero__bg {
  position: absolute;
  inset: 0;
  background: #e7e7e7;
  border-radius: 0 0 0 40px;
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 30%);
}

.ht-hero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 0 40px;
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 30%);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

@media (max-width: 960px) {
  .ht-hero { width: 360px; height: 135px; }
}

@media (max-width: 720px) {
  .ht-header { min-height: 190px; }
  .ht-hero { width: 300px; height: 118px; }
}

@media (max-width: 520px) {
  .ht-header { min-height: 165px; }
  .ht-hero { width: 220px; height: 92px; }
  .ht-hero__bg,
  .ht-hero__image {
    border-radius: 0 0 0 28px;
    clip-path: polygon(22% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 36%);
  }
}

/* Generic button used across pages */
.ht-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 22px;
  border: 2px solid var(--ht-red);
  border-radius: 10px;
  background: #fff;
  color: var(--ht-text);
  font-weight: 700;
  text-decoration: none;
}

.ht-cta:focus,
.ht-cta:hover {
  color: var(--ht-text);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* ------------------------------------------------------------
 * Bottom navigation (shared)
 * Spec:
 * - bar: #CCC9C8
 * - active tile: #14539B
 * - icons: FontAwesome (35px), white
 * - labels: Acumin Pro Light 12.5px, white
 * ------------------------------------------------------------ */

/* Bottom navigation moved to hytrans_bottom_nav.css */
