body{
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        font-family: 'Jost', sans-serif;
        background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
}

.login-wrap {
    position: relative;
    margin: 0 auto;
    background: #ecf0f1;
    width: 350px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px #333;
    padding: 15px;

    h2 {
      text-align: center;
      font-weight: 200;
      font-size: 2em;
      margin-top: 10px;
      color: #34495e;
    }

    .form {
      padding-top: 20px;

      input[type="text"],
      input[type="password"] {
        width: 80%;
        height: 40px;
        border-radius: 5px;
        outline: 0;
        -moz-outline-style: none;
      }

      button {
          width: 50%;
          margin-left: 25%;
          margin-bottom: 10px;
          height: 40px;
          border-radius: 5px;
          outline: 0;
          -moz-outline-style: none;
        }

      input[type="text"],
      input[type="password"] {
        border: 1px solid #bbb;
        padding: 0 0 0 10px;
        font-size: 18px;
        &:focus {
          border: 1px solid #3498db;
        }
      }

      .auth-link-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-top: 16px;
      }

      .auth-secondary-link {
        color: #1d4ed8;
        text-align: center;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;

        &:hover {
          color: #20afca;
        }
      }

      .auth-secondary-link--subtle {
        font-size: 15px;
        font-weight: 400;
      }

      button {
        background: #e74c3c;
        border:none;
        color: white;
        font-size: 20px;
        font-weight: 200;
        cursor: pointer;
        transition: box-shadow .4s ease;

        &:hover {
          box-shadow: 1px 1px 5px #555;
        }

        &:active {
            box-shadow: 1px 1px 7px #222;
        }

      }

    }

    &:after{
    content:'';
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    background:-webkit-linear-gradient(left,
        #27ae60 0%, #27ae60 20%,
        #8e44ad 20%, #8e44ad 40%,
        #3498db 40%, #3498db 60%,
        #e74c3c 60%, #e74c3c 80%,
        #f1c40f 80%, #f1c40f 100%
        );
       background:-moz-linear-gradient(left,
        #27ae60 0%, #27ae60 20%,
        #8e44ad 20%, #8e44ad 40%,
        #3498db 40%, #3498db 60%,
        #e74c3c 60%, #e74c3c 80%,
        #f1c40f 80%, #f1c40f 100%
        );
      height: 5px;
      border-radius: 5px 5px 0 0;
  }
}

.or
{
        display: block;
        width: 100%;
        height: 1px;
        border-bottom: 1px solid #dee3e4;
        position: relative;
        margin: 24px 0 18px;
}

.auth-provider-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.auth-provider-copy {
  margin: 0;
  color: #4e6278;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.auth-invite-notice {
  margin: 18px 0 6px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e3a8a;
  text-align: center;
}

.auth-invite-notice p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
}

.auth-invite-notice form {
  margin: 0;
}

.auth-invite-clear-button {
  border: 1px solid #c7d5e4;
  border-radius: 10px;
  background: #fff;
  color: #28425f;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  min-height: 32px;
  padding: 0 12px;
}

.auth-invite-clear-button:hover {
  border-color: #9fb4ca;
  background: #f8fbff;
  color: #1d4ed8;
}

.auth-invite-clear-button:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.28);
  outline-offset: 2px;
}

.auth-social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 290px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  box-sizing: border-box;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(32, 175, 202, 0.18);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.auth-social-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(32, 175, 202, 0.24);
  filter: brightness(1.02);
}

.auth-social-button:active {
  transform: translateY(0);
}

.auth-social-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
}

.auth-social-button__icon img{
  width: 18px;
  height: 18px;
}

