/* =============================================================
   Downloads Page V2  —  downloadpage-v2.css
   Loaded exclusively via wso2theme/downloadpage_v2 on
   page--products--downloads.html.twig.
   Bootstrap 5 handles grid/flex layout.
   All design-specific styles use .dlp- prefix.
   ============================================================= */

/* ── Page background ──────────────────────────────────────── */

body {
/* background: #262932;
background: linear-gradient(23deg, rgba(38, 41, 50, 1) 25%, rgba(38, 41, 50, 1) 88%, rgba(11, 23, 51, 1) 100%); */
background-image: linear-gradient(to right top, #0d0d0d, #0d0d0d, #0d0d0d, #0d0d0d, #0d0d0d, #101013, #131318, #15151c, #181a27, #1b1f32, #1c243d, #1b2a49);
}


.dlp {
/* background: #262932;
background: linear-gradient(23deg, rgba(38, 41, 50, 1) 25%, rgba(38, 41, 50, 1) 88%, rgba(11, 23, 51, 1) 100%); */
background-image: linear-gradient(to right top, #0d0d0d, #0d0d0d, #0d0d0d, #0d0d0d, #0d0d0d, #101013, #131318, #15151c, #181a27, #1b1f32, #1c243d, #1b2a49);
}




/* ── Hero ─────────────────────────────────────────────────── */
.dlp-hero {
  /* background: radial-gradient(ellipse 90% 70% at 65% -10%, #3d1500 0%, #1a0800 30%, #0d0d0d 70%); */
  padding-top: 0;
}
.dlp-hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.05;
}

/* ── Nav (dark transparent on downloads page) ─────────────── */
.dlp-navbar { background: transparent !important; }
.dlp-navbar .navbar-brand img { height: 28px; width: auto; }
.dlp-nav-link-item {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.72) !important;
  padding: 8px 14px !important;
  border-radius: 6px;
}
.dlp-nav-link-item:hover { color: #fff !important; }
.dlp-nav-contact {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7) !important;
}
.dlp-nav-contact:hover { color: #fff !important; }
.dlp-nav-user {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
}

/* ── Platform tabs ────────────────────────────────────────── */
.dlp-tabs {
  border-bottom: none;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap !important;
}
.dlp-tabs::-webkit-scrollbar { display: none; }
.dlp-tab {
  display: inline-block;
  padding: 18px auto;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38) !important;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin: 0 38px;
  padding-bottom: 10px;
}
.dlp-tab:hover { color: rgba(255,255,255,0.7); text-decoration: none; }
.dlp-tab.is-active { color: #fff !important; border-bottom-color: #ff6700; }

/* ── Page body ────────────────────────────────────────────── */
.dlp-body {
  /* background: linear-gradient(180deg, #160800 0%, #0d0d0d 10%); */
  background: transparent !;
  padding: 36px 0 80px;
  min-height: 60vh;
}

/* ── SaaS banner ──────────────────────────────────────────── */
.dlp-saas-banner {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 14px 18px;
}
.dlp-saas-banner__icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
}
.dlp-saas-banner__text {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
}
.dlp-saas-banner__btn {
  background: #111;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.14);
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
}
.dlp-saas-banner__btn:hover { background: #222; }

/* ── Divider ──────────────────────────────────────────────── */
.dlp-hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.77);
  margin: 0;
  margin-top: 50px;
}

/* ── Column separator ─────────────────────────────────────── */
@media (min-width: 768px) {
  .dlp-col-left {
    border-right: 1px solid rgba(255,255,255,0.22);
    padding-top: 32px;
    padding-right: 48px !important;
  }
  .dlp-right-col {
    padding-top: 72px !important;
    padding-left: 48px !important;
  }
}
@media (max-width: 767px) {
  .dlp-col-left {
    border-bottom: 1px solid rgba(255,255,255,0.22);
    padding-bottom: 32px;
    margin-bottom: 32px;
    padding-top: 32px;
  }
}

