/* AABOW post-login app launcher */
.aabow-launcher {
  --ab-navy: #071b50;
  --ab-purple: #714b75;
  box-sizing: border-box;
  min-height: 75vh;
  padding: 48px 24px 28px;
  color: var(--ab-navy);
  background:
    radial-gradient(circle at 100% 0%, #e2ddf5, transparent 38%),
    radial-gradient(circle at 0% 100%, #e8e2f6, transparent 36%),
    #f5f5fc;
  border-radius: 20px;
}

.aabow-launcher *,
.aabow-launcher *::before,
.aabow-launcher *::after {
  box-sizing: border-box;
}

.aabow-launcher__header {
  text-align: center;
  margin-bottom: 34px;
}

.aabow-launcher__header h1 {
  color: var(--ab-navy);
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 750;
  line-height: 1.25;
  margin: 0 0 16px;
}

.aabow-launcher__accent {
  width: 58px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 8px;
  background: #e31837;
}

.aabow-launcher__subtitle {
  color: #66708b;
  font-size: 18px;
  margin: 0 0 18px;
}

.aabow-launcher__badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  color: #682791;
  background: #e9dcfb;
  font-size: 13px;
  font-weight: 650;
}

.aabow-launcher__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 930px;
  margin: 0 auto;
}

.aabow-launcher__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 28px 28px;
  border: 1px solid #ffffff;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 15px 45px #28215a0d;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.aabow-launcher__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px #28215a18;
}

.aabow-launcher__icon {
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  margin-bottom: 24px;
  border-radius: 32px;
  color: white;
  background: linear-gradient(145deg, #0787ff, #0731a2);
  box-shadow: inset 0 1px 1px #ffffff33;
}

.aabow-launcher__icon--framework {
  background: linear-gradient(145deg, #a967ff, #6540d9);
}

.aabow-launcher__icon svg {
  display: block;
  width: 82px;
  height: 82px;
}

.aabow-launcher__card h2 {
  color: var(--ab-navy);
  margin: 0 0 12px;
  font-size: 29px;
  font-weight: 750;
}

.aabow-launcher__description {
  flex: 1;
  color: #66708b;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.aabow-launcher__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 15px;
  color: white !important;
  background: linear-gradient(110deg, #063ab4, #062778);
  font-size: 17px;
  font-weight: 650;
  text-decoration: none !important;
}

.aabow-launcher__button--framework {
  background: linear-gradient(110deg, #794681, #65386d);
}

.aabow-launcher__button:hover {
  filter: brightness(1.08);
}

.aabow-launcher__button:focus-visible {
  outline: 3px solid #e31837;
  outline-offset: 4px;
}

.aabow-launcher__footer {
  margin: 34px 0 0;
  text-align: center;
  color: #8490aa;
  font-size: 12px;
}

@media (max-width: 640px) {
  .aabow-launcher {
    padding: 30px 14px;
  }

  .aabow-launcher__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .aabow-launcher__card {
    padding: 26px 20px;
  }

  .aabow-launcher__icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
  }

  .aabow-launcher__icon svg {
    width: 62px;
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aabow-launcher__card {
    transition: none;
  }

  .aabow-launcher__card:hover {
    transform: none;
  }
}
/* Theme-ka bogga app launcher-ka oo keliya */
body:has(#aabow-launcher) {
  background: #f3f0fa !important;
}

body:has(#aabow-launcher) .navbar {
  background: #51345e !important;
  border-bottom: 0 !important;
  box-shadow: 0 4px 18px #32203f18;
}

body:has(#aabow-launcher) .navbar .navbar-brand {
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}

body:has(#aabow-launcher) .navbar .icon {
  color: #fff !important;
  stroke: #fff !important;
}

body:has(#aabow-launcher) .navbar .search-bar input {
  background: #fff !important;
  color: #26304a !important;
  border-radius: 10px;
}

body:has(#aabow-launcher) .layout-main-section,
body:has(#aabow-launcher) .page-container,
body:has(#aabow-launcher) .page-body {
  background: transparent !important;
}

/* Dhexda ha la mid noqoto background-ka guud */
#aabow-launcher {
  background: transparent;
  min-height: auto;
  padding: 32px 24px;
}

#aabow-launcher .aabow-launcher__grid {
  max-width: 820px;
  margin-inline: auto;
  gap: 24px;
}

#aabow-launcher .aabow-launcher__card {
  padding: 28px 24px 24px;
}

#aabow-launcher .aabow-launcher__icon {
  width: 110px;
  height: 110px;
  border-radius: 26px;
}

#aabow-launcher .aabow-launcher__icon svg {
  width: 64px;
  height: 64px;
}

#aabow-launcher h1 {
  font-size: clamp(25px, 3vw, 36px);
}

