/*
 * 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, vendor/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: "Figtree", sans-serif;
  font-size: 100%;
}

* {
  box-sizing: border-box;
}

.session-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: calc(100vh - 44px);
  overflow-y: auto;
}

.session-form {
  background: #FFF;
  border-radius: 4px;
  border: 1px solid #CCC;
  border-bottom-width: 2px;
  font-size: 1rem;
  max-width: 350px;
  padding: 1rem;
  width: 100%;
}

.portal-logo-wrapper {
  width: 100%;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.portal-logo-wrapper .logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 200px;
  margin: 0 auto;
}

.form-field-wrapper {
  display: flex; flex-wrap: wrap;
}

.form-field {
  border: 2px solid rgb(204, 204, 204);
  border-radius: 3px;
  color: rgb(0, 0, 0);
  display: block;
  width: 100%;
  font-size: 1.25rem;
  margin: 0.5rem 0;
  padding: 1rem;
  height: auto;
}

.submit-btn {
  display: block;
  margin: 1rem 0;
  font-size: 1.25rem;
  padding: 0.75rem;
  width: 100%;
  height: 40px;
  color: #FFF !important;
  text-shadow: 0 -1px 0 rgb(0 0 0 / 35%);
  background-color: #60b044 !important;
  background-image: linear-gradient(#8add6d, #60b044) !important;
  border-color: #5ca941;
  font-family: 'proxima-nova', sans-serif;
  border: solid 1px #CCC;
  background: #ebebeb;
  line-height: 1rem;
  font-weight: bold;
  text-align: center;
  -webkit-user-select: none;
  border-radius: 6px;
  white-space: nowrap;
}

.modal-bg {
  position: fixed;
  background: radial-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.fade-in {
  animation-name: fade-in;
  -webkit-animation-name: fade-in;
  animation-duration: 300ms;
  -webkit-animation-duration: 300ms;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  visibility: visible !important;
}

.modal-container {
  overflow: visible;
  z-index: 7000;
  margin: 0;
  max-height: 90%;
  position: relative;
  border: 1px solid #000;
}

.modal-w2 {
  width: 30rem;
}

.modal-confirm {
  border-radius: 4px;
  overflow-y: auto;
}

.slide-up {
  animation-name: slide-up;
  -webkit-animation-name: slide-up;
  animation-duration: 400ms;
  -webkit-animation-duration: 400ms;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  visibility: visible !important;
}

.modal-container .card-wrapper {
  margin: 0;
  border: 0;
  overflow: initial;
}

.card-wrapper {
  border: solid 1px #CCC;
  background: #FFF;
  overflow: visible;
  box-shadow: 0 5px 5px -4px rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.modal-confirm .card-content {
  width: 100%;
  font-size: 1.5rem;
  line-height: 1.85rem;
  padding: 1.5rem;
  display: flex;
}

.items-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -ms-grid-row-align: center;
  align-items: center;
}

.ml3 {
  margin-left: 1rem;
}

.modal-container .card-footer {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0.25rem;
  border-top: 1px solid #CCC;
  background: #ebebeb;
  background: linear-gradient(to bottom, #dedede 0%, #ececec 50%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr="#dedede", endColorstr="#ececec",GradientType=0);
}

.card-footer {
  padding: 0.3rem 0.5rem;
  overflow: auto;
  background: #FFF;
  border-top: 1px solid #CCC;
}

.card-footer .button {
  margin-right: 0.5rem;
}

.button {
  display: inline-block;
  border: 1px solid rgb(204, 204, 204);
  background: #ebebeb;
  padding: 0.25rem 1rem 0.25rem 1rem;
  font-size: 1rem;
  line-height: 1rem;
  font-weight: bold;
  height: 26px;
  text-align: center;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 6px;
  cursor: pointer;
  color: #707070;
  white-space: nowrap;
}

.button-default {
  background-color: #FFF;
  color: #000;
  border-color: #CCC;
}

.button-primary {
  color: #FFF !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
  background-color: #60b044;
  background-image: linear-gradient(#8add6d, #60b044);
  border-color: #5ca941;
}

.button-danger {
  color: #FFF;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
  background-color: #cb282c;
  background-image: linear-gradient(#f95054, #cb282c);
  border-color: #c3262a;
}

.error-text {
  color: #c3262a;
}

.login-error {
  background: #fffaeb;
  border-radius: 8px;
  border: solid 1px #fec94d;
  color: #dd6903;
  margin: 10px 0 32px 0;
  padding: .5rem 1rem;
  text-align: center;
}

.login-button {
  display: block;
  margin: 1rem 0;
  font-size: 1.25rem;
  padding: 0.75rem;
  width: 100%;
  height: 40px;
  color: #ffffff !important;
  text-shadow: 0 -1px 0 rgb(0 0 0 / 35%);
  background-color: #373acd;
  border-color: #373acd;
  font-family: 'proxima-nova', sans-serif;
  border: solid 1px #CCC;
  line-height: 1rem;
  text-align: center;
  border-radius: 6px;
  white-space: nowrap;
  cursor: pointer;
}

.forgot-password-link {
  text-decoration: none;
}

/* -- NEW UI STYLES -- */

