@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Light.ttf') format('truetype');
  font-weight: 300;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
}

body,
h1,
p {
  font-family: 'Open Sans', sans-serif;
}


html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}
:root {
  --bs-step-bg: #151a48;
}
.mx-text-color {
  color: #151a48;
}

#content2, #content3,
#title2, #title3,
.btn-split--prev, .btn-split--submit {
  display: none;
}
.bg-header-mx {
  background-color: var(--bs-step-bg);
  color: #ffffff;
}

.bg-gradient {
  background: radial-gradient(circle farthest-corner at 30% 10%, rgba(136, 30, 190, 1) -30%, rgba(22, 0, 88, 1) 80%);
  background-blend-mode: screen, screen, normal;
  background-position: 50%, 50%, 50%;
  background-size: cover, cover, auto;
  background-repeat: no-repeat;
}

.mx-bg {
  position: relative;
  background: var(--mx-bg-url) no-repeat center center;
  background-size: cover;
}
.mx-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Matrix */
  background-color: rgba(21, 26, 72, 0.85);

  z-index: 0;
}
.mx-bg > * {
  position: relative;
  z-index: 1;
}
.mx-main-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mx-card-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;

  /* Matrix */
  background-image: var(--mx-card-main-url);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 20px;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;

  margin-right: 8rem !important;
  margin-left: 8rem !important;
  margin-top: 1rem !important;
  margin-bottom: 1em !important;
}
.mx-card-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.65);
  z-index: 0;
}
.mx-card-main > * {
  position: relative;
  z-index: 1;
}
.form-container {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}
.mx-sidebar {
  color: white;
  padding: 2rem 1rem;
  /* min-width: 220px; */
  min-width: 17vw;
  z-index: 1;
  overflow: hidden;
}
.mx-content-card {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border: none;
  background-color: transparent;
}
.card-body.mx-card-scrollable {
  flex-grow: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 1rem;
  /* padding-bottom: 5rem; */
}
.mx-step-header-mobile {
  justify-content: space-around;
  padding: 0.75rem;

  /* Matrix */
  background-color: #151a48;

  color: white;
  font-weight: bold;
}
.mx-step-header-mobile {
  display: none;
}
.card-bg-step-mobile {
  width: 100vw;
  height: 30vh;
  
  /* Matrix */
  background-color: #151a48;

  z-index: -9999;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}


footer.mx-footer {
  padding: 10px 0;
  text-align: center;
  background: #151a48;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-right: 8rem !important;
  margin-left: 8rem !important;
  
  z-index: 3
}
.footer-text {
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .mx-card-main {
    margin-right: 1rem !important;
    margin-left: 1rem !important;

    margin-top: 0.5rem !important;
    margin-bottom: 0.5em !important;
  }
  .mx-sidebar {
    display: none;
  }
  .mx-step-header-mobile {
    display: flex;
  }
  footer.mx-footer {
    padding: 5px 0;
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }
  .footer-text {
    font-size: 10px;
  }
}

/* Scrollbar Styling */
* {
  scrollbar-width: thin;

  /* Matrix */
  scrollbar-color: #151a48 rgb(255, 255, 255);
}
*::-webkit-scrollbar {
  width: 12px;
}
*::-webkit-scrollbar-track {
  background: rgb(255, 255, 255);
}
*::-webkit-scrollbar-thumb {
  /* Matrix */
  background-color: #151a48;

  border-radius: 20px;
  border: 3px solid rgb(255, 255, 255);
}

/* Language Button */
.mx-lang-btn {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.mx-lang-text {
  /* Matrix */
  background-color: #e4f1fe;
  color: #333;

  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 6px 12px;
}
.mx-lang-flag {
  /* Matrix */
  background-color: #1a1a40;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
}
.mx-lang-flag img {
  width: 20px;
  height: auto;
}

/* Modal Styles */
#languageModal .modal-content {
  border-radius: 20px;
  text-align: center;
}
#languageModal .modal-body img {
  height: auto;
  cursor: pointer;
  margin: 0 12px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, border-color 0.2s;
}
#languageModal .modal-body img:hover {
  transform: scale(1.1);
  border-color: #0d6efd;
}

.mx-step-logo-container {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.mx-step-logo {
  max-width: 10vw;
  margin-bottom: 2rem;
}
.mx-bg-reg {
  position: relative;
  background: var(--mx-bg-reg-url) no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  z-index: auto;
}
.mx-bg-reg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Matrix */
  background-color: rgba(255, 255, 255, 0.2);

  z-index: 0;
}
.mx-corner-image {
  position: absolute;
  bottom: 0;
  right: 0;
  margin-bottom: 2rem;
  max-width: 30vw;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(3px 0 4px white);
}