/* ── Package cards ────────────────────────────────────────── */
.dlp-pkg-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
}
.dlp-pkg-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.18s;
  background: #171822;
  min-height: 190px;
}
.dlp-pkg-card:hover { border-color: rgba(255,255,255,0.22); }
.dlp-pkg-card.is-selected { border-color: #ff6700; background-color: #16161f !important; }
.dlp-pkg-card__avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  overflow: hidden;
}
.dlp-pkg-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dlp-sub-item__avatar img,
.dlp-sub-item__avatar svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dlp-pkg-card__title { font-size: 15px; font-weight: 600; color: #fff !important; margin: 0 0 15px; }
.dlp-pkg-card__desc { font-size: 13px; color: #fcffff !important; line-height: 1.55; margin: 0; }
.dlp-pkg-card__radio {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.22);
  margin-top: 2px;
  position: relative;
  transition: border-color 0.18s, background 0.18s;
}
.dlp-pkg-card.is-selected .dlp-pkg-card__radio { border-color: #ff6700; background: #ff6700; }
.dlp-pkg-card.is-selected .dlp-pkg-card__radio::after {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Right panel ──────────────────────────────────────────── */
.dlp-product-title { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 8px; line-height: 1.3; }
.dlp-product-desc { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.65; margin: 0 0 20px; }
.dlp-form-divider { border: none; border-top: 1px solid rgba(129, 129, 129, 0.07); margin: 0 0 18px; }

/* ── OS grid: remove Bootstrap horizontal gutter so checkboxes
   align flush-left with zip/license items below them ───────── */
.dlp .row-cols-2 {
  --bs-gutter-x: 0;
  column-gap: 0;
}
.dlp .row-cols-2 > .col { padding-left: 0 !important; padding-right: 16px !important; }
.dlp .row-cols-2 > .col:nth-child(even) { padding-left: 8px !important; padding-right: 0 !important; }

/* ── OS checkbox items ────────────────────────────────────── */
.dlp-os-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  cursor: pointer;
  margin: 0;
}
.dlp-os-item input[type="checkbox"] {
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
.dlp-os-icon { width: 20px; height: 20px; opacity: 0.72; flex-shrink: 0; filter: brightness(0) invert(1); }

/* ── Form fields ──────────────────────────────────────────── */
.dlp-field-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.48);
  margin-bottom: 6px;
}
.dlp-field-input {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.18s;
}
.dlp-field-input:focus { border-color: rgba(255,103,0,0.55); box-shadow: none; }
.dlp-field-input::placeholder { color: rgba(255,255,255,0.2); }

.dlp-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}
.dlp-check-item input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.dlp-check-item a { color: #ff6700; text-decoration: underline; }

/* ── CTA button ───────────────────────────────────────────── */
.dlp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #FF6700;
  color: #000 !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity 0.18s, transform 0.15s;
}
.dlp-cta-btn:hover {background: #FF6700; color: #fff !important; }

/* ── CTA arrow icon (reuses the sitewide .cSVGarrow component) ── */
.dlp-cta-arrow {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}
.dlp-cta-arrow .cSVGarrow {
  fill: currentColor !important;
  width: 14px !important;
  height: 14px !important;
  transition: transform 0.25s ease;
}
.dlp-cta-btn:hover .dlp-cta-arrow .cSVGarrow,
.dlp-secondary-link:hover .dlp-cta-arrow .cSVGarrow,
.dlp-platform-card__cta:hover .dlp-cta-arrow .cSVGarrow {
  transform: translateX(4px);
}

/* ── Secondary links ──────────────────────────────────────── */
.dlp-secondary-link {
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: underline !important;
  transition: color 0.18s;
}
.dlp-secondary-link:hover { color: rgba(255,255,255,0.75) !important; }
.dlp-secondary-link .dlp-cta-arrow { margin-left: 6px; }

/* ── Accordion ────────────────────────────────────────────── */
.dlp-accordion-item {
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: #171822 !important;
  overflow: hidden;
  transition: border-color 0.18s !important;
}
.dlp-accordion-item:hover {
  border-color: rgba(255,255,255,0.22) !important;
}
.dlp-accordion-item.is-open {
  border-color: #ff6700 !important;
}
.dlp-accordion-item .accordion-button {
  background: transparent !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 28px 28px !important;
}
.dlp-accordion-item .accordion-button::after {
  filter: invert(1);
  opacity: 0.4;
}
.dlp-accordion-item .accordion-button:not(.collapsed)::after { opacity: 0.75; }
.dlp-accordion-item .accordion-button.collapsed { border-bottom: none; }
.dlp-accordion-item .accordion-body {
  background: transparent;
  color: rgba(255,255,255,0.48);
  font-size: 13px;
  line-height: 1.65;
  padding: 28px !important;
}

/* ── Sub-product items ────────────────────────────────────── */
.dlp-sub-item {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  margin-bottom: 10px;
  transition: border-color 0.18s, background 0.18s;
}
.dlp-sub-item:last-child { margin-bottom: 0; }
.dlp-sub-item:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
}
.dlp-sub-item__avatar {
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 0;
  overflow: hidden;
}
.dlp-sub-item__title-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.dlp-sub-item__title { font-size: 13px; font-weight: 600; color: #fff; margin: 0; }
.dlp-sub-item__desc { font-size: 12px; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.55; }
.dlp-info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.dlp-info-icon:hover,
.dlp-info-icon:focus-within {
  background: rgba(255,103,0,0.16);
  border-color: rgba(255,103,0,0.5);
  color: #ff8a3d;
}
.dlp-info-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,103,0,0.25);
}
.dlp-info-icon:hover .dlp-info-tooltip,
.dlp-info-icon:focus-within .dlp-info-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}
.dlp-info-tooltip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) scale(0.96);
  transform-origin: left center;
  width: min(340px, 82vw);
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, #23242e 0%, #17171f 100%);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1.1), visibility 0.2s ease;
  z-index: 30;
  pointer-events: auto;
}
.dlp-info-tooltip::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #1c1d25;
  border-left: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  border-bottom-left-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}