/* API AUTHORIZATION */

.modal-container.provider-auth {
  border: solid 1px hsl(32deg 6% 32%);
  border-radius: 8px !important;
}

.modal-container.provider-auth .card-footer {
  align-items: center;
  background-color: hsl(0deg 0% 100%);
  border-top: 1px solid hsl(23deg 7% 83%);
  color: hsl(28deg 7% 25%);
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  justify-content: flex-end;
}

.authorize-label {
  font-size: 2rem;
}

.grants-label {
  margin-bottom: 1rem;
}

.grant-list {
  padding-inline-start: 0px;
  list-style: none;
  margin-top: 0;
}

.grant-list-item {
  color: hsl(28deg 7% 25%);
  text-decoration: none;
  background-color: transparent;
}


/* NEW UI BUTTONS */
.nue_btn {
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 hsla(220deg, 43%, 11%, 0.05);
  display: inline-flex;
  font-family: "Figtree", sans-serif;
  justify-content: center;
  gap: 8px;
  transition: background-color 300ms ease;
  white-space: nowrap;
}
.nue_btn:hover {
  cursor: pointer;
}

.nue_btn.-xs {
  border-radius: var(--br-s);
  font-size: var(--text-xs);
  font-weight: var(--medium);
  padding: 6px 10px;
  line-height: 16px;
}
.nue_btn.-sm {
  font-size: var(--text-s);
  font-weight: var(--medium);
  padding: 8px 14px;
  line-height: 18px;
}
.nue_btn.-md {
  font-size: var(--text-s);
  font-weight: var(--medium);
  padding: 10px 16px;
  line-height: 21px;
}
.nue_btn.-lg {
  font-size: var(--text-m);
  font-weight: var(--medium);
  padding: 10px 12px;
  line-height: 24px;
}

.nue_btn.-xl {
  font-size: var(--text-l);
  font-weight: var(--medium);
  padding: 12px 20px;
  line-height: 28px;
}

.nue_btn.-sryGray {
  background-color: hsl(0deg 0% 100%);
  border: solid 1px;
  border-color: hsl(23deg 7% 83%);
  color: hsl(28deg 7% 25%);
}

.nue_btn.-sryGray:hover {
  background-color: hsl(24deg 10% 98%);
}

.nue_btn.-pryColor {
  background-color: hsl(237deg 77% 59%);
  border: solid 1px;
  border-color: hsl(237deg 77% 59%);
  color: hsl(0deg 0% 100%);
}

.nue_btn.-pryColor:hover {
  background-color: hsl(239deg 60% 51%);
}

.nue_btn.-tryColor {
  background-color: transparent;
  border: none;
  border-color: transparent;
  box-shadow: none;
  color: hsl(237deg 77% 59%);
  text-decoration: none;
}
.nue_btn.-tryColor:hover {
  background-color: hsl(24deg 10% 98%);
}
.nue_btn.-tryColor.active {
  color: hsl(239deg 60% 51%);
}