/* Stepper Wizard */
.stepper {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.step {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.circle {
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.step-text .step-label {
  font-size: 0.75rem;
  color: #ccc;
}
.step-text .step-title {
  font-size: 0.7rem;
  font-weight: bold;
}
@media (min-width: 1388px) {
  .step-text .step-title {
    font-size: 1rem;
  }
}

.step.active .circle {
  /* Matrix */
  background-color: #bee1fd;
  color: #0b0d3a;

  /* border: none; */
  border: 2px solid #151a48;
  transform: scale(1.2);
  box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.navbar-registration {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 1.25rem 0.25rem 1rem;
  background: linear-gradient(to right, #ffffff, #f9fcff);
  
  /* Matrix */
  border-left: 5px solid #0b0d3a;

  border-radius: 0 12px 12px 0;

  /* Matrix */
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.2);

  letter-spacing: 0.5px;
  display: inline-block;
}

/* Button Nav */
.btn-split {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  overflow: hidden;
  transition: background-color 0.2s ease;
}
.btn-split .text {
  padding: 0 1rem 0 0.5rem;
}
.btn-split .icon {
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
}
.btn-split--info {
  /* background-color: #bee1fd; */
  background-color: #ffff;
  color: #151a48;
}
.btn-split--info .icon {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  color: #151a48;
}
.btn-split--info:hover {
  /* background-color: #98c6ec; */
  background-color: #bee1fd;
  color: #151a48;
}

.btn-split--prev {
  background-color: #6C757D;
}
.btn-split--prev .icon {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-split--prev:hover {
  background-color: #5d656b;
  color: white;
}
.btn-split--next {
  /* Matrix */
  background-color: #151a48;
}
.btn-split--next .icon {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-split--next:hover {
  /* Matrix */
  background-color: #0d1134;

  color: white;
}
.btn-split--submit {
  background-color: #009879;
}
.btn-split--submit .icon {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-split--submit:hover {
  background-color: #017961;
  color: white;
}
.btn-split--submit:disabled,
.btn-split--submit.disabled {
  background-color: #66d1bb;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.6;
}
.btn-split--submit:disabled .icon,
.btn-split--submit.disabled .icon {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* Form */
.bg-readonly {
  background-color: rgb(232, 233, 234);
  color: #495057;
  border: 1px solid #ced4da;
  cursor: not-allowed;
  pointer-events: none;
  resize: none;
}
.input-group-text {
  background-color: #E9ECEF;
}
.form-control[type="file"] {
  padding: 1rem 0.75rem;
  height: calc(3.5rem + 2px);
}
.img-preview {
  width: 100%;
  border: 2px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.select2-container .select2-selection--single {
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  height: 100%;
  min-width: 100px;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 0.375rem 0 0 0.375rem;
}
.select2-selection__arrow {
  height: 60px !important;
}
.select2-results__option--highlighted {
  /* Matrix */
  background-color: #151a48 !important;

  color: #fff !important;
  border-radius: 4px;
  font-weight: 500;
}


/* CUSTOM SELECT 2 */
/* Match Bootstrap .form-floating input height */
.select2-container .select2-selection--single {
  height: calc(3.5rem + calc(var(--bs-border-width) * 2));
  min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
  padding: 1rem 0.75rem;
  border: var(--bs-border-width) solid #ced4da; /* same as form-control */
  border-radius: var(--bs-border-radius);
  display: flex;
  align-items: center; /* vertically center text */
  background-color: var(--bs-body-bg);
}
/* The text inside the selection */
.select2-selection__rendered {
  line-height: 1.25;
  padding-left: 0; /* reset because parent has padding */
  color: var(--bs-body-color);
}
/* The arrow on the right side */
.select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 0.75rem;
  display: flex;
  align-items: center;
}
.form-floating .select2-container--default.select2-container .select2-selection--single:has(.select2-selection__rendered:not(:empty)) ~ label {
  color: rgba(var(--bs-body-color-rgb), 0.65);
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Secondary variant background */
.select2-container--default .select2-selection--single.mx-select2-secondary {
  background-color: #e9ecef; /* secondary background */
  color: #495057;
  border-color: #ced4da;
}


/* base for all step contents */
.wizard-fade {
  display: none;               /* hidden by default */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

/* visible state */
.wizard-fade.show {
  opacity: 1;
  transform: translateY(0);
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}



/* ============================= */
/* Desktop (default) styles      */
/* ============================= */

.body-list-group {
  font-size: 10px;
}
#listServices .list-group-item {
    border-left: 4px solid transparent;
    transition: 0.2s;
    padding: 0.5rem 1rem; /* py-2 px-3 */
}
#listServices .list-group-item:hover {
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    cursor: pointer;
}
#listServices .badge {
    font-weight: 600;
    border-radius: 8px;
    font-size: 10px;
    padding: 0.25rem 0.5rem;
}
/* ============================= */
/* Mobile styles (<992px)        */
/* ============================= */
@media (max-width: 991.98px) {
    .body-list-group {
        font-size: 8px;
    }
    #listServices .list-group-item {
        padding: 0.2rem 0.4rem !important;
    }
    #listServices .badge {
        font-size: 7px !important;
        padding: 0.1rem 0.25rem !important;
        border-radius: 4px !important;
    }
    /* ----------------------------
    Make LIST SERVICE 2-COLUMN
    ---------------------------- */
    #listServices .list-group {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    #listServices .list-group-item {
        margin: 0 !important;
        border-left: 3px solid transparent;
        border-radius: 6px;
    }
    #listServices h6 {
        font-size: 10px;
        margin-bottom: 6px;
    }
}

.btn-mx-mobile-price {
    background: #f7f9fc;
    border: 1px solid #d9e2ec;
    color: #334e68;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    transition: all .2s ease;
    height: 24px;
    z-index: 3;
    position: relative;
}
.btn-mx-mobile-price i {
    font-size: 0.75rem;
}
.btn-mx-mobile-price:hover {
    background: #e8eef4;
    border-color: #c0d1df;
}
.btn-mx-mobile-price:active {
    background: #dbe5ed;
}