/* Google Fonts Link */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* Resetting default styling and setting font-family */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "ITC Eras", sans-serif;
}

body {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    display: flex;
    background: #cb2b20;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.main-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.main-container > div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.main-container .slider-container {
  overflow: hidden;
}
.wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  max-width: 250px;
  margin: 0 auto;
  flex-direction: column;
}
.login-visual {
  position: relative;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  gap: 45px;
}
.visuals {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.login-visual img {
  max-width: 150px;
  display: block;
  margin: 0 auto;
}
.login-visual .visuals-text {
  max-width: 350px;
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}
.login-visual h1 {
  font-size: 35px;
  text-align: center;
  color: #ee1c24;
}
.visuals-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 25px;
}
.visuals-text ul li {
  position: relative;
}
.visuals-text ul li::before {
  position: absolute;
  top: 0;
  left: -30px;
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("../imgs/check2.svg");
  background-size: cover;
  background-repeat: no-repeat;
  /* margin-right: 10px;
    vertical-align: middle; */
}
.mentions-legales,
.conditions-generales {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}
.mentions-legales a,
.conditions-generales a {
  font-size: 12px;
}
.mentions-legales a {
  color: #ee1c24;
}
.conditions-generales a {
  color: #fff;
}

/* Login form styling */
.main-container .login-form-container {
  background-color: #ee1c24;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.login_form {
  width: 100%;
  max-width: 350px;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 41px 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  flex-basis: 0;
}
.login-popup {
  gap: 30px;
}
.logo-cellcom {
  max-width: 100px;
}
.ok {
  max-width: 100px;
}

.login_form h3 {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #ee3023;
}
.titre h2,
.titre p {
  text-align: center;
  color: #ee3023;
}
.titre h2 {
  font-size: 35px;
  font-weight: 900;
}
.titre p {
  font-size: 18px;
  font-weight: 900;
}
.login_form table {
  /* table-layout: fixed;
    width: 100%; */
  font-size: 18px;
  font-weight: 500;
  color: #565656;
}
.login_form tr > td:first-child {
  text-align: right;
  padding-right: 15px;
}

form .form-inputs {
  width: 100%;
}

form .input_box label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #000;
}

/* Input field styling */
form .input_box input {
  width: 100%;
  height: 42px;
  border: 1px solid #ffe6e4;
  border-radius: 5px;
  outline: none;
  background: #fff;
  font-size: 14px;
  padding: 0px 20px;
  margin-bottom: 5px;
  transition: 0.2s ease;
}

form .input_box input::placeholder {
  color: #aaa;
}

/*form .input_box:last-child input {
  margin-bottom: 0;
}*/

form .input_box input:focus {
  border-color: #ee1c24;
}

form .input_box .password_title {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

form .input_box {
    position: relative;
    margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: #626cd6;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Login button styling */
form button,
.login-validation {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 56px;
  border-radius: 50px;
  border: none;
  outline: none;
  background: #ee3023;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 15px;
  transition: 0.3s ease;
}

form button:hover,
.login-validation:hover {
  text-decoration: none;
  background: #cb2b20;
}

.logos {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.logos img {
  max-width: 32px;
}

/************* Mentions légales & conditions d'utilisation *************/
.main-container .content-container {
  max-width: 780px;
  display: block;
}
.backlink {
  padding: 30px 0;
  width: 100%;
}
.backlink a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}
.backlink a img {
  max-width: 24px;
}

.text-container {
  width: 100%;
  background-color: #fff;
  border-radius: 50px;
  padding: 50px 45px;
}
.text-container h1 {
  color: #ee1c24;
  margin-bottom: 15px;
}
.text-container h2 {
  margin-bottom: 5px;
}
.text-container .text-bloc {
  padding: 15px 0;
}
.text-container .bloc-border {
  border-top: 1px solid;
}
.text-container p {
  margin-bottom: 5px;
}
.text-container p.note {
  background-color: #000;
  color: #ddd;
  padding: 15px;
}
.text-container p.note b {
  color: #eee;
}
.text-container b {
  color: #555;
}
.text-container ul {
  margin: 15px 0;
}
.text-container ul.dots {
  padding-left: 15px;
}
.text-container ol li {
  list-style-type: decimal;
}
.text-container ul.dots li {
  list-style-type: disc;
}

@media (max-width: 1024px) {
  .main-container {
    flex-direction: column-reverse;
    padding: 0;
    gap: 0px;
  }
  .main-container > div > img {
    max-width: 100%;
  }
  .main-container .slider-container {
    overflow: visible;
  }
  .main-container .login-form-container {
    padding: 30px 0 60px;
  }
  .login-visual {
    flex-direction: column;
    align-items: center;
    padding: 50px 15px;
  }
}

@media (max-width: 768px) {
  body {
    min-height: 100vh;
  }
  .main-container {
      height: auto;
  }
  .mobile-slider {
    display: block;
    position: fixed;
    padding: 5px;
    z-index: 2;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-color: #fff;
  }
  .backlink {
    padding-left: 15px;
  }
  .text-container {
    padding: 50px 15px;
  }
  .text-container h1 {
    font-size: 24px;
  }
  .text-container h2 {
    font-size: 18px;
  }
}
