/* ==========================================================
   V2X AI Services
   Customer Portal — IA.Box Visual v1
   ========================================================== */

#view-iabox.v2x-iabox-ready {
  padding-top: 4px;
}

.v2xc-intro {
  margin-bottom: 26px;
}

.v2xc-eyebrow {
  display: inline-flex;
  align-items: center;

  margin-bottom: 15px;
  padding: 7px 12px;

  border-radius: 999px;

  background: #edf4ff;
  color: #145dbd;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.v2xc-title {
  margin: 0 0 12px;

  color: #12233b;

  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.v2xc-lead {
  max-width: 960px;

  margin: 0;

  color: #617691;

  font-size: 16px;
  line-height: 1.6;
}


/* Two commercial journeys */

.v2xc-journeys {
  display: grid;

  grid-template-columns:
    minmax(0, 2fr)
    minmax(0, 3fr);

  gap: 20px;

  margin-top: 26px;
}

.v2xc-group {
  padding: 18px;

  border: 1px solid #dce7f5;
  border-radius: 23px;

  background:
    linear-gradient(
      180deg,
      rgba(245,249,255,.98),
      rgba(255,255,255,.98)
    );
}

.v2xc-group--consultive {
  border-color: #e4e1f8;

  background:
    linear-gradient(
      180deg,
      rgba(249,247,255,.98),
      rgba(255,255,255,.98)
    );
}


/* Journey header */

.v2xc-group-head {
  display: flex;
  align-items: center;

  gap: 13px;

  padding:
    2px 2px 17px;
}

.v2xc-group-icon {
  flex: 0 0 45px;

  display: grid;
  place-items: center;

  width: 45px;
  height: 45px;

  border-radius: 13px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #1264e8,
      #2b7bfa
    );

  box-shadow:
    0 8px 22px
    rgba(18,100,232,.20);
}

.v2xc-group--consultive
.v2xc-group-icon {
  background:
    linear-gradient(
      135deg,
      #6655df,
      #7e6ced
    );

  box-shadow:
    0 8px 22px
    rgba(102,85,223,.19);
}

.v2xc-group-icon svg {
  width: 24px;
  height: 24px;
}

.v2xc-group-title {
  margin: 0 0 3px;

  color: #14253e;

  font-size: 18px;
  font-weight: 800;
}

.v2xc-group-copy {
  margin: 0;

  color: #667c97;

  font-size: 13px;
  line-height: 1.4;
}


/* Product grids */

.v2xc-entry-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0,1fr));

  gap: 14px;
}

.v2xc-consultive-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0,1fr));

  gap: 14px;
}


/* Product card */

.v2xc-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 330px;

  padding: 20px;

  border: 1px solid #e3eaf4;
  border-radius: 18px;

  background: #ffffff;

  box-shadow:
    0 9px 26px
    rgba(21,46,89,.055);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.v2xc-card:hover {
  transform: translateY(-3px);

  border-color: #cbdaf0;

  box-shadow:
    0 15px 32px
    rgba(21,46,89,.10);
}

.v2xc-card-icon {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;

  margin-bottom: 14px;

  border-radius: 13px;

  color: #2858a6;
  background: #edf4ff;
}

.v2xc-card--consultive
.v2xc-card-icon {
  color: #6557d8;
  background: #f2efff;
}

.v2xc-card-icon svg {
  width: 24px;
  height: 24px;
}

.v2xc-badge {
  align-self: flex-start;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-bottom: 14px;

  padding: 6px 10px;

  border-radius: 999px;

  background: #edf4ff;
  color: #1260c9;

  font-size: 10px;
  font-weight: 800;
}

.v2xc-badge::before {
  content: "";

  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: currentColor;
}

.v2xc-card--consultive
.v2xc-badge {
  background: #f2efff;
  color: #6758da;
}

.v2xc-card-title {
  margin: 0 0 10px;

  color: #11223a;

  font-size: 18px;
  font-weight: 800;
}

