:root {
  --argo-bg: #bbe1ff;
  --argo-primary: #51ade1;
  --argo-danger: #ea5c47;
  --argo-success: #7abb63;
  --argo-text: #3c4858;
  --argo-label: #aaaaaa;
  --argo-dark: #171c35;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body.argo-login-body {
  min-height: 100vh;
  margin: 0;
  background: var(--argo-bg);
  color: var(--argo-text);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 14.4px;
  font-weight: 300;
}

/* Permanent disclosure: keeps the real login clearly identified. */
.argo-disclosure {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 99999;
  min-height: 42px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171c35;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 1px 5px rgba(0,0,0,.2);
}

.argo-disclosure strong { font-weight: 700; }

/* Main page */
.argo-auth-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.argo-card-container {
  width: 500px;
  min-width: 460px;
  padding: 0 43.2px;
  text-align: center;
  flex: 0 0 500px;
}

.argo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 413.625px;
  min-height: 685.844px;
  margin: 30px auto;
  border-radius: 6px;
  background: #fff;
  color: rgba(0,0,0,.87);
  box-shadow:
    0 2px 2px rgba(0,0,0,.14),
    0 3px 1px -2px rgba(0,0,0,.20),
    0 1px 5px rgba(0,0,0,.12);
  overflow: hidden;
}

.argo-application-header {
  width: 100%;
  height: 141.5px;
  flex: 0 0 141.5px;
  margin: 0;
  text-align: center;
}

.argo-application-logo {
  display: inline-block;
  width: 70px;
  height: 80px;
  padding-top: 20px;
  object-fit: contain;
}

.argo-application-title {
  width: 100%;
  height: 31.5px;
  margin: 20px 0 10px;
  color: var(--argo-text);
  font-size: 22.5px;
  font-weight: 600;
  line-height: 31.5px;
}

.argo-card-body {
  width: 100%;
  padding: 0 27px 13.5px;
  flex: 1 1 auto;
}

.argo-form {
  width: 359.625px;
  margin: 0 auto;
}

.argo-form-group {
  position: relative;
  width: 359.625px;
  height: 63px;
  margin: 0 0 17px;
  padding-top: 27px;
}

.argo-label {
  position: absolute;
  top: 5.03px;
  left: 0;
  margin: 0;
  color: var(--argo-label);
  font-size: 14.4px;
  font-weight: 400;
  line-height: 15.84px;
}

.argo-label .fa {
  margin-right: 3px;
  color: var(--argo-label);
}

.argo-label-right {
  position: absolute;
  top: 3px;
  right: 0;
  color: var(--argo-primary);
  font-size: 14.4px;
  font-weight: 300;
  text-decoration: underline;
}

.argo-label-right:hover,
.argo-label-right:focus { color: var(--argo-primary); }

.argo-input {
  display: block;
  width: 359.625px;
  height: 36px;
  margin: 0;
  padding: 6.3px 0;
  border: 0;
  border-bottom: 1px solid #d2d2d2;
  border-radius: 0;
  outline: 0;
  color: #495057;
  background: transparent;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 15.4px;
  box-shadow: none;
}

.argo-input:focus {
  border-bottom: 2px solid #f44336;
}

.argo-password-wrap {
  position: relative;
  width: 359.625px;
  height: 36px;
}

.argo-password-wrap .argo-input {
  position: relative;
  padding-right: 40px;
}

.argo-reveal {
  position: absolute;
  cursor: pointer;
  right: .5rem;
  top: .8rem;
  z-index: 3;
  width: 2.5rem;
  color: rgba(0,0,0,.87);
  font-size: 12.6px;
  text-align: center;
}

