.rect1 {
    z-index: 1;
    stroke-dasharray: 345 512;
    stroke-dashoffset: -857;
    transition: stroke-width 1s, stroke-dashoffset 1s, stroke-dasharray 1s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);

    stroke: #000;
    stroke-width: 2px;
    fill: rgba(215,235,255,0);
}

.rect2 {
    z-index: 1;
    stroke-dasharray: 344 443;
    stroke-dashoffset: -1217;
    transition: stroke-width 1s, stroke-dashoffset 1s, stroke-dasharray 1s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);

    stroke: #000;
    stroke-width: 2px;
    fill: rgba(215,235,255,0);
}

.input-item {
  display: flex;
  align-items: center;
  width: calc(100% - 20px);
  height: 36px;
  margin-bottom: 14px
}

.username {
  position: relative;
  display: flex;
  align-self: center;
  border: none;
  background: transparent;
  color: #000;
  width: 100%;
  height: auto;
  z-index: 100;
  font-family: 'Nunito Sans', sans-serif;
  transition: all 600ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
  padding: .6rem .5rem;
  font-size: 14px;
  top: -2px;
}

.username:focus {
  outline-width: 0;
  outline: none;
}

.username::placeholder {
  font-family: 'Nunito Sans', sans-serif;
}

.username::-webkit-input-placeholder {
  font-family: 'Nunito Sans', sans-serif;
}

.username::-moz-placeholder {
  font-family: 'Nunito Sans', sans-serif;
}

.username:-ms-input-placeholder {
  font-family: 'Nunito Sans', sans-serif;
}

.password {
  position: relative;
  display: flex;
  align-self: center;
  border: none;
  background: transparent;
  color: #000;
  width: 100%;
  height: auto;
  z-index: 100;
  font-family: 'Nunito Sans', sans-serif;
  transition: all 600ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
  padding: .6rem .5rem;
  font-size: 14px;
  top: -2px;
}

.password:focus {
  outline-width: 0;
  outline: none;
}

.password::placeholder {
  font-family: 'Nunito Sans', sans-serif;
}

.password::-webkit-input-placeholder {
  font-family: 'Nunito Sans', sans-serif;
}

.password::-moz-placeholder {
  font-family: 'Nunito Sans', sans-serif;
}

.password:-ms-input-placeholder {
  font-family: 'Nunito Sans', sans-serif;
}

.sign-in-options {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-flow: row;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
}

.sign-in-options .or {
  margin: 0 .4rem;
  position: relative;
  display: flex;
  align-self: center;
  justify-content: center;
  font-size: 1rem;
  color: #000000;
  letter-spacing: .1rem;
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: bold;
  opacity: .3;
}

.providers-wrapper {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sign-in-options button {
    height: 48px;
}

.validation-summary-errors ul {
    position: relative;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    margin-top: 0;
}

.validation-summary-errors li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    font-weight: 400;
    color: #F2003C;
    font-size: 14px;
}

#cookie-sniffer {
    padding: 35px 0;
    display: none;
}

.forgot-password    {
    display: flex;
    width: 100%;
    height: 50px;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
}

.forgot-password a {
    text-decoration: none;
    font-family: Nunito Sans;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.2px;
    text-align: center;
    color: #2db0aa;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

.passwordless-form {
    margin-top: 20px;
}

.password-form {
    margin-top: 20px;
}

.passwordless-form .sign-in-options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-flow: row;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
}

.passwordless-message {
    margin-top: 15px;
    text-align: center;
    display: none;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.signup-link a {
    color: #2db0aa;
    text-decoration: none;
    font-family: Nunito Sans;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.2px;
    text-align: center;
}

.signup-link a:hover {
    text-decoration: underline;
}

.login-link a {
    color: #2db0aa;
    text-decoration: none;
    font-family: Nunito Sans;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.2px;
    text-align: center;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Passwordless Signup Styles */
.signup-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.signup-header {
    text-align: center;
    margin-bottom: 30px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
    position: relative;
    min-height: 20px;
}

.signup-form label {
    display: block;
    margin-bottom: 0;
    font-weight: bold;
    color: #333;
    font-size: 14px;
    flex: 1;
}

.signup-form input[type="text"],
.signup-form input[type="email"] {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
    box-sizing: border-box;
    margin: 0;
}

.signup-form input:focus {
    outline: none;
    border-color: #2db0aa;
    box-shadow: 0 0 5px rgba(45,176,170,0.3);
}

.signup-form input::placeholder {
    font-family: 'Nunito Sans', sans-serif;
}

.signup-form input::-webkit-input-placeholder {
    font-family: 'Nunito Sans', sans-serif;
}

.signup-form input::-moz-placeholder {
    font-family: 'Nunito Sans', sans-serif;
}

.signup-form input:-ms-input-placeholder {
    font-family: 'Nunito Sans', sans-serif;
}

.signup-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #672771 0%, #8e44ad 100%);
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin: 10px auto;
}

.signup-btn:hover {
    background: linear-gradient(135deg, #5a1f5a 0%, #7a3a9a 100%);
}

.signup-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.signup-form .field-validation-error {
    display: inline-block;
    color: #dc3545;
    font-size: 12px;
    margin: 0;
    text-align: right;
    max-width: 55%;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
    vertical-align: bottom;
    flex-shrink: 1;
}

.signup-form .input-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 50px;
}

/* Passwordless Signup Complete Styles */
.signup-complete-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.success-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
}

.signup-complete-header h2 {
    color: #28a745;
    margin-bottom: 10px;
}

.signup-complete-header p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
}

.signup-complete-container .email-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-weight: bold;
    color: #333;
    border-left: 4px solid #28a745;
}

.next-steps {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    border-left: 4px solid #007bff;
}

.next-steps h4 {
    color: #007bff;
    margin-bottom: 10px;
}

.next-steps ul {
    text-align: left;
    margin: 0;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 8px;
    color: #555;
}

.login-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #672771 0%, #8e44ad 100%);
    color: white;
    text-decoration: none;
    border-radius: 2rem;
    font-weight: bold;
    transition: background 0.3s;
    margin-top: 20px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #5a1f5a 0%, #7a3a9a 100%);
    text-decoration: none;
    color: white;
}

.support-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

@media (max-width: 430px) {
    .container {
        position: relative;
        display: flex;
        flex-flow: column;
        width: 345px;
        overflow: visible;
    }

    .header img {
        position: relative;
        width: 83%;
        left: 0;
        height: auto;
    }

    button {
        margin-top: 1.5rem;
    }

    .sign-in-options {
        justify-content: left;
        flex-flow: column;
        align-items: center;
    }

    .sign-in-options .or {
        margin: 1rem 0 0;
    }

    .sign-in-options a {
        margin: 1rem 0 0 .875rem;
    }

    .validation-summary-errors li {
        text-align: center;
    }
}
