@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;500;900&display=swap');

:root {
  --base-white: #ffffff;
  --base-text: #99999e;
  --primary-light: #ecfdfe;
  --primary-main: #f07831;
  --primary-dark: #c8672e;
  --primary-forground: rgba(240, 119, 49, 0.7);
}

html,
body {
  text-rendering: geometricPrecision;
  /* overflow: hidden; */
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.main {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.background {
  flex: 0.5;
  background-color: var(--primary-light);
  background-image: url(/img/background.svg);
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  position: relative;
}

.content {
  flex: 0.5;
  display: flex;
  justify-content: center;
}

.container {
  display: flex;
  flex-direction: column;
  width: 500px;
  margin: 0px 20px;
  margin-top: -90px;
  display: flex;
  justify-content: center;
}

.logo {
  align-self: center;
}

h1 {
  text-align: center;
}

label {
  display: block;
  margin-top: 30px;
  font-weight: 500;
}

input {
  display: block;
  width: 100%;
  outline: none;
  border: 0;
  border-bottom: 2px solid var(--base-text);
  font-size: inherit;
  padding: 10px 0px;
}

input[type='checkbox'] {
  display: inline;
  width: auto;
}

input:focus {
  border-bottom: 2px solid var(--primary-main);
}

select {
  display: block;
  border: 0;
  border-bottom: 2px solid var(--base-text);
  font-size: inherit;
  padding: 10px 0px;
  outline: none;
  width: 100%;
  background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+)
    no-repeat 100% 50%;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

select:focus {
  border-bottom: 2px solid var(--primary-main);
}

.btn {
  display: block;
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-size: inherit;
  width: 100%;
  padding: 10px 0px;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-main);
  color: var(--base-white);
  border-radius: 5px;
  margin-top: 60px;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-light {
  background-color: var(--base-white);
  color: var(--primary-main);
  border-radius: 5px;
  margin-top: 60px;
  text-decoration: none;
  text-align: center;
}

.btn-light-bordered {
  border: 1px solid var(--primary-main);
}

.btn-link {
  color: var(--primary-main);
  text-decoration: underline;
}

.btn-link:hover {
  color: inherit;
}

.create-account-btn {
  display: none;
}

.message {
  margin: 10px 0px;
}

.no-account-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding-left: 20px;
  padding-right: 20px;
  background-color: var(--primary-forground);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.no-account-container h1 {
  color: var(--base-white);
  font-weight: 500;
  font-size: 50px;
}

.no-account-container p {
  font-size: 20px;
  margin: 0;
}

.no-account-container .btn {
  width: 50%;
  margin-top: 60px;
}

.signup {
  display: flex;
  flex-direction: column;
  width: 500px;
  margin: 40px 20px;
}

.signup-form label {
  margin: 0px;
  margin-top: 32px;
}

.signup-form input,
.signup-form select {
  margin-top: 16px;
}

.signup-form .inputs-line {
  display: flex;
  margin-top: 16px;
}

.signup-form .inputs-line * {
  margin-top: 0px;
}

.signup-form .inputs-line .space-right {
  margin-right: 8px;
}

.signup-form .cgu {
  margin-top: 16px;
}

.signup-form .cgu label {
  display: inline;
  margin: 0;
  font-weight: normal;
}

.signup-form .cgu a {
  color: var(--primary-main);
}

.cgu-container {
  margin: 20px;
}

.cgu-container .logo {
  display: block;
  margin: auto;
}

@media screen and (max-width: 1000px) {
  .content {
    flex: 1;
  }

  .background {
    display: none;
  }

  .create-account-btn {
    display: block;
    margin-top: 16px;
  }
}

@media screen and (max-width: 500px) {
  .container {
    width: auto;
  }

  .create-account-btn {
    display: block;
    margin-top: 16px;
  }
}

.logo-container {
  display: flex;
  justify-content: center;
}

.logo {
  max-width: fit-content;
}

.company-name {
  color: var(--primary-main);
}