body {
  font-family: Roboto, sans-serif;
  background-color: #01011c;
}

b {
  font-weight: bold;
}

.loader {
  width: 100%;
  height: 4.8px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.loader::after {
  content: "";
  width: 0%;
  height: 8px;
  background-color: #1c67fa;
  font-size: 15px;
  /* background-image:  linear-gradient(90deg, rgba(255,255,255,1) 5%, rgba(28,103,250,1) 70%); */
  /*background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.25) 75%, transparent 75%, transparent);
  */
  background-size: 1em 1em;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: animFw 40s ease-in infinite forwards, barStripe 1s linear infinite;
}

@keyframes barStripe {
  0% {
    background-position: 1em 0;
  }
  100% {
    background-position: 0 0;
  }
}

@keyframes animFw {
  0% {
    width: 0;
  }
  99% {
    width: 100%;
  }
}

.loader {
  position: fixed;
  top: 0;
}

.backButton {
  background-color: #1c67fa;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.btn.backButton:hover{
  background-color: #1617b9;
  color: #fff;
  border: none;
}
.btn.backButton:active{
  background-color: #5455ef;
  color: #fff;
  border: none;
}


.btn.disabled,
.btn:disabled {
  filter: grayscale(1);
  background-color: #1c67fa;
  border: none;
  opacity: 0.9;
}

@keyframes animloader {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.error-placeholder {
  font-size: 2em;
  padding-top: 30px;
  display: block;
}

.invalid-feedback {
  font-size: 1em;
  margin-top: 0.6em;
  margin-bottom: 0;
  font-weight: 400;
}

.form-control {
  background-color: #ffffffed !important;
  color: #252525 !important;
  border: none;
}

#mainForm select {
  --chevron: url("../images/down-chevron-svgrepo-com.svg");
  appearance: none;
  background: var(--chevron) no-repeat white;
  background-position: 97% center;
  background-size: 1rem;
}

.form-ai-photos {
  padding: 30px;
  width: 100%;
}

.custom-main-wrapper {
  width: 100%;
  background: url("../images/bgPiece.png");
  min-height: 100vh;
  padding-top: 3.75rem;
  padding-left: 6.8125rem; /* TODO: Padding-urile astea incurca mult de tot ca sunt aici si nu pe lista */
  padding-right: 6.8125rem;
  /* padding-bottom: 6.8125rem; */
  position: relative;
}
.custom-content-wrapper {
  padding-bottom: 6.125rem;
}

.custom-gradient-wrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  background: radial-gradient(
    closest-side,
    rgba(13, 28, 105, 0.692) 0%,
    rgba(1, 1, 28, 1) 90%
  );
  z-index: -1;
}

.logo {
  background: url("../images/logo.png") no-repeat center;
  background-size: cover;
  width: 232.21px;
  height: 34.99px;
}

.custom-title-wrapper {
  margin-top: 5.958rem;
  animation: fadeIn ease 1s;
}

.title {
  font-size: 3.33vw;
  font-weight: 600;
  line-height: 3.9vw;
  color: #ffffff;
}

.title span.title-highlight {
  color: #1c67fa;
}

.subtitle {
  font-size: 1.58vw;
  font-weight: 300;
  line-height: 1.86vw;
  margin-left: 5.723rem;
  margin-right: 5.723rem;
  color: #fff;
}

.subtitle-secondary {
  font-size: 1.5em;
  font-weight: 300;
  max-width: 840px;
  margin: 0 auto;
  text-align: justify;
  margin-top: 40px;
}

.custom-cards-wrapper {
  margin-top: 3.89rem;
}

.custom-row {
  width: 100%;
  white-space: nowrap;
  margin-top: 4.31vw;
}