#aabow-launcher .aabow-launcher__card h2 {
  font-size: 25px;
}

@media (max-width: 640px) {
  #aabow-launcher {
    padding: 24px 12px;
  }

  #aabow-launcher .aabow-launcher__grid {
    grid-template-columns: 1fr;
  }
}
body:has(#aabow-launcher) .desktop-navbar {
  background: #51345e !important;
  border-bottom: none !important;
  box-shadow: 0 4px 18px #32203f18;
}

body:has(#aabow-launcher) .desktop-navbar .navbar-home {
  background: #fff;
  padding: 6px 12px;
  border-radius: 10px;
}

body:has(#aabow-launcher) .desktop-navbar .icon {
  color: #fff !important;
  stroke: #fff !important;
}

body:has(#aabow-launcher) .desktop-navbar input {
  background: #fff !important;
  color: #26304a !important;
  border-radius: 10px;
}
/* AABOW — bogga login-ka: product showcase */
body[data-path="login"] {
  margin: 0 !important;
  background: #edf3f9 !important;
  color: #102e4c;
  overflow-x: hidden;
}
body[data-path="login"]::before {
  content: "";
  position: fixed;
  inset: 24px auto 24px 24px;
  width: calc(53% - 24px);
  border-radius: 26px 0 0 26px;
  background-color: #07152f;
  background-image: linear-gradient(115deg, transparent 15%, rgba(255,225,160,.09) 38%, transparent 60%), url("/assets/aabow_theme/images/login-products.webp");
  background-repeat: no-repeat;
  background-size: 240% 100%, auto 100%;
  background-position: 100% 0, center bottom;
  box-shadow: 0 18px 55px #102e4c18;
  pointer-events: none;
  animation: aabow-login-light 12s ease-in-out infinite alternate;
}
body[data-path="login"]::after {
  content: "AABOW BROTHERS\A General Trading Company\A\A Ganacsi hufan. Maamul fudud.";
  white-space: pre-line;
  position: fixed;
  top: clamp(45px, 6vh, 75px);
  left: clamp(45px, 4vw, 85px);
  width: calc(47% - 65px);
  color: #fff;
  font-size: clamp(16px, 1.55vw, 28px);
  font-weight: 650;
  line-height: 1.5;
  text-shadow: 0 2px 15px #07152f;
  pointer-events: none;
}
body[data-path="login"] #page-login main.container {
  box-sizing: border-box;
  width: calc(47% - 24px) !important;
  max-width: none !important;
  margin: 24px 24px 24px 53% !important;
  padding: 44px clamp(24px, 4vw, 82px) !important;
  min-height: calc(100vh - 48px);
  min-height: calc(100svh - 48px);
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 0 26px 26px 0;
  box-shadow: 20px 18px 55px #102e4c0b;
}
body[data-path="login"] .page_content { width: 100%; }
body[data-path="login"] .page-card {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}
body[data-path="login"] .page-card-head {
  margin: 0 auto 28px;
  max-width: 430px;
}
body[data-path="login"] .app-logo {
  width: 190px !important;
  height: auto !important;
  max-height: 85px !important;
  object-fit: contain;
  margin-bottom: 24px;
}
body[data-path="login"] .page-card-head h4,
body[data-path="login"] .page-card-head-text {
  color: #102e4c !important;
  font-weight: 700;
}
body[data-path="login"] .page-card-head h4 { font-size: clamp(24px, 2vw, 34px); }
body[data-path="login"] .page-card-head p { color: #6b7e92; line-height: 1.7; }
body[data-path="login"] .form-group { margin-bottom: 20px; }
body[data-path="login"] .form-control {
  box-sizing: border-box;
  min-height: 54px !important;
  border: 1px solid #d4dfea !important;
  border-radius: 12px !important;
  background: #f9fbfd !important;
  color: #102e4c !important;
  font-size: 16px !important;
  transition: border-color .2s, box-shadow .2s;
}
body[data-path="login"] .form-control:focus {
  border-color: #254d75 !important;
  box-shadow: 0 0 0 3px #254d7518 !important;
  background: #fff !important;
}
body[data-path="login"] button[type="submit"] {
  min-height: 54px;
  border: 0 !important;
  border-left: 4px solid #ed1744 !important;
  border-radius: 12px !important;
  background: linear-gradient(110deg, #173d61, #0a2746) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px #102e4c1a;
  font-size: 16px;
  font-weight: 650;
  transition: filter .2s;
}
body[data-path="login"] button[type="submit"]:hover { filter: brightness(1.12); }
body[data-path="login"] .btn-login-with-email-link {
  min-height: 46px;
  border: 1px solid #d4dfea !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #173d61 !important;
}
body[data-path="login"] .page-card-actions a { border-radius: 10px; color: #254d75; }
body[data-path="login"] :is(button,a):focus-visible { outline: 3px solid #ed1744; outline-offset: 3px; }
body[data-path="login"] .page-breadcrumbs,
body[data-path="login"] .page-header-wrapper,
body[data-path="login"] .page-footer { display: none !important; }
@keyframes aabow-login-light {
  from { background-position: 100% 0, center bottom; }
  to { background-position: 0 0, center bottom; }
}
@media (max-width: 900px) {
  body[data-path="login"]::before { inset: 16px auto 16px 16px; width: calc(48% - 16px); }
  body[data-path="login"]::after { left: 35px; width: calc(43% - 35px); font-size: 18px; }
  body[data-path="login"] #page-login main.container {
    width: calc(52% - 16px) !important;
    margin: 16px 16px 16px 48% !important;
    padding: 32px 24px !important;
    min-height: calc(100svh - 32px);
  }
}
@media (max-width: 650px) {
  body[data-path="login"]::before {
    position: absolute;
    inset: 12px 12px auto;
    width: auto;
    height: 220px;
    border-radius: 20px;
    background-size: 240% 100%, auto 100%;
    background-position: 100% 0, right bottom;
    animation: none;
  }
  body[data-path="login"]::after {
    position: absolute;
    top: 36px;
    left: 30px;
    width: 44%;
    font-size: 14px;
  }
  body[data-path="login"] #page-login main.container {
    width: calc(100% - 24px) !important;
    margin: 244px 12px 12px !important;
    padding: 32px 24px !important;
    min-height: 0;
    border-radius: 20px;
    align-items: flex-start;
  }
  body[data-path="login"] .app-logo { width: 160px !important; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-path="login"]::before { animation: none; }
  body[data-path="login"] .form-control,
  body[data-path="login"] button[type="submit"] { transition: none; }
}

/* Logada AABOW inta nidaamku soo furmayo */
.splash img {
  display: none !important;
}

.splash::before {
  content: "";
  display: block;
  width: min(280px, 75vw);
  height: 100px;
  margin: 0 auto;
  background:
    url("/files/Aabow Brothers wordmark.png")
    center / contain no-repeat;
}
