@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-font-family: "Poppins", Helvetica, Arial, sans-serif;
  --primary-100: #CA80FA;
  --primary-200: #AF41F7;
  --primary-300: #8900e1;
  --primary-400: #4F057F;
  --blue-100: #306bff;
  --blue-gray-100: #e9eff6;
  --white: #ffffff;
  --gray-100: #e0e0e0;
  --gray-200: #6c6c6c;
  --black: #000000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:hover,
*:focus {
  transition: 175ms ease-in-out !important;
}

html,
body {
  font-family: var(--primary-font-family);
  font-size: 16px;
  color: var(--gray-200);
  height: 100%;
  margin: 0;
}

.text-center {
  text-align: center;
}

a:link,
a:visited {
  color: var(--primary-300);
  text-decoration: none;
}

a:hover {
  color: var(--primary-300) !important;
  text-decoration: underline !important;
}

h1 {
  font-size: clamp(1.45rem, 5vw, 2.85rem);
  font-weight: 500;
  color: #fefdff;
  margin: auto;
}

h1.start-application {
  margin-top: 35%;
}

h2 {
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: normal;
  color: #000;
  margin: 1em 0;
}

p + h2 {
  margin: 1.125em 0 1em;
}

@media (max-width: 991px) {
  h1 {
    margin: auto !important;
  }
}

/*-----------*/
/* Container */
/*-----------*/
.wrapper {
  background: #fff;
  height: 100%;
}

#container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  #container {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/*--------------*/
/* Hero Section */
/*--------------*/
.logo img {
  max-width: 320px;
  width: 100%;
  margin: 2rem 0 0;
}