.dlp-info-tooltip .dlp-secondary-link {
  color: #ff6700 !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}
.dlp-info-tooltip .dlp-secondary-link:hover {
  color: #ff8a3d !important;
}

/* Per-tile modifier classes — extend as needed */

/* ── ZIP / CLI ────────────────────────────────────────────── */
.dlp-dl-type-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.32);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.dlp-zip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}
.dlp-zip-item input[type="checkbox"] { cursor: pointer; flex-shrink: 0; }
.dlp-zip-icon { width: 20px; height: 20px; opacity: 0.6; flex-shrink: 0; }

/* ── "Get it now" button ──────────────────────────────────── */
.dlp-get-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ff6700;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 100px;
  text-decoration: none !important;
  transition: opacity 0.18s;
}
.dlp-get-btn:hover { opacity: 0.88; }

/* ── Engineering platform cards ───────────────────────────── */
.dlp-platform-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 18px;
  padding: 32px;
  height: 100%;
  transition: border-color 0.2s, transform 0.15s;
}
.dlp-platform-card:hover { border-color: rgba(255,255,255,0.22) !important; transform: translateY(-2px); }
.dlp-platform-card__title { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.dlp-platform-card__desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; margin: 0 0 auto; }
.dlp-platform-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ff6700;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 100px;
  text-decoration: none !important;
  width: 100%;
  transition: opacity 0.18s;
}
.dlp-platform-card__cta:hover { opacity: 0.88; }

/* ── Custom checkboxes (match .dlp-field-input style) ────── */
.dlp input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid  #bebec1;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  margin: 0;
}
.dlp input[type="checkbox"]:hover { border-color: #ff6700; }
.dlp input[type="checkbox"]:checked {
  background: #ff6700;
  border-color: #ff6700;
}
.dlp input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ── Global text colour ───────────────────────────────────── */
.dlp li, .dlp p, .dlp label, .dlp select { color: #d6d6d6 !important; }
.dlp li, .dlp p {
font-size: 16px !important; 
}


/* ── Inline links ─────────────────────────────────────────── */
.dlp a:not(.dlp-tab):not(.dlp-cta-btn):not(.dlp-secondary-link):not(.dlp-saas-banner__btn):not(.dlp-platform-card__cta) {
  color: #fff !important;
  text-decoration: underline !important;
}


.dlp p.dlp-product-title {
  font-size: 30px !important;
  line-height: 35px !important;
}

.dlp p.dlp-pkg-card__desc {
color: #d6d6d6 !important;
}