:root {
  --primary-color: rgb(3 69 90);
  --dark-grey: rgb(166 173 180);
  --grey: rgb(199 204 214);
  --light-grey: rgb(224, 224, 224);
  --red: rgb(220 53 69);
}
.text-center {
  text-align: center !important;
}

.text-start {
  text-align: left !important;
}

.align-content-center {
  align-content: center !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.d-flex {
  display: flex !important;
}

.d-none {
  display: none !important;
}
.page {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
}
.spinner-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.spinner {
  width: 1.75rem;
  height: 1.75rem;
  border: 5px dotted #000;
  border-radius: 50%;
  box-sizing: border-box;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.oldspinner {
  width: 1.75rem;
  height: 1.75rem;
  border: 5px dotted #fff;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
  position: absolute;
  left: 0.5rem;
  top: 50%;
  translate: 0 -50%;
}
.instance-details {
  .instance-url {
    align-items: stretch;
    border-radius: 5px;
    border: 1px solid var(--light-grey);
    display: flex;
    height: 2.5em;
  }

  .instance-name {
    flex: 1;
    padding: 6px 20px 6px 20px;
  }

  input[name="instance_name"] {
    background: none;
    border: none;
    outline: none;
  }

  .get-houston {
    align-items: center;
    background: var(--light-grey);
    display: flex;
    padding-inline: 1ch;
  }

  .outline:focus-within {
    outline: 2px auto var(--primary-color);
    outline-offset: 2px;
  }

  .instance-hint {
    color: var(--red);
  }
}
.signin-page {
  .btn-sso {
    width: 100%;
    border-radius: 5px;
    height: 2.5em;
    margin-bottom: 1em;
    border: 1px solid var(--grey);
    color: black;
    background-color: white;
  }

  .btn-sso img {
    width: 20px;
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
  font-family: ulp-font, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif;
  font-weight: 300;
  margin: 0;
}

body * {
  box-sizing: border-box;
  font-family: inherit;
  font-weight: inherit;
}

h2 {
  font-weight: 400;
  margin-bottom: 0;
}

h4 {
  font-weight: 300;
  margin-top: 0;
}

.logo {
  width:200px;
  height:auto;
}

button, input {
  font-size: 16px;
}

input:not([disabled])[type="submit"], button {
  cursor: pointer;
}

main {
  background: white;
  border-radius: 10px;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 0 .3rem rgba(0,0,0,.15);

  .container {
    padding: 2em;
    width: 100%;
  }
}

main.with-side-image {
  width: calc(100% - 100px);
  height: calc(100% - 100px);
  border-radius: 20px;

  .side-image {
    width: calc(100% - 496px);
  }

  .container {
    width: 496px;
  }
}

.text-field {
  display: inline-block;
  margin-bottom: 1em;
  width: 100%;
  border-radius: 5px;
  border: 1px solid var(--grey);
  height: 2.5em;
  padding: 6px 20px 6px 20px;
}

.btn-primary {
  width: 100%;
  border-radius: 5px;
  background-color: var(--primary-color);
  border: none;
  color: white;
  height: 2.5em;
  margin-bottom: 1em;
}

.btn-primary:disabled {
  color: #fff;
  background-color: var(--dark-grey);
}

.divider {
  width: 100%;
  display: flex;
  text-align: center;
}

.divider-side{
  width: 46.665%;
  padding: 15px 0;
  color: var(--grey);
}

.divider-center{
  width: 6.67%;
  padding: 12px 0;
}

.action-link {
  color: black;
}

@media (max-width: 767.98px) {
  main {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  main.with-side-image {
    width: 100%;
    height: 100%;
    border-radius: 0;

    .side-image {
      display: none;
    }

    .container {
      width: 100%;
    }
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  main {
    width: 60%;
  }

  main.with-side-image {
    width: 60%;
    height: unset;
    border-radius: 10px;

    .side-image {
      display: none;
    }

    .container {
      width: 100%;
    }
  }
}