body.login-page{
        padding: 24px 16px;
        box-sizing: border-box;
        background:
                radial-gradient(circle at top, rgba(85, 163, 186, 0.1), transparent 32%),
                linear-gradient(180deg, #171a39 0%, #1c2144 48%, #171b38 100%);
        color: #1f2d42;
}

body.login-page .login-wrap {
    width: min(460px, calc(100vw - 32px));
    box-sizing: border-box;
    padding: 26px 30px 24px;
    border-radius: 15px;
    border: 1px solid rgba(216, 225, 233, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow:
      0 18px 42px rgba(8, 12, 36, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.login-page .login-wrap h2 {
    margin: 14px 0 22px;
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #18233b;
}

body.login-page .login-wrap .form {
    padding-top: 0;
}

body.login-page .login-wrap .form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.login-page .login-wrap .form input[type="text"],
body.login-page .login-wrap .form input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: none;
    border-radius: 0 12px 12px 0;
    outline: none;
    box-sizing: border-box;
    background: transparent;
    color: #1f2d42;
    font-size: 1rem;
    font-weight: 500;
}

body.login-page .login-wrap .form input[type="text"]::placeholder,
body.login-page .login-wrap .form input[type="password"]::placeholder {
    color: #708094;
    opacity: 1;
}

body.login-page .login-wrap .form button {
    width: 100%;
    min-height: 54px;
    margin: 2px 0 0;
    border: none;
    border-radius: 12px;
    outline: none;
    background: linear-gradient(135deg, #3b93ad 0%, #2f88a3 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(47, 136, 163, 0.16);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.login-page .login-wrap .form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(47, 136, 163, 0.2);
    filter: brightness(1.01);
}

body.login-page .login-wrap .form button:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(47, 136, 163, 0.16);
}

body.login-page .login-wrap .form button:focus-visible {
    box-shadow:
      0 10px 20px rgba(47, 136, 163, 0.16),
      0 0 0 4px rgba(59, 147, 173, 0.18);
}

body.login-page .login-wrap .form .auth-link-stack {
    gap: 14px;
    padding-top: 16px;
}

body.login-page .login-wrap .form .auth-secondary-link {
    color: #5b6778;
    text-decoration-color: rgba(91, 103, 120, 0.35);
    transition: color .18s ease, text-decoration-color .18s ease;
}

body.login-page .login-wrap .form .auth-secondary-link:hover {
    color: #22324a;
    text-decoration-color: rgba(34, 50, 74, 0.45);
}

body.login-page .login-wrap .form .auth-secondary-link:focus-visible {
    outline: 2px solid rgba(59, 147, 173, 0.35);
    outline-offset: 4px;
    border-radius: 6px;
}

body.login-page .login-wrap .form .auth-secondary-link--subtle {
    font-size: 0.88rem;
    font-weight: 400;
}

body.login-page .login-wrap:after {
    height: 4px;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(90deg, rgba(76, 160, 184, 0.95) 0%, rgba(191, 205, 214, 0.85) 50%, rgba(234, 238, 242, 0.95) 100%);
}

body.login-page .login-wrap .env-brand-auth-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

body.login-page .login-wrap .env-brand-name-link {
    color: #17233b;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
}

body.login-page .login-wrap .env-brand-badge {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(182, 201, 212, 0.95);
    background: rgba(233, 240, 245, 0.95);
    color: #54718a;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

body.login-page .login-wrap .flash-messages {
    margin: 0 0 20px;
    padding: 0;
}

body.login-page .login-wrap .flash-messages > div {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 50px 14px 14px;
    border-radius: 12px;
    border: 1px solid #d6e2ea;
    background: #f7fbfd;
    color: #355264;
    box-sizing: border-box;
}

body.login-page .login-wrap .flash-messages > div::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 999px;
    font-family: FontAwesome;
    font-size: 1.15rem;
}

body.login-page .login-wrap .flash-messages .info {
    border-color: #c9dde6;
    background: #f7fbfd;
    color: #355264;
}

body.login-page .login-wrap .flash-messages .info::before {
    content: "\f05a";
    color: #3a90a8;
    background: rgba(58, 144, 168, 0.08);
}

body.login-page .login-wrap .flash-messages .success {
    border-color: #d5e6dc;
    background: #f7fbf8;
    color: #3f6651;
}

body.login-page .login-wrap .flash-messages .success::before {
    content: "\f058";
    color: #4f8b68;
    background: rgba(79, 139, 104, 0.08);
}

body.login-page .login-wrap .flash-messages .warning {
    border-color: #e7ddc9;
    background: #fcfaf5;
    color: #7f6842;
}

body.login-page .login-wrap .flash-messages .warning::before {
    content: "\f071";
    color: #9d7a3c;
    background: rgba(157, 122, 60, 0.08);
}

body.login-page .login-wrap .flash-messages .error {
    border-color: #ead4d3;
    background: #fff8f8;
    color: #8b5958;
}

body.login-page .login-wrap .flash-messages .error::before {
    content: "\f06a";
    color: #b36d6a;
    background: rgba(179, 109, 106, 0.08);
}

body.login-page .login-wrap .flash-messages p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.45;
}

body.login-page .login-wrap .flash-messages .clear-button {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #8794a3;
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1;
}

body.login-page .login-wrap .flash-messages .clear-button:hover {
    background: transparent;
    color: #4d6076;
    border-color: transparent;
}

body.login-page .login-wrap .input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 52px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d4dee6;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color .18s ease, box-shadow .18s ease;
}

body.login-page .login-wrap .input-group:focus-within {
    border-color: #70aec1;
    box-shadow: 0 0 0 4px rgba(112, 174, 193, 0.14);
}

body.login-page .login-wrap .input-group i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    flex: 0 0 50px;
    margin: 0;
    border-right: 1px solid #dbe4eb;
    color: #657489;
    font-size: 1.05rem;
}

