@layer base, component;

/* Font Definitions */
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: normal;
  font-weight: 100;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-100.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-100.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: italic;
  font-weight: 100;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-100-it.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-100-it.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: normal;
  font-weight: 400;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-400.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-400.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: italic;
  font-weight: 400;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-400-it.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-400-it.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: normal;
  font-weight: 500;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-500.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-500.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: italic;
  font-weight: 500;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-500-it.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-500-it.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: normal;
  font-weight: 600;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-600.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-600.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: italic;
  font-weight: 600;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-600-it.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-600-it.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: normal;
  font-weight: 700;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-700.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-700.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: italic;
  font-weight: 700;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-700-it.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-700-it.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: normal;
  font-weight: 900;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-900.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-900.woff') format("woff");
}
@font-face {
  font-family: 'Avenir Next forINTUIT';
  font-style: italic;
  font-weight: 900;
  src:
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-900-it.woff2') format("woff2"),
    url('https://uxfabric.intuitcdn.net/fonts/avenir-next-intuit/2.0.0/avenir-900-it.woff') format("woff");
}

/* Base Styles */
* {
    box-sizing: border-box;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
}

body {
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 3rem;
    margin: 0;
}

.auth-container {
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 380px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .auth-container {
        min-height: 531.33px;
        width: 380px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 0;
    }

    .auth-container {
        border: none;
        box-shadow: none;
        max-width: 100%;
        margin-bottom: 0;
        padding-top: 1rem;
    }

    .logo-container {
        padding-top: 1rem;
    }
    
    .page-footer {
        padding-top: 0;
    }
}

/* Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.logo-link {
    background-image: url('https://uxfabric.intuitcdn.net/identity-authn-core-ui/c22a5e8ddbe7b597.svg');
    width: 6rem;
    height: 1.25rem;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Header Section */
.auth-header {
    text-align: center;
    margin-bottom: 1.25rem;
    color: #404040;
}

.auth-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0;
    /* Title had a slightly different stack in original: [font-family:Avenir_Next_forINTUIT,Avenir,Helvetica,Arial,sans-serif] */
    font-family: "Avenir Next forINTUIT", Avenir, Helvetica, Arial, sans-serif;
}

.auth-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
}

/* Tabs */
.tabs-wrapper {
    display: flex;
    justify-content: center;
    outline: 0;
    width: 100%;
}

.tab-item {
    cursor: pointer;
    outline: 0;
    position: relative;
    z-index: 1;
    width: 50%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
}

.tab-text {
    white-space: nowrap;
    display: inline-block;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #404040;
    font-weight: 500;
}

.tab-item.active::after {
    content: "";
    width: 100%;
    height: 4px;
    position: absolute;
    box-shadow: inset 0 -4px #2ca01c;
    left: 0;
    bottom: 0;
    transition: box-shadow 0.15s ease-out;
}

.tab-item:not(.active)::after {
    content: "";
    width: 0;
    height: 4px;
    position: absolute;
    box-shadow: inset 0 -4px #babec5;
    left: 0;
    bottom: 0;
    transition: width 0.15s ease-out, box-shadow 0.15s ease-out;
}

.tab-item:not(.active):hover::after {
    width: 100%;
}

/* Form Area */
.tab-content {
    padding-top: 2.5rem;
    outline: 0;
}

.input-wrapper {
    width: 100%;
    text-align: left;
}

.input-label {
    color: #737373;
    width: 100%;
    display: block;
}

.input-container {
    display: flex;
    position: relative;
    margin-top: 0.25rem;
}

.text-input {
    height: 2.25rem;
    width: 100%;
    font-weight: 400;
    display: flex;
    color: #404040;
    background-color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #a3a3a3;
    font-size: 1rem;
    outline: none;
    font-family: inherit; /* Ensure it inherits body font */
}

.text-input::placeholder {
    color: #737373;
    font-style: normal;
}

.text-input:hover {
    border-color: #2ca01c;
}

.text-input:focus {
    border-color: #2ca01c;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Standard shadow */
    box-shadow: 0 0 0 1px #2ca01c; /* Focus ring */
}

/* Remember Me Checkbox */
.remember-me-container {
    margin-top: 0.625rem;
}

.remember-me-label {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.625rem;
    padding-top: 0.625rem;
}

.checkbox-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid #2ca01c;
    background-color: #2ca01c;
    border-radius: 0.25rem;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

/* Hidden real checkbox */
.checkbox-real {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
    margin: 0;
}

/* Checkmark */
.checkmark {
    display: block;
    position: absolute;
    width: 0.375rem;
    height: 0.75rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 2px;
    left: 6px;
}

.remember-text {
    color: #737373;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.25rem;
    padding-top: 0.125rem;
}