.intro-container {
  display: grid;
/* Original that uses the designer background. Scaled version will use color gradients
  background-image: url("https://universityofwashingtonnoodlep--projectapp--c.sandbox.vf.force.com/resource/1671476448000/execappbg");
  background-repeat: no-repeat;
  background-size: cover;
*/
  background: transparent linear-gradient(180deg, #4F057F 0%, #AF41F7 99%) 0% 0% no-repeat padding-box;
}

.intro {
  display: grid;
  grid-template-rows: auto 1fr;
  margin-left: auto;
  max-width: 760px;
  padding-right: clamp(30px, 7vw, 200px);
  padding-left: 60px;
  padding-bottom: 50px;
}

.intro-text {
  color: #fefdff;
  display: flex;
  justify-self: flex-end;
  max-width: 960px;
}

@media (max-width: 991px) {
  .logo img {
    max-width: 280px;
    margin: 1rem 0 2rem;
  }

  .intro {
    max-width: 100%;
    gap: 2rem;
    padding: 1rem 1.5rem 2rem !important;
    margin: 0 auto;
    gap: 0;
  }
}

/*------*/
/* Form */
/*------*/
form {
  height: 100%;
}

.form-container {
  margin: auto;
  margin-left: clamp(30px, 8vw, 200px);
  max-width: 400px;
}

.form-container.start-application {
  padding-top: clamp(30px, 10vw, 150px);
  padding-bottom: clamp(30px, 10vw, 150px);
}

@media (max-width: 991px) {
  .form-container,
  form {
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: #fff;
  }

  .form-container {
    padding: 1.5rem 1.5rem 2rem !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

.field-box,
.button-box {
  margin-bottom: 1.5em;
  text-align: left;
}

.field-box input,
.field-box select,
.button-box input[type="submit"] {
  padding: 1rem;
  width: 100%;
  max-width: 100%;
  font-family: var(--primary-font-family);
  font-size: 1rem;
  color: #555b5f;
  border: none;
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: var(--blue-gray-100);
}

.field-box input::placeholder {
  color: #555b5f;
}

.field-box input:focus,
.field-box select:focus {
  border: 1px solid var(--primary-300);
  outline: none;
}

.more-help-field {
  position: relative;
}

.more-info-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -22px;
}

.more-info-button-modal {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  text-align: center;
}

.slds-button__icon {
  height: 20px;
  width: 20px;
  float: right;
  fill: #57068c;
}

.button-box input[type="submit"],
.button-box input[type="submit"]:active {
  display: block;
  color: #fff;
  text-align: center;
  background: transparent linear-gradient(90deg, #4F057F 0%, #AF41F7 99%) 0% 0%
    no-repeat padding-box;
  background-color: var(--primary-300);
  box-shadow: 10px 10px 20px #57068c66;
  cursor: pointer;
  opacity: 0.95;
}

.button-box input[type="submit"]:hover {
  opacity: 1;
}

.button-box input[type="submit"]:focus {
  outline-width: 1px;
  outline-style: solid;
  outline-color: #000;
  outline-offset: 3px;
}

/* Form field Tool Tips */
.tooltiptext {
  text-align: center !important;
  padding: 1rem !important;
  border-radius: 10px !important;
  font-size: 0.875rem !important;
  text-align: left !important;
  position: absolute !important;
  bottom: 100% !important;
  visibility: hidden;
  width: auto !important;
  background-color: #252525 !important;
  color: #fff !important;
  z-index: 1 !important;
}

.tooltiptext ul {
  padding-left: 20px !important;
}

/* Social Media SSO */
.authProviderBox {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.socialLoginRegister {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 0.875rem;
  gap: 1rem;
}

p.socialLoginRegister:before,
p.socialLoginRegister:after {
  content: "";
  display: block;
  max-width: 100%;
  height: 2px;
  background: #f3f6fa;
  top: 50%;
}

p.socialLoginRegister:before {
  left: 85px;
}

p.socialLoginRegister:after {
  right: 85px;
}

.authProviderBlockReg {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.authProviderLogos {
  display: flex;
  gap: 1rem;
  padding-left: 1em;
  margin: 1.5rem 0;
}

.authProviderLogos img {
  border: 1px solid #e0e0e0;
  padding: 0.5rem 2rem;
  border-radius: 10px;
  display: block;
  width: 100%;
}

@media (max-width: 991px) {
  .authProviderLogos img {
    padding: 0.5rem 1.75rem;
  }
}

.disclaimer {
  font-style: normal;
  font-size: 0.875rem;
}

.disclaimer a:link,
.disclaimer a:visited {
  color: var(--gray-200);
  font-weight: 600;
  text-decoration: underline;
}

/** Tooltip **/
/* Container */
.tooltip {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 60%;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  font-size: 12px;
  text-align: left;
  position: absolute;
  z-index: 1;
  bottom: 100%;
}

/* Hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
}
/** End Tooltip **/
                                                                    
/** Modal **/
.custPopup{
  display: flex;
  flex-direction: column;
  background-color: white;
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  z-index: 9999;
  left: 50%;
  padding:10px;
  position: absolute;
  width: 500px;
  margin-left: -250px;
  top:100px;
  max-width: fit-content;
}
@media (max-width: 992px) {
  .custPopup {
    left: 0 !important;
    margin-left: 0px !important;
  }
}
.popupBackground{
  background-color:black;
  opacity: 0.20;
  filter: alpha(opacity = 20);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9998;
}
.close {
  text-align: end;
  background: none !important;
  border: none;
  padding: 0!important;
  text-decoration: underline;
  cursor: pointer;
  color: #57068c;
  text-decoration: underline;
  transition: 175ms ease-in;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}
.popupBackground .close{
  position :absolute;
  top : 10px;
  right: 10px;
  transition: all 200ms;
  font-size: 20px;
  text-decoration: none;
  color: #333;
}
.custPopup .close:hover{
  color: red;
}

/* Sweet Alerts (Replaces Standard JS Alerts) */
.swal-text {
  color: #000000;
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  font-size: 16px !important;
}
.swal-title {
	color: #000000;
}
.swal-button-container {
  display: block !important;
}
.swal-button {
    font-family: "Poppins",Helvetica,Arial,sans-serif !important;
    font-size: 1rem !important;
    text-align: center !important;
    color: #000 !important;
    width: 30% !important;
    max-width: 300px !important;
    padding: 1rem !important;
    border: 1px solid #9760ff !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    background: transparent linear-gradient(90deg,#4F057F 0%,#AF41F7 99%) 0% 0% no-repeat padding-box !important;
    background-color: var(--primary-300) !important;
    box-shadow: 10px 10px 20px rgba(93,59,157,.4) !important;
    color: #fff!important;
    opacity: .95
}
.swal-button:hover {
  opacity: 1 !important;
}
/* End */

/* Error Messaging on Register */
.messageTable {
	width: 100%;
}
.messageCell {
    color: #842029 !important;
    background-color: #f8d7da !important;
    border-color: #f5c2c7 !important;
    border-radius: 0.25rem;
    padding: 1rem 1rem;
    display: flex;
    flex-direction: row;
    margin-bottom: 25px;
}
.messageText {
    display: flex;
    gap: 1em;
}
.messageText > span {
    justify-content: center;
}
/* End */