@import "./fonts/inter.css";

html {
  font-family: "Inter", sans-serif;
}
@supports (font-variation-settings: normal) {
  html {
    font-family: "Inter", sans-serif;
  }
}

:root {
  --brand-primary: #02aabc;
  --brand-primary-hover: #088e9d;
  --brand-gray: #a4b6be;
  --text-dark: #003a40;
  --text-mid: rgba(0, 58, 64, 0.65);
  --text-light: #a4b6be;
  --gray-border: #d4dee7;
  --status-danger: #f54b5e;
  --status-info: #00a3e0;
  --vue-purple: #4d008c;
  --vue-coral: #ff595a;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(72, 39, 127, 0.2);
  border: 1px solid var(--vue-purple);
  border-radius: 2px;
}

a,
.link {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color ease-in-out 0.2s;
  cursor: pointer;
}
a:hover,
.link:hover {
  color: var(--brand-primary-hover);
}

.HSep {
  margin-top: 44px;
}

body {
  font-family: "Inter", arial, sans-serif;
  font-size: 16px;
  background-image: url("./svgs/background-purple.svg");
  background-color: white;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  overflow: auto;
  margin: 0;
  color: var(--text-dark);
}

.container {
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 80px);
  justify-content: space-between;
}

/* Header */
.logo {
  margin-bottom: 32px;
}
.logo img {
  height: 48px;
  width: auto;
}

#header .lead {
  color: var(--vue-coral);
  font-weight: 600;
  font-size: 2rem;
  margin: 12px 0;
}

#header h2 {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 12px 0;
}

/* Form */

#form {
  display: flex;
  flex-direction: column;
  flex: auto;
  flex-shrink: 0;
}
.alert {
  min-height: 50px;
  width: 420px;
  margin-top: 12px;
}

#lblMessage {
  border-radius: 3px;
  padding: 12px 30px;
  color: var(--text-dark);
  font-size: 1rem;
  display: none;
}

#lblMessage.error {
  border: 1px solid #f54b5e50;
  background-color: #f54b5e10;
  background-image: url("svgs/closeCircle.svg");
  background-repeat: no-repeat;
  background-position: 12px 17px;
}

#lblMessage.info {
  border: 1px solid var(--status-info);
  background-color: #278fc010;
  background-image: url("svgs/infoCircle.svg");
  background-repeat: no-repeat;
  background-position: 12px 17px;
}

.form-group {
  margin: 18px 0 24px 0;
}

label {
  color: var(--text-dark);
  margin-bottom: 8px;
  margin-top: 16px;
  font-weight: 500;
  display: block;
}

input {
  border: 1px solid #d4dee7;
  color: var(--text-dark);
  border-radius: 3px;
  height: 40px;
  padding: 8px 12px;
  width: 100%;
  display: block;
  margin-bottom: 8px;
  background-color: white;
  font-size: 1rem;
  width: 420px;
}

input::placeholder {
  color: #003a4080;
}
input.error {
  border-color: var(--status-danger);
}

input:-internal-autofill-selected {
  background-color: red;
}

.Button {
  color: #fff;
  background-color: var(--brand-primary);
  border: 0px;
  border-radius: 3px;
  padding: 8px 24px;
  transition: background-color ease-in-out 0.2s;
  height: 40;
  font-size: 1rem;
}

.Button:hover {
  background-color: #0095a6;
  cursor: pointer;
}

a.forgot-password {
  margin-top: 8px;
}

/* Tenants */

#rowTenants {
  display: none;
  width: 420px;
}

#divSearchTenants,
#whoamiFailure {
  margin-top: 24px;
}

.Tenant {
  cursor: hand;
  margin: 2px 0px;
  padding: 10px 6px;
  background-color: transparent;
  border-radius: 2px;
  font-size: 1rem;
  transition: background-color ease-in-out 0.2s;
}
.Tenant:hover {
  background-color: #f1f4f5;
}
.no-tenants-available {
  margin-top: 2rem;
}

.tenants-list,
.empty-state {
  border: 1px solid #d4dee7;
  border-radius: 4px;
  margin-bottom: 16px;
  margin-top: 6px;
}
.empty-state {
  margin-top: 20px;
}
.tenants-empty-state {
  text-align: center;
  margin: 20px;
  color: var(--text-dark);
  font-size: 0.9rem;
}
.tenants-empty-state-img {
  height: 100px;
}
#lstTenants {
  max-height: 200px;
  overflow: auto;
  background-color: #ffffff;
  color: var(--text-dark);
  border-radius: 4px;
}
/* .Tenant:focus,  */
.Tenant:hover {
  background-color: #f2fbfb;
}

.backToTenantSelection {
  margin-bottom: 50px;
}

/* tenant selection */

.tenantSelection {
  color: #ffffff;
}

#asterisk {
  color: #db0032;
}

#btnEnter {
  width: 80px;
  padding: 8px 12px 8px 12px;
  border: 2px solid var(--brand-primary);
  margin-top: 16px;
}

#lstTenants::-webkit-scrollbar {
  display: block;
  width: 20px;
  height: 18px;
  background-color: #d4dee700;
  border-radius: 18px;
}
#lstTenants::-webkit-scrollbar-thumb {
  height: 12px;
  border: 4px solid #d4dee700;
  background-clip: padding-box;
  -webkit-border-radius: 18px;
  background-color: #d4dee7;
  -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05),
    inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}
#lstTenants::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}
#lstTenants::-webkit-scrollbar-corner {
  background-color: transparent;
}

/* app-selector */

.select-app-grid {
  display: grid;
  grid-template-columns: 400px 400px;
  grid-template-rows: 100px 100px;
  grid-gap: 14px;
  margin-top: 24px;
  margin-bottom: 42px;
}

.tenant-logos-container {
  border-radius: 4px 0 0 4px;
  background-color: #1f0138;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tenant-logos {
  height: 54px;
  width: 54px;
}

.select-app-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: start;
  background-color: #ffffff;
  width: auto;
  height: 100px;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 1px 2px 0 var(--gray-border);
  cursor: pointer;
  border: 1px solid rgba(212, 222, 231, 0.5);
  transition: box-shadow ease-in-out 0.2s;
}
.select-app-content:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.content-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vue-coral);
  margin-bottom: 0.5rem;
}

.content-subtitle {
  color: var(--text-mid);
  font-size: 1rem;
}

/* Footer */

#linksContainer {
  display: flex;
}

#vertical-break {
  padding: 0 18 0 18;
  color: #ffffff;
}

.footer-default {
  font-weight: 400;
}

.footer-portal {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  justify-content: space-between;
  font-weight: 400;
  padding-bottom: 20px;
}
.footer-portal-content-top {
  display: flex;
  flex-direction: column;
  line-height: 1.5em;
}
.footer-portal-content-top-info {
  color: var(--text-mid);
  margin-bottom: 16px;
}

.footer-glyph {
  margin-right: 16px;
}

@media (max-width: 920px) {
  .select-app-grid {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 100px auto;
    grid-gap: 14px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 1rem;
  }
  #form {
    width: 100%;
  }
  #rowTenants {
    width: 100%;
  }
  input {
    width: 100%;
  }
  .alert {
    width: 100%;
  }
  .logo img {
    height: 3rem;
  }
  .log-back-in-main-page {
    height: 100%;
  }
  .content-subtitle {
    text-align: left;
  }
}