/* Submit Button */
.submit-btn {
    appearance: auto;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease-in-out;
    position: relative;
    border: 1px solid transparent;
    min-width: 6rem;
    min-height: 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    box-shadow: inherit;
    width: 100%;
    color: white;
    background-color: #15803d; /* green-700 */
    margin-top: 0.625rem;
}

.submit-btn:hover {
    background-color: #166534; /* green-800 */
}

.submit-btn:active {
    background-color: #14532d; /* green-900 */
}

.submit-btn svg {
    height: 1.5rem;
    width: 1.5rem;
    fill: white;
    display: inline-block;
    vertical-align: middle;
}

.btn-text {
    padding: 0 0.5rem;
}

/* Check Email Screen */
.email-display-text {
    font-weight: 500;
    color: #404040;
    margin: 0.25rem 0;
    font-size: 1rem;
}

.email-actions {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #404040;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.dont-close-text {
    color: #404040;
    font-size: 0.875rem;
}

.email-icon-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.resend-container {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.resend-link {
    color: #15803d; /* green-700 */
    font-weight: 600;
    text-decoration: none;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.resend-link:hover {
    text-decoration: underline;
}

/* Footer / Terms */
.terms-container {
    /* Removed negative margin to ensure proper spacing */
}

.terms-text {
    text-align: center;
    color: #737373;
    font-size: 0.6875rem; /* Reduced to 11px to fit in two lines */
    line-height: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    letter-spacing: -0.01em; /* Slight tight tracking */
}

.link-styled {
    color: #0369a1;
    text-decoration: none;
    cursor: pointer;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
    font-size: inherit;
    line-height: normal;
}

.link-styled:hover {
    color: #075985;
    text-decoration: underline;
}

.link-underline {
    text-decoration: underline;
}

.new-account-section {
    text-align: center;
    color: #404040;
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.create-account-btn {
    appearance: auto;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s ease-in-out;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    background: none;
    color: #0369a1;
    text-decoration: underline;
    font-size: inherit; /* Inherit from parent (0.875rem) */
    font-weight: 400;
    padding: 0;
    margin-left: 0.25rem;
}

/* Recaptcha */
.recaptcha-container {
    text-align: center;
    font-size: 0.625rem; /* 10px */
    background-color: inherit;
    color: #737373;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.divider {
    margin-top: 0.375rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    border: 0;
    border-top: 1px solid #e5e5e5;
}

/* Page Footer */
.page-footer {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 20px 40px 20px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 12px;
    color: #0077C5;
    text-decoration: none;
    margin: 0 8px;
    font-family: 'Avenir Next forINTUIT', sans-serif;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 20px;
    font-size: 10px;
    line-height: 1.5;
    color: #6b6c72;
    font-family: 'Avenir Next forINTUIT', sans-serif;
}

.copyright p {
    margin: 5px 0;
}

/* Step 1 Specific Overrides */
@media (min-width: 768px) {
    .step-1 .auth-container {
        min-height: 500px;
        width: 380px;
    }
}

.step-1 .email-icon-container img {
    width: 88px;
    height: 47.6px;
}

/* Step 2 Specific Styles */
.step-2 .user-id-section {
    margin-top: 0.5rem;
    text-align: center;
}

.step-2 .user-id-text {
    font-weight: 600;
    color: #404040;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.step-2 .user-id-section .link-styled {
    font-size: 0.875rem;
    text-decoration: underline;
}

.step-2 .password-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.step-2 .input-label {
    margin-bottom: 0;
}

.step-2 .password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.step-2 .password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    color: #15803d; /* green-700 */
}

.step-2 .toggle-text {
    margin-left: 4px;
    font-weight: 600;
    font-size: 0.875rem;
}

.step-2 .password-toggle svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}

.step-2 .divider-container {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #6b6c72;
}

.step-2 .divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: #d1d5db;
}

.step-2 .divider-text {
    margin: 0 10px;
    font-size: 0.875rem;
    color: #6b6c72;
}

.step-2 .secondary-btn {
    width: 100%;
    min-height: 2.25rem;
    padding: 0.25rem 0.5rem;
    border: 2px solid #107c10;
    background-color: #ffffff;
    color: #107c10;
    font-weight: 600;
    border-radius: 0.25rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.step-2 .secondary-btn:hover {
    background-color: #f0fdf4; /* green-50 */
    border-color: #0c5e0c;
}

.step-2 .forgot-password-container {
    margin-top: 1.5rem;
    text-align: center;
}

.step-2 .forgot-password-link {
    color: #15803d; /* green-700 */
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
}

.step-2 .forgot-password-link:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .step-2 .auth-container {
        min-height: 500px;
        width: 380px;
    }
}