/* Exact button geometry/colors from the captured login */
.argo-btn {
  position: relative;
  display: block;
  width: 359.625px;
  height: 39.4219px;
  margin: 14.4px 1px 4.5px;
  padding: 12px 30px;
  border: 0;
  border-radius: 30px;
  outline: none;
  color: #fff;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 10.8px;
  font-weight: 400;
  line-height: 15.4286px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.argo-btn:hover,
.argo-btn:focus {
  color: #fff;
  text-decoration: none;
}

.argo-btn-primary {
  background: var(--argo-primary);
  box-shadow:
    0 2px 2px rgba(81,173,225,.14),
    0 3px 1px -2px rgba(81,173,225,.20),
    0 1px 5px rgba(81,173,225,.12);
}

.argo-btn-danger {
  background: var(--argo-danger);
  box-shadow:
    0 2px 2px rgba(234,92,71,.14),
    0 3px 1px -2px rgba(234,92,71,.20),
    0 1px 5px rgba(234,92,71,.12);
}

.argo-btn-success {
  width: auto;
  min-width: 90px;
  background: var(--argo-success);
  box-shadow:
    0 2px 2px rgba(122,187,99,.14),
    0 3px 1px -2px rgba(122,187,99,.20),
    0 1px 5px rgba(122,187,99,.12);
}

.argo-or {
  margin-top: 14.4px;
  color: rgba(0,0,0,.87);
  font-size: 12.6px;
  font-weight: 700;
  font-style: italic;
  line-height: 21.6px;
}

/* The school-code/SPID row is replaced by the real institutional Google flow,
   but its vertical footprint is kept to preserve the captured layout. */
.argo-provider-row {
  width: 359.625px;
  min-height: 63px;
  margin: 0 0 17px;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.argo-google-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 359.625px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #dadce0;
  border-radius: 30px;
  color: #3c4043;
  background: #fff;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 12.6px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.argo-google-button:hover,
.argo-google-button:focus {
  color: #3c4043;
  background: #f8f9fa;
  text-decoration: none;
}

.argo-google-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
}

/* Remember row */
.argo-remember-row {
  width: 359.625px;
  min-height: 63px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  color: var(--argo-label);
}

.argo-check-label {
  position: relative;
  display: flex;
  align-items: center;
  width: 91.125px;
  min-width: 91.125px;
  padding-left: 25px;
  margin: 0;
  color: var(--argo-label);
  font-size: 14.4px;
  font-weight: 400;
  line-height: 15.84px;
  cursor: pointer;
}

.argo-check-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.argo-check-sign {
  position: absolute;
  left: 0;
  top: -2px;
  width: 18px;
  height: 18px;
  border: 1px solid #9e9e9e;
  border-radius: 2px;
  background: #fff;
}

.argo-check-input:checked + .argo-check-sign {
  border-color: var(--argo-primary);
  background: var(--argo-primary);
}

.argo-check-input:checked + .argo-check-sign::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.argo-remember-copy {
  margin-left: 3px;
  color: #555;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 13px;
  text-align: left;
}

.argo-remember-copy a {
  color: var(--argo-primary);
  text-decoration: underline;
}

/* Footer with the authorized captured logos */
.argo-card-footer {
  width: 413.625px;
  height: 63.5px;
  padding: 0 27px 13.5px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: 6px;
}

.argo-footer-logo-argo {
  width: 100px;
  height: 50px;
  object-fit: contain;
}

.argo-footer-logo-rina {
  width: 77.6875px;
  height: 49.9844px;
  object-fit: contain;
}

.argo-rights {
  margin: 0 0 10px;
  color: rgba(0,0,0,.87);
  font-size: 12.6px;
  font-weight: 300;
  line-height: 21.6px;
}

/* Right promo area, reconstructed from the captured iframe. */
.argo-promo-side {
  width: 60%;
  padding: 43.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.argo-promo-square {
  position: relative;
  width: min(90vh, 1065.625px);
  height: min(90vh, 1065.625px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.argo-promo-inner {
  width: 100%;
  margin-top: 8.5%;
  padding: 20px;
  text-align: center;
}

.argo-promo-more {
  display: inline-block;
  margin: 0 0 20px;
  padding: 10px 20px;
  border: 0;
  border-radius: 25px;
  background: var(--argo-dark);
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 1em;
  text-decoration: none;
}

.argo-promo-more:hover { color: #fff; text-decoration: none; }

.argo-promo-main {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 20px;
}

.argo-promo-logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto;
}

/* Login error state, matching the visual reference supplied by the user. */
.argo-login-error {
  width: 359.625px;
  margin: 0 auto 6px;
  text-align: left;
}

.argo-login-error-title {
  width: 359.625px;
  min-height: 60px;
  margin-bottom: 13px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ec6855;
  color: #fff;
  font-size: 12.6px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.argo-login-error-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 7px;
  color: var(--argo-danger);
  font-size: 14.4px;
  font-weight: 400;
  line-height: 21px;
}

.argo-login-error-row .fa {
  width: 14px;
  flex: 0 0 14px;
  margin: 3px 5px 0 0;
}

/* Local cookie banner styled to echo the captured site without external cookie code. */
.argo-cookie-banner {
  position: fixed;
  z-index: 99998;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 10px 18px;
  background: rgba(255,255,255,.98);
  color: #444;
  font-size: 12px;
  box-shadow: 0 -2px 8px rgba(0,0,0,.12);
}

.argo-cookie-banner.is-visible { display: flex; }

.argo-cookie-banner__text { flex: 1; }

.argo-cookie-banner a {
  color: var(--argo-primary);
  text-decoration: underline;
}

.argo-cookie-ok {
  flex: 0 0 auto;
  min-width: 58px;
  height: 34px;
  border: 0;
  border-radius: 20px;
  background: var(--argo-primary);
  color: #fff;
  cursor: pointer;
}

/* SSO/remember modal recreated with the captured dimensions and colors. */
.argo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
}

.argo-modal-backdrop.is-open { display: flex; }

.argo-modal {
  width: 500px;
  max-width: calc(100vw - 30px);
  background: #fff;
  border-radius: 6px;
  color: rgba(0,0,0,.87);
  box-shadow:
    0 16px 38px -12px rgba(0,0,0,.56),
    0 4px 25px 0 rgba(0,0,0,.12),
    0 8px 10px -5px rgba(0,0,0,.20);
}

.argo-modal-header {
  padding: 24px 24px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.argo-modal-title {
  margin: 0;
  color: #3c4858;
  font-size: 22.5px;
  font-weight: 400;
  line-height: 31.5px;
}

.argo-modal-close {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 26px;
  cursor: pointer;
}

.argo-modal-body {
  padding: 8px 24px 16px;
  color: #555;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  text-align: justify;
}

.argo-modal-footer {
  padding: 8px 24px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Required ownership/legal line, also repeated in the permanent disclosure. */
.argo-ownership {
  width: 100%;
  padding: 4px 18px 8px;
  color: #555;
  font-size: 9.5px;
  line-height: 1.25;
  text-align: center;
}

/* Recovery page */
.argo-recovery-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.argo-recovery-card {
  width: 413.625px;
  margin: 30px auto;
  padding: 0 27px 18px;
  border-radius: 6px;
  background: #fff;
  color: rgba(0,0,0,.87);
  text-align: center;
  box-shadow:
    0 2px 2px rgba(0,0,0,.14),
    0 3px 1px -2px rgba(0,0,0,.20),
    0 1px 5px rgba(0,0,0,.12);
}

.argo-recovery-card h3 {
  margin: 20px 0 10px;
  color: var(--argo-text);
  font-size: 22.5px;
  font-weight: 400;
  line-height: 31.5px;
}

.argo-recovery-description {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  text-align: justify;
}

@media (max-width: 991px) {
  .argo-promo-side { display: none; }
  .argo-card-container {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }
}

@media (max-width: 575px) {
  .argo-card-container {
    width: 100%;
    padding: 12px;
  }
  .argo-card {
    width: 100%;
    max-width: 413.625px;
    min-height: 0;
  }
  .argo-card-body,
  .argo-form,
  .argo-form-group,
  .argo-input,
  .argo-password-wrap,
  .argo-btn,
  .argo-provider-row,
  .argo-google-button,
  .argo-remember-row,
  .argo-login-error,
  .argo-login-error-title {
    width: 100%;
  }
  .argo-card-footer {
    width: 100%;
  }
  .argo-disclosure {
    font-size: 11px;
    padding: 7px 10px;
  }
}