body.login-page .login-wrap .input-group input {
    border: none;
    outline: none;
    flex: 1;
    padding: 0 16px;
    background-color: transparent;
}

body.login-page .login-wrap .auth-registration-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid #e1e8ee;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2d42;
    text-decoration: none;
}

body.login-page .login-wrap .auth-registration-link:hover {
    color: #17233b;
}

body.login-page .login-wrap .auth-registration-link__icon,
body.login-page .login-wrap .auth-registration-link__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3e95ae;
}

body.login-page .login-wrap .auth-registration-link__icon {
    font-size: 1.05rem;
}

body.login-page .login-wrap .auth-registration-link__chevron {
    font-size: 1.15rem;
}

body.login-page .or {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        width: auto;
        height: auto;
        border-bottom: none;
        margin: 22px 0 16px;
        color: #8b97a5;
        font-size: 0.86rem;
        font-weight: 600;
        letter-spacing: 0.08em;
}

body.login-page .or::before,
body.login-page .or::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #dbe4eb;
}

body.login-page .auth-provider-section {
    gap: 14px;
}

body.login-page .auth-provider-copy {
  max-width: 330px;
  color: #5f7085;
  font-size: 0.92rem;
  line-height: 1.45;
}

body.login-page .auth-social-button {
  gap: 12px;
  max-width: none;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #63a7bb;
  border-radius: 12px;
  background: #ffffff;
  color: #275f73;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 6px 14px rgba(10, 26, 47, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background-color .18s ease;
}

body.login-page .auth-social-button:hover {
  transform: translateY(-1px);
  border-color: #4f9db6;
  background: #f8fcfd;
  box-shadow: 0 8px 16px rgba(10, 26, 47, 0.08);
  color: #214f60;
}

body.login-page .auth-social-button:focus-visible {
  outline: 2px solid rgba(59, 147, 173, 0.28);
  outline-offset: 4px;
}

body.login-page .auth-social-button__icon {
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: transparent;
}

body.login-page .auth-social-button__icon img{
  width: 22px;
  height: 22px;
}

.input{
  position: relative;
  width: 90%;
  margin: 15px auto;

  span{
    position: absolute;
    display: block;
    color: darken(#EDEDED, 10%);
    left: 10px;
    top: 8px;
    font-size: 20px;
  }

  input{
    width: 100%;
    padding: 10px 5px 10px 40px;
    display: block;
    border: 1px solid #EDEDED;
    border-radius: 4px;
    transition: 0.2s ease-out;
    color: darken(#EDEDED, 30%);

    &:focus{
      padding: 10px 5px 10px 10px;
      outline: 0;
      border-color: #FF7052;
    }
  }
}
/* Input group styling */
.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%; /* Full width */
    border: none;
    outline: none;
}

/* Icon styling */
.input-group i {
    color: #333;
    font-size: 18px;
    margin-right: 10px; /* Space between icon and input field */
}

/* Input field styling */
.input-group input {
    border: none;
    outline: none;
    flex: 1; /* Allow input to take up remaining space */
    font-size: 16px;
    padding: 5px;
    background-color: transparent;
}

.verification-pending-copy {
  margin: 0 0 12px;
  color: #34495e;
  line-height: 1.5;
  text-align: center;
}

.verification-pending-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding-top: 10px;
}

.auth-accent-button {
  background: #20afca !important;
  color: #fff !important;
}

.auth-accent-button--nowrap {
  width: auto !important;
  min-width: 240px;
  margin: 0 !important;
  padding: 0 18px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  body.login-page {
    padding: 18px 12px;
  }

  body.login-page .login-wrap {
    width: calc(100vw - 24px);
    padding: 22px 18px 20px;
  }

  body.login-page .login-wrap h2 {
    margin: 12px 0 18px;
  }

  body.login-page .login-wrap .flash-messages > div {
    padding: 14px 44px 14px 14px;
  }

  body.login-page .login-wrap .auth-registration-link {
    gap: 10px;
    font-size: 0.95rem;
  }

  body.login-page .or {
    gap: 10px;
  }
}