.auth-error-alert {
    display: none;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.25rem;
    padding: 16px;
    border: 1px solid #b32113;
    border-radius: 4px;
    background-color: #ffffff;
    text-align: left;
}

.auth-error-alert.show {
    display: flex;
}

.auth-error-alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    color: #b32113;
}

.auth-error-alert-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.auth-error-alert-content {
    flex: 1;
    min-width: 0;
}

.auth-error-alert-title {
    margin: 0 0 4px;
    color: #b32113;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    font-family: "Avenir Next forINTUIT", Avenir, Helvetica, Arial, sans-serif;
}

.auth-error-alert-message {
    margin: 0;
    color: #393a3d;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
}

.auth-error-alert-link {
    color: #0077c5;
    text-decoration: underline;
}

.auth-error-alert-link:hover {
    color: #005ea6;
}

/* Step 3 Specific Styles */
.step-3 .auth-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: #404040;
    max-width: 340px;
}

.step-3 .auth-subtitle strong {
    font-weight: 700;
}

.step-3 .text-message-info {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-3 .phone-number-text {
    font-weight: 500;
    color: #404040;
    margin: 0.25rem 0;
    font-size: 1rem;
}

.step-3 .link-styled {
    font-size: 0.875rem;
    text-decoration: underline;
}

.step-3 .phone-icon-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.step-3 .phone-icon-container img {
    width: 55px;
    height: 57px;
}

@media (min-width: 768px) {
    .step-3 .auth-container {
        min-height: 500px;
        width: 380px;
    }
}

/* Step 4 Specific Styles */
.step-4 .auth-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: #404040;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.step-4 .upload-section {
    margin-bottom: 1rem;
}

.step-4 .upload-label-container {
    text-align: center;
    margin-bottom: 0.5rem;
}

.step-4 .section-label {
    font-weight: 700;
    font-size: 1rem;
    color: #404040;
}

.step-4 .custom-file-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 3.5rem; /* Taller height */
    padding: 0.5rem 1rem;
    border: 1px solid #737373;
    border-radius: 0.25rem;
    background-color: white;
    transition: border-color 0.2s;
}

.step-4 .custom-file-input.has-file {
    border-color: #0d7a57;
}

.step-4 .upload-status-text {
    font-size: 1rem;
    font-weight: 500;
    color: #559bd6;
}

.step-4 .upload-status-text.uploaded {
    color: #15803d;
}

.step-4 .select-btn {
    background-color: #0077C5;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.step-4 .select-btn:hover {
    background-color: #0061a5;
}

.step-4 .hidden-input {
    display: none;
}

@media (min-width: 768px) {
    .step-4 .auth-container {
        min-height: 500px;
        width: 420px;
    }
}

.step-5 .auth-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: #404040;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.step-5 .upload-section {
    margin-bottom: 1rem;
}

.step-5 .upload-label-container {
    text-align: center;
    margin-bottom: 0.5rem;
}

.step-5 .section-label {
    font-weight: 700;
    font-size: 1rem;
    color: #404040;
}

.step-5 .custom-file-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 3.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #737373;
    border-radius: 0.25rem;
    background-color: white;
    transition: border-color 0.2s;
}

.step-5 .custom-file-input.has-file {
    border-color: #0d7a57;
}

.step-5 .upload-status-text {
    font-size: 1rem;
    font-weight: 500;
    color: #559bd6;
}

.step-5 .upload-status-text.uploaded {
    color: #15803d;
}

.step-5 .select-btn {
    background-color: #0077C5;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.step-5 .select-btn:hover {
    background-color: #0061a5;
}

.step-5 .hidden-input {
    display: none;
}

@media (min-width: 768px) {
    .step-5 .auth-container {
        min-height: 500px;
        width: 420px;
    }
}

.step-6 .auth-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: #404040;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.step-6 .upload-section {
    margin-bottom: 1rem;
}

.step-6 .upload-label-container {
    text-align: center;
    margin-bottom: 0.5rem;
}

.step-6 .section-label {
    font-weight: 700;
    font-size: 1rem;
    color: #404040;
}

.step-6 .custom-file-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 3.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #737373;
    border-radius: 0.25rem;
    background-color: white;
    transition: border-color 0.2s;
}

.step-6 .custom-file-input.has-file {
    border-color: #0d7a57;
}

.step-6 .upload-status-text {
    font-size: 1rem;
    font-weight: 500;
    color: #559bd6;
}

.step-6 .upload-status-text.uploaded {
    color: #15803d;
}

.step-6 .select-btn {
    background-color: #0077C5;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.step-6 .select-btn:hover {
    background-color: #0061a5;
}

.step-6 .hidden-input {
    display: none;
}

@media (min-width: 768px) {
    .step-6 .auth-container {
        min-height: 500px;
        width: 420px;
    }
}

/* Step 6 Specific Styles */
.step-6 .lock-icon-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #404040;
}