.v2xc-card-copy {
  margin: 0 0 10px;

  color: #5e7490;

  font-size: 14px;
  line-height: 1.5;
}

.v2xc-card-spec {
  margin: 0;

  color: #7588a0;

  font-size: 12px;
  line-height: 1.55;
}

.v2xc-card-footer {
  margin-top: auto;
  padding-top: 17px;

  border-top: 1px solid #edf1f6;
}

.v2xc-cta {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 45px;

  padding: 10px 12px;

  border: 0;
  border-radius: 10px;

  cursor: pointer;

  color: #ffffff;

  font-family: inherit;
  font-size: 13px;
  font-weight: 800;

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.v2xc-cta:hover {
  transform: translateY(-1px);
}

.v2xc-cta--kickstart {
  background:
    linear-gradient(
      135deg,
      #075fe3,
      #0871ed
    );

  box-shadow:
    0 8px 18px
    rgba(7,95,227,.19);
}

.v2xc-cta--consultive {
  background:
    linear-gradient(
      135deg,
      #5547d9,
      #6957e7
    );

  box-shadow:
    0 8px 18px
    rgba(85,71,217,.18);
}


/* Requests */

.v2xc-requests {
  margin-top: 28px;

  padding: 22px;

  border: 1px solid #e3ebf5;
  border-radius: 20px;

  background: #ffffff;
}

.v2xc-requests h3 {
  margin: 0 0 14px;

  color: #18365e;

  font-size: 17px;
  font-weight: 800;
}

.v2xc-request {
  padding: 12px 0;

  color: #546d8c;

  border-bottom:
    1px solid #edf1f6;

  font-size: 14px;
}

.v2xc-request:last-child {
  border-bottom: 0;
}


/* Modal */

.v2xc-modal[hidden] {
  display: none !important;
}

.v2xc-modal {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: grid;
  place-items: center;

  padding: 20px;

  background:
    rgba(14,28,48,.58);
}

.v2xc-dialog {
  width: min(680px,96vw);
  max-height: 92vh;

  overflow: auto;

  padding: 26px;

  border-radius: 22px;

  background: #ffffff;
  color: #12233b;

  box-shadow:
    0 24px 70px
    rgba(0,0,0,.22);
}

.v2xc-dialog h3 {
  margin-top: 0;

  font-size: 23px;
  font-weight: 800;
}

.v2xc-form-grid {
  display: grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap: 14px;
}

.v2xc-field {
  display: flex;
  flex-direction: column;

  gap: 6px;

  color: #38516f;

  font-size: 13px;
  font-weight: 700;
}

.v2xc-field input,
.v2xc-field select {
  min-height: 44px;

  padding: 9px 11px;

  border:
    1px solid #cfdaea;

  border-radius: 9px;

  background: #ffffff;
  color: #12233b;

  font: inherit;
  font-weight: 400;
}

.v2xc-full {
  grid-column: 1/-1;
}

.v2xc-result {
  margin-top: 14px;

  padding: 12px;

  border-radius: 10px;

  background: #f3f7fc;

  color: #36506f;
}

.v2xc-form-actions {
  display: flex;
  gap: 9px;

  margin-top: 17px;
}

.v2xc-form-actions button {
  min-height: 42px;

  padding: 9px 15px;

  border-radius: 9px;
  border: 1px solid #d5deeb;

  cursor: pointer;

  background: #ffffff;
  color: #294462;

  font-family: inherit;
  font-weight: 700;
}

#v2xcSubmit {
  border-color: #1264e8;

  background: #1264e8;
  color: #ffffff;
}


/* Responsive */

@media (max-width: 1120px) {
  .v2xc-journeys {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .v2xc-entry-grid,
  .v2xc-consultive-grid,
  .v2xc-form-grid {
    grid-template-columns: 1fr;
  }

  .v2xc-full {
    grid-column: auto;
  }

  .v2xc-card {
    min-height: auto;
  }
}
