@import url("./components/Button.css");
@import url("./components/TextInput.css");
@import url("./components/SelectInput.css");

:root {
  --brand-primary-rgb: 227, 89, 36;
  --brand-dark-rgb: 1, 30, 38;
  --brand-light-rgb: 251, 250, 248;
  --brand-primary-hover-rgb: 233, 111, 66;
  --brand-error-primary-rgb: 255, 64, 64;
}

html {
  position: relative;
  min-height: 100vh;
  font-size: 14px;
}

body {
  display: flex;
  flex-wrap: wrap;
  background-color: rgba(var(--brand-light-rgb));
  overflow-x: hidden;
  max-width: 100vw;
  font-family: Verdana, Arial;
  color: rgba(var(--brand-dark-rgb));
}

body main {
  flex: 1;
  width: 100%;
  min-width: 0px;
  max-width: 1500px;
  min-height: calc(100vh - 96px);
  margin-top: 56px;
  padding: 2rem 4rem;
}

body footer {
  width: 100vw;
  text-align: center;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
}

h1 {
  font-family: 'Baskerville';
  font-size: 3rem;
  line-height: 3.2rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1rem;
}

.form-input {
  box-sizing: border-box;

  width: 100%;
  height: 42px;

  background: #ffffff;
  border: 2px solid rgba(var(--brand-dark-rgb));;

  /* Inside auto layout */

  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;

  margin-bottom: 10px;
  padding: 10px;
}

.form-input:hover {
  border: 2px solid rgba(var(--brand-primary-rgb), 0.5);;
}

.form-input:focus {
  outline: none;
  border: 2px solid rgba(var(--brand-primary-rgb));;
}

.form-container {
  height: 80vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

label {
  /* Text input label */

  width: 100%;
  height: 19px;

  /* Brand Body */

  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  /* identical to box height */

  color: rgba(var(--brand-dark-rgb));;
  margin-bottom: 5px;

  /* Inside auto layout */

  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.link {
  margin-left: 7px;
  margin-top: 2px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;

  color: rgba(var(--brand-dark-rgb));;
}

.form-link-black {
  color: rgba(var(--brand-dark-rgb));;
}

.form-link-orange {
  color: rgba(var(--brand-primary-rgb));;
}

.main-container {
  display: flex;
}
.background-picture {
  height: 100vh;
}

.background-image-registration {
  height: 100%;
  z-index: 0;
}

.footer-text-container {
  justify-content: center;
  padding-bottom: 5px;
}

.background-image-circle {
  height: auto;
  width: 120vw;
  border-radius: 50%;
  position: absolute;
  top: 5%;
  right: -10vw;
  margin: auto;
  margin-bottom: 20%;
  min-width: 490px;
  transform: translateY(-50%);
}

.logo-and-slogan-on-page-with-circle {
  margin-top: 40%;
}

.logo {
  width: 140px;
  height: auto;
}

.create-company-form{
  width: 50vh;
}

.create-company-container{
  margin-left: 15%;
  margin-top: 50%;
}

.company-manager{
  margin-top: 2%;
  width: 60vw;
  margin-left: 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .main-container {
    justify-content: center;
  }

  .background-image {
    height: 55%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }
  .background-image-registration {
    max-height: 30%;
  }

  .form-container {
    margin-top: 50%;
    z-index: 1;
  }

  .page-title-register {
    margin-bottom: 2rem;
  }

  .page-with-circle-bg-image {
    width: 80vw;
  }

  .create-company-img{
    display: none;
  }

  .create-company-form{
    width: 40vh;
  }

  .create-company-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
  }

  .company-manager-img{
    display: none;
  }

  .company-manager {
    width: 95vw;
  }
}
@media screen and (min-width: 768px) {
  .background-picture {
    position: absolute;
    top: 0;
    right: 0;
  }
  .main-container {
    justify-content: flex-start;
  }
  .form {
    position: relative;
    left: 35%;
    margin-top: 50px;
    width: 40vw;
    max-width: 400px;
  }

  .logo-and-slogan {
    margin-top: 3rem;
  }

  .background-image-circle {
    height: auto;
    width: 120vw;
    border-radius: 50%;
    position: absolute;
    top: 5%;
    right: -10vw;
    margin: auto;
    margin-bottom: 20%;
    min-width: 490px;
    transform: translateY(-50%);
  }

  .background-image-registration-page {
    max-height: 97%;
  }

  .company-manager {
    width: 95vw;
  }

  .company-manager-img{
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .background-image-donut {
    width: 40vw;
    height: 40vw;
  }

  .main-container {
    justify-content: flex-start;
  }

  .container-form {
    position: relative;
    left: 35%;
    top: 20%;
  }
  .logo-and-slogan {
    margin-top: 3rem;
  }

  .background-image-circle {
    top: 5%;
    right: -20vw;
    transform: translateY(-20%);
  }

  .company-manager-img {
    display: block;
  }

  .company-manager {
    width: 60vw;
  }
}

.background-image-circle {
  height: auto;
  width: 120vw;
  max-width: 750px;
  border-radius: 50%;
  position: absolute;
  margin: auto;
  margin-bottom: 20%;
  min-width: 490px;
}

.page-with-circle-bg-image {
  margin-top: 90%;
  display: flex;
  flex-direction: column;
}

.slogan {
  font-family: 'Baskerville', Times New Roman, serif;
}

.page-title {
  margin-bottom: 2rem;
}

.subtitle {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  color: rgba(var(--brand-dark-rgb));;
  font-size: 0.8rem;
}

.simple-page-container {
  margin-left: 1px;
}

.circle-image-container {
  display: flex;
  width: 100vw;
}

.title-gap {
  margin-top: 7rem;
}

.small-font-size {
  font-size: small;
}


.create-company-image-container{
  display: flex;
  justify-content: flex-end;
}

.create-company-img{
  width: 40%;
  position: absolute;
  right: 5%;
  top: 5%;
}

.checkboxes{
  margin-right: 6px;
  margin-bottom: 4px;
}

.create-page-labels{
  width: 44%;
}

.company-manager-img{
  height: auto;
  max-height: 90vh;
  max-width: 40%;
  position: fixed; 
  bottom: 2%; 
  right: 0;
}

.manage-clients-table{
  display:block;
  overflow:auto;
  height: 70vh;
  width:100%;
}

.tr{
  display:block;
}

.flotilla-checkbox-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
}

.flotilla-checkbox-container input {
  min-width: 1rem;
  min-height: 1rem;
}

.flotilla-checkbox-container label {
  flex: 1;
  margin: 0;
}

.hide {
    display: none;
}

.sso-logo {
    width: 20px;
}

.sso-btn {
    margin-bottom: 10px;
}