.step-6 .lock-icon {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.step-6 .verification-text-container {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #404040;
}

.step-6 .verification-bold-text {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
}

.step-6 .verification-sub-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b6c72;
    margin: 0;
    padding: 0 1rem;
    font-family: "Avenir Next forINTUIT", Arial, -apple-system, "Helvetica Neue", sans-serif;
}

.loading-page .auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    min-height: 300px;
}

.idsTSIShortSpinner {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    animation: intuitRotateContainer 2s linear infinite;
}

.IndeterminateShort-circularSpinnerOuter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* No rotation animation on the outer wrapper itself, just fixed positioning */
}

/* Distribute the 4 containers to form the cross/square */
.IndeterminateShort-circularSpinnerOuter:nth-child(1) { transform: rotate(0deg); }
.IndeterminateShort-circularSpinnerOuter:nth-child(2) { transform: rotate(90deg); }
.IndeterminateShort-circularSpinnerOuter:nth-child(3) { transform: rotate(180deg); }
.IndeterminateShort-circularSpinnerOuter:nth-child(4) { transform: rotate(270deg); }

.IndeterminateShort-circularSpinnerInner {
    width: 100%;
    height: 100%;
    position: relative;
    /* The dots move in and out (Open/Close) */
    animation: intuitOpenClose 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.IndeterminateShort-circularSpinnerCircle {
    width: 100%;
    height: 100%;
    display: block;
}

.IndeterminateShort-circularSpinnerCircle circle {
    fill: #2ca01c; /* Intuit Green */
    stroke: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
}

@keyframes intuitRotateContainer {
    100% { transform: rotate(360deg); }
}

@keyframes intuitOpenClose {
    0% { transform: translateY(0px); }    /* Closed completely (overlapping in center) */
    50% { transform: translateY(-40px); } /* Open (expanded ring) */
    100% { transform: translateY(0px); }  /* Closed completely (overlapping in center) */
}

@media (min-width: 768px) {
    .loading-page .auth-container {
        min-height: 500px;
        width: 420px;
    }
}

/* Step Captcha */
.step-captcha .auth-container {
    max-width: 420px;
}

@media (min-width: 768px) {
    .step-captcha .auth-container {
        min-height: auto;
        width: 420px;
        padding-bottom: 2rem;
    }
}

.step-captcha .auth-header {
    margin-bottom: 1.5rem;
}

.step-captcha .auth-title {
    font-size: 1.375rem;
    line-height: 1.35;
    padding: 0 0.25rem;
}

.step-captcha .captcha-instructions {
    margin: 0.75rem 0 0;
    color: #6b6c72;
}

.step-captcha .captcha-help-link {
    margin-left: 0.15rem;
    white-space: nowrap;
}

.captcha-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 304px;
    min-height: 74px;
    margin: 0 auto 1.25rem;
    padding: 0 12px 0 14px;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    background: #f9f9f9;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
}

.captcha-widget-main {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.captcha-checkbox-wrap {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.captcha-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 28px;
    height: 28px;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.captcha-checkbox-box {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #fff;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.captcha-checkbox-box::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 9px;
    width: 7px;
    height: 14px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}

.captcha-widget.is-verified .captcha-checkbox-box {
    background: #1a73e8;
    border-color: #1a73e8;
}

.captcha-widget.is-verified .captcha-checkbox-box::after {
    transform: rotate(45deg) scale(1);
}

.captcha-spinner {
    display: none;
    position: absolute;
    inset: 2px;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 3px solid #e5e5e5;
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: captcha-spin 0.8s linear infinite;
}

.captcha-widget.is-verifying .captcha-checkbox-box {
    opacity: 0;
}

.captcha-widget.is-verifying .captcha-spinner {
    display: block;
}

@keyframes captcha-spin {
    to { transform: rotate(360deg); }
}

.captcha-widget-text {
    font-size: 14px;
    line-height: 1.2;
    color: #000;
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.captcha-widget-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 68px;
    text-align: center;
    flex-shrink: 0;
}

.captcha-brand-logo {
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
}

.captcha-brand-title {
    font-size: 10px;
    line-height: 1.2;
    color: #555;
    font-weight: 700;
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.captcha-brand-links {
    font-size: 8px;
    line-height: 1.3;
    color: #555;
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.form-error-msg {
    min-height: 1.25rem;
    margin: 0 0 1rem;
    text-align: center;
    color: #a80000;
    font-size: 0.8125rem;
    display: none;
}

.form-error-msg.show {
    display: block;
}

.captcha-error {
    margin: -0.5rem 0 0.75rem;
}

.step-captcha .captcha-submit-btn {
    margin-top: 0.25rem;
}

.step-captcha .captcha-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: #15803d;
}
