﻿:root {
  --page-ascent: #f8fafb;
  --blue-circle-background: #bad6ff;
  --grey-01: #e0e0e0;
  --grey-02: #c0c0c0;
  --grey-03: #a1a1a1;
  --grey-04: #818181;
  --grey-05: #616161;
  --grey-06: #414141;
  --blue-01: #c5dcfa;
  --blue-05: #0f56b3;
  --red-05: #da100b;
  --green-04: #2ab930;
}

.welcome-page .logo {
  width: 64px;
}

.icon-banner {
  width: 32px;
}

.body-container {
  margin-top: 60px;
  padding-bottom: 40px;
}

.welcome-page li {
  list-style: none;
  padding: 4px;
}

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0;
}

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray;
}

.grants-page .card .card-title {
  font-size: 120%;
  font-weight: bold;
}

.grants-page .card .card-title img {
  width: 100px;
  height: 100px;
}

.grants-page .card label {
  font-weight: bold;
}

/*login page*/

html,
body {
  margin: 0;
  padding: 0;
}

/* Main Container */
.main-container {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", "Helvetica Neue", sans-serif;
  height: 100vh;
  background: var(--page-ascent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Card Container */
.card-container {
  width: 400px;
  background: white;
  box-shadow: 0px 2px 4px rgba(97, 97, 97, 0.2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin: auto;
  padding: 40px;
}

/* Blue Circle */
.blue-circle {
  width: 58px;
  height: 58px;
  background: var(--blue-circle-background);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Title */
.title {
  color: var(--grey-06);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.08px;
  word-wrap: break-word;
}

/* Subtitle */
.subtitle {
  color: var(--grey-04);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.36px;
  word-wrap: break-word;
  text-align: center;
}

/* Social Button Container */
.social-btn-container {
  text-decoration: none;
  min-width: 255px;
  padding: 11px 16px;
  background: white;
  border-radius: 8px;
  border: 0.5px solid var(--grey-01);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.social-btn-container:hover {
  text-decoration: none;
}

/* Social Button Icon */
.social-btn-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

/* Social Button Text */
.social-btn-text {
  color: var(--blue-05);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.8px;
  word-wrap: break-word;
}

/* sign in text container */
.email-signin-text-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Divider Line */
.divider-line {
  width: 40px;
  height: 1px;
  background: var(--grey-03);
}

.signup-form-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sign In with Email Text */
.email-signin-text {
  color: var(--grey-03);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.5px;
  word-wrap: break-word;
}

/* Work Email Container */
.work-email-container {
  height: 48px;
  display: flex;
  align-items: center;
}

.work-email-input-container {
  min-width: 255px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--grey-03);
  padding: 10px 12px;
  box-sizing: border-box;
  display: flex;
  position: relative;
  align-items: center;
  gap: 8px;
}

#clearButton {
  display: none;
  background-color: white;
  padding: 0px;
}

#toggleButton {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 0px;
}

/* input */
.work-email-input {
  font-size: 14px;
  color: var(--grey-06);
  border: none;
  flex: 1;
}

.work-email-input::placeholder {
  font-size: 14px;
  color: var(--grey-03);
}

.work-email-input:focus {
  outline: none;
}

/* Work Email Text */
.work-email-text {
  flex: 1 1 0;
  color: var(--grey-03);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.24px;
  word-wrap: break-word;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.validation-text {
  width: 255px;
  font-size: 12px;
  line-height: 16px;
  color: var(--red-05);
  overflow-wrap: break-word;
}

/* Continue Button */
.continue-btn {
  cursor: pointer;
  width: 255px;
  background: rgba(229, 229, 229, 0.5);
  padding: 10px 16px;
  border-radius: 8px;
  backdrop-filter: blur(40px);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

button:focus {
  outline: none;
}

button {
  border: none;
}

/* Continue Button Text */
.continue-btn-text {
  color: var(--blue-05);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.8px;
  word-wrap: break-word;
}

.login-continue-btn {
  cursor: pointer;
  width: 255px;
  background: var(--blue-05);
  box-shadow: 0px 2px 4px 0px rgba(15, 86, 179, 0.2), 0px 1px 2px 0px rgba(15, 86, 179, 0.2);
  padding: 10px 16px;
  border-radius: 8px;
  backdrop-filter: blur(40px);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-continue-btn:disabled {
  background-color: var(--grey-06);
  opacity: 0.5;
}

.login-continue-btn-text {
  color: var(--blue-01);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.8px;
  word-wrap: break-word;
}

.login-continue-btn:disabled .login-continue-btn-text {
  color: var(--grey-02);
}

/* Sign Up Text */
.signup-text {
  color: var(--grey-05);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.8px;
  word-wrap: break-word;
}

.signup-link {
  color: var(--blue-05);
  font-size: 14px;
  line-height: 24px;
}

.forgot-password-link {
  color: var(--blue-05);
  font-size: 12px;
  line-height: 16px;
}

/* Green Circle */
.green-circle {
    width: 58px;
    height: 58px;
    background: var(--light-green, rgba(197, 242, 199, 0.50));
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-text {
    display: inline-grid;
    font-weight: 400;
    letter-spacing: 0.8px;
    word-wrap: break-word;
    justify-items: center;
    align-items: center;
}

/* Terms of Service and Privacy Policy Text */
.terms-policy-text {
  color: var(--grey-05);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.24px;
  word-wrap: break-word;
  padding: 12px 0px;
}

.terms-policy-link {
  color: var(--blue-05);
  text-decoration: underline;
}

.passwordValidatorList {
  margin: 0px;
  padding-left: 20px;
}

.criteria {
  color: var(--grey-05);
  margin: 0px;
  font-size: 12px;
  line-height: 16px;
}

.criteria.met {
  color: var(--green-04);
}

#criteriaText {
  display: none;
}

/* OTP Resend row */
.otp-resend-row {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--grey-05);
}

.otp-resend-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.otp-resend-btn {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  background: none;
  border: none;
  color: var(--blue-05);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}

.otp-resend-hidden {
  display: none !important;
}

/* OTP Back link */
.otp-back-row {
  margin-top: 12px;
  text-align: center;
}

.otp-back-link {
  font-size: 13px;
  color: var(--grey-05);
  text-decoration: none;
}

.otp-back-link:hover {
  color: var(--blue-05);
}

@media (max-width: 500px) {
  .terms-policy-text {
    font-size: 10px;
  }
  .card-container {
    padding: 16px;
    width: 320px;
  }
}