.custom-card {
  animation: fadeIn ease 1s;
  display: inline-block;
  width: 100%;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.custom-card.disabled {
  cursor: pointer;
  filter: grayscale(1);
  pointer-events: none;
}

.card-image {
  width: 100%;
  height: 15.15vw;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background-color: #000000;
  background-image: url("../images/preloader.gif");
  background-size: 10%;
  background-position: center;
  animation: fadeIn ease 1s;
}

.card-content {
  /* TODO: Foloseste si tu parentarea daca tot vrei css */
  background: linear-gradient(
    0deg,
    #ffffff30 0%,
    #190c5da3 56.1%,
    #180c58 100%
  );
  padding: 1.603rem;
  padding-bottom: 1.826rem;
  width: 100%;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  margin-top: -1px;
  backdrop-filter: blur(2px);
}

.card-title {
  font-size: 1.59vw;
  font-weight: 500;
  line-height: 1.86vw;
  color: #fff;
}

.card-info {
  font-size: 1.22vw;
  font-weight: 300;
  line-height: 1.34vw;
  color: #ffffff80;
  max-width: 100%;
  text-wrap: wrap;
  height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1rem;
  margin-top: 0.8rem;
}

.card-button {
  background-color: #1c67fa;
  width: 100%;
  height: 3.65vw;
  border-radius: 37.81px;
  font-size: 1.22vw;
  font-weight: 600;
  line-height: 1.42vw;
  margin-top: 0.97vw;
  color: #fff;
  border: none;
}

.btn.card-button:hover {
  background-color: #1617b9;
  color: #fff;
  border: none;
}

.btn.card-button:active {
  background-color: #5455ef;
  color: #fff;
  border: none;
}

.custom-wrapper {
  margin-top: 5rem;
  margin-left: 3vw;
  margin-right: 3vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  row-gap: 5%;
  padding-bottom: 6.8125rem;
}

h2 {
  text-align: center;
  padding: 20px;
}

.custom-form-wrapper.has-background {
  background-color: rgba(255, 255, 255, 0.226);
}

.custom-form-wrapper {
  animation: fadeIn ease 2s;
  color: #fff;
  margin-top: 2rem;
  padding: 2rem;
  padding-top: 5px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  backdrop-filter: blur(4px);
  border: 2px solid #ffffff0f;
  user-select: none;
}

.custom-form-wrapper iframe {
  animation: fadeIn ease 1s;
  width: 100%;
  height: 450px;
  border: none;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: -6px;
}

.custom-form-wrapper .chat-header {
  display: none !important;
}

.formTitle {
  font-size: 24px;
}

.formSubtitle {
  font-size: 20px;
}

#inputWrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  margin-top: 2rem;
}

.fieldWrapper {
  margin-bottom: 2rem;
  text-align: left;
  width: 100%;
}

