/* 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 */
body[data-path="login"] {
  margin: 0 !important;
  background: #fff !important;
  color: #101b40;
}

/* Sawirka bidix */
body[data-path="login"]::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 60%;
  background:
    linear-gradient(
      180deg,
      rgba(3, 18, 45, .45),
      transparent 60%
    ),
    url("/files/aabow-login.png.png")
      center center / cover no-repeat;
  pointer-events: none;
}

/* Qoraalka sawirka */
body[data-path="login"]::after {
  content: "AABOW BROTHERS\A General Trading Company\A\A Soo dejin iyo qaybin lagu kalsoon yahay.";
  white-space: pre-line;
  position: fixed;
  top: 9%;
  left: 4%;
  width: 51%;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 38px);
  font-weight: 650;
  line-height: 1.5;
  text-shadow: 0 2px 16px #071b50;
  pointer-events: none;
}

/* Foomka midig */
body[data-path="login"] #page-login main.container {
  box-sizing: border-box;
  width: 40% !important;
  max-width: none !important;
  margin: 0 0 0 60% !important;
  padding: 48px clamp(24px, 4vw, 80px) !important;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

body[data-path="login"] .page_content {
  width: 100%;
}

body[data-path="login"] .page-card {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 460px !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-bottom: 24px;
}

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-text {
  color: #101b40;
}

body[data-path="login"] .form-control {
  box-sizing: border-box;
  min-height: 52px !important;
  border: 1px solid #cbd0df !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #101b40 !important;
  font-size: 16px !important;
}

body[data-path="login"] .form-control:focus {
  border-color: #714b75 !important;
  box-shadow: 0 0 0 3px #714b751c !important;
}

body[data-path="login"] button[type="submit"] {
  min-height: 54px;
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(
    120deg, #714b75, #51345e
  ) !important;
  color: #fff !important;
  font-size: 17px;
  font-weight: 650;
}

body[data-path="login"] button[type="submit"]:hover {
  filter: brightness(1.1);
}

body[data-path="login"] .page-card-actions a {
  border-radius: 10px;
}

body[data-path="login"] .page-breadcrumbs,
body[data-path="login"] .page-header-wrapper,
body[data-path="login"] .page-footer {
  display: none !important;
}

/* Telefoonka: sawirka kore, foomka hoose */
@media (max-width: 800px) {
  body[data-path="login"]::before {
    position: absolute;
    width: 100%;
    height: 320px;
    background-position: center 65%;
  }

  body[data-path="login"]::after {
    position: absolute;
    top: 24px;
    left: 6%;
    width: 88%;
    font-size: 22px;
  }

  body[data-path="login"] #page-login main.container {
    width: 100% !important;
    margin: 0 !important;
    padding: 355px 24px 40px !important;
    min-height: 100svh;
    align-items: flex-start;
  }
}
/* 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;
}