.fieldWrapper label {
  display: block;
  color: rgba(255, 255, 255, 0.719);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.fieldTitle {
  font-size: 20px;
  margin-bottom: 0;
  font-weight: bold;
  width: fit-content;
  display: inline;
}

.fieldWrapper input,
.fieldWrapper textarea,
.fieldWrapper select {
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.fieldWrapper textarea {
  resize: none;
}

/* .fieldWrapper select option:checked{
    color:#1c67fa;

} */

.formButton {
  background-color: #1c67fa;
  width: 100%;
  height: 3.65vw;
  border-radius: 37.81px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.42vw;
  margin-top: 0.97vw;
  color: #fff;
  min-height: 3rem;
}

.formButton:hover {
  background-color: #1617b9;
}

.btn.formButton:active {
  background-color: #5455ef;
  border: none;
}

.requiredStar {
  display: inline;
  margin-left: 0.2rem;
  font-size: 20px;
}
.landing-wrapper {
  padding-bottom: 4rem;
}

/* TODO: Ai de lucru la responsive, nu prea se vede */

@media (max-width: 1201px) {
  .custom-wrapper {
    gap: 5%;
  }
}

@media (max-width: 992px) {
  .custom-wrapper {
    margin-top: 3.87rem;
    margin-left: 3vw;
    margin-right: 3vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5%;
  }

  .custom-main-wrapper {
    padding-top: 5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 3.81rem;
  }
  .custom-content-wrapper {
    padding-bottom: 0;
  }
  .custom-gradient-wrapper {
    background: transparent;
  }

  .custom-card {
    max-width: 45vw;
  }

  .custom-title-wrapper {
    margin-top: 4.3rem;
  }

  .logo {
    margin: auto;
  }

  .title {
    font-size: 50.8px;
    line-height: 56px;
  }

  .subtitle {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 1.375rem;
    font-size: 26px;
    line-height: 30px;
  }

  .card-title {
    font-size: 35px;
    line-height: 39px;
  }

  .card-info {
    font-size: 32px;
    line-height: 38px;
    height: auto;
  }

  .card-content {
    padding-bottom: 4rem;
  }

  .card-button {
    font-size: 28px;
    height: 5rem;
    margin-top: 3rem;
  }

  .formButton {
    font-size: 22px;
    height: 3.5rem;
  }

  .card-image {
    background-size: cover;
    height: 31.34vw;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
  .landing-wrapper {
    padding-bottom: 10rem;
  }
}

@media (max-width: 850px) {
  .custom-wrapper {
    margin-top: 3.87rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .custom-card {
    max-width: 100%;
  }

  .custom-main-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
    min-height: 100vh;
  }

  .card-button {
    font-size: 28px;
  }

  .card-content {
    padding-top: 0;
  }

  .card-image {
    height: 62.16vw;
  }
  .card-title {
    padding-top: 1.7rem;
  }
  .title-break {
    display: block;
  }
  .landing-wrapper {
    padding-bottom: 0;
  }
}

@media (max-width: 576px) {
  .custom-main-wrapper {
    padding-left: 0rem;
    padding-right: 0rem;
    min-height: 100vh;
    padding-bottom: 0rem;
  }

  .custom-content-wrapper {
    padding-bottom: 0;
  }
  .response-special-mobile-padding {
    padding-bottom: 4rem;
  }
  .custom-card {
    max-width: 98vw;
  }

  .card-image {
    height: 66.16vw;
  }

  .card-content {
    padding-bottom: 2.25rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    padding-top: 0;
  }

  .title {
    font-size: 33.8px;
    line-height: 39.61px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .subtitle {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 16px;
    line-height: 18.75px;
  }

  .card-title {
    font-size: 25px;
    line-height: 29.3px;
  }

  .card-info {
    font-size: 19.23px;
    line-height: 21.05px;
    height: auto;
  }

  .card-button {
    font-size: 17.59px;
    line-height: 20.61px;
    height: 3.35rem;
    margin-top: 1.4rem;
  }

  .custom-form-wrapper {
    padding-bottom: 4rem;
    border-radius: 0px;
    border: none;
  }
}

/*  Login box */

#login-box {
  padding: 30px 0px;
  animation: fadeIn ease 1s;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  gap: 40px;
  padding-top: 40px;
}

#login-box .btn {
  background: #00000085;
  border: none;
  margin: 5px 10px;
}

#login-box
  .btn:hover
  #login-box
  .btn:active
  #login-box
  .btn:focus
  #login-box
  .btn:active:focus {
  background: #0e0e0e;
}

#login-box .btn i {
  margin: 8px;
}

#login-box .login-button .btn {
  background-image: url("../images/substrat.png");
  background-repeat: no-repeat;
  width: 200px;
  height: 80px;
  padding-top: 1.5rem;
  background-color: transparent;
  position: relative;
  margin-left: 0;
  background-size: 100%;
  padding-left: 0.5rem;
}
#login-box .login-button {
  position: relative;
  width: 200px;
  user-select: none;
}
#login-box .login-button .btn span {
  font-size: 1.5rem;
  font-weight: bold;
}
#login-box .login-button .btn .bi:before {
  font-size: 1.5rem;
  display: inline-block;
}
#login-box p.login-button-deco {
  position: absolute;
  top: -10px;
  left: 25px;
  font-size: 13.4px;
  color: #fff;
  z-index: 30;
}

#login-box .login-button:hover .login-button-deco {
  color: #1c67fa;
  transition: 0.3s color linear;
  -webkit-transition: 0.3s color linear;
  -moz-transition: 0.3s color linear;
  -ms-transition: 0.3s color linear;
  -o-transition: 0.3s color linear;
}

#login-box .login-button:hover .btn {
  background-image: url("../images/sub_hover.png");
  transition: 0.3s background-image linear;
  -webkit-transition: 0.3s background-image linear;
  -moz-transition: 0.3s background-image linear;
  -ms-transition: 0.3s background-image linear;
  -o-transition: 0.3s background-image linear;
}

@media (max-width: 992px) {
  #login-box {
    flex-direction: column;
    gap: 40px;
  }
}
