/* Display font for auth headings — same rule as homepage.css so the
   standalone login/contact pages (which don't load homepage.css) match. */
.font-display {
    font-family: "Space Grotesk", "Google Sans Flex", sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.signup-card {
    border: 0;
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.08);
}

.signup-section-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.signup-card .card-header {
    background-color: #fff;
    border-bottom: 1px solid #eef0f3;
    padding: 18px 22px 14px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.signup-card .card-body {
    padding: 20px 22px 22px;
}

.signup-input-group .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-right: 0;
    color: var(--bs-gray);
    font-size: 13px;
}

.signup-input-group .form-control {
    border-left: 0;
}

.signup-input-group .form-control:focus {
    box-shadow: none;
}

.signup-input-group:focus-within {
    border-radius: 0.5rem;
    box-shadow: 0 0 0 0.2rem rgba(17, 110, 203, 0.12);
}

.signup-input-group:focus-within .input-group-text,
.signup-input-group:focus-within .form-control {
    border-color: #a5c6f5;
}

.signup-input-group .form-control.is-invalid {
    background-image: none;
}

.signup-input-group:has(.form-control.is-invalid) .input-group-text {
    border-color: var(--bs-form-invalid-border-color);
    color: var(--bs-form-invalid-color);
    background-color: rgba(220, 53, 69, 0.06);
}

.signup-input-group:has(.form-control.is-invalid):focus-within {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12);
}

.input-group:has(.form-control.is-invalid) ~ .invalid-feedback,
.input-icon-wrapper:has(.form-control.is-invalid) ~ .invalid-feedback{
    display: block;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    z-index: 5;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--bs-gray);
    border-radius: 6px;
    font-size: 16px;
}

.password-toggle:hover {
    background-color: #f1f3f5;
    color: #212529;
}

.password-toggle .bi {
    position: static;
    transform: none;
    color: inherit;
}

.input-icon-wrapper.has-toggle .form-control {
    padding-right: 2.8rem;
}

.signup-submit {
    font-weight: 600;
    border-radius: 10px;
}

/* Auth/modal action buttons — homepage ink palette, self-contained
   (independent of the .landing-scoped --lp-* tokens used on the landing page). */
.signup-btn-dark {
    background-color: #0b1220;
    color: #fff;
    border: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.signup-btn-dark:hover,
.signup-btn-dark:focus {
    background-color: #1a2436;
    color: #fff;
}

.signup-btn-ghost {
    background-color: transparent;
    color: #0b1220;
    border: 1px solid rgba(11, 18, 32, 0.18);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.signup-btn-ghost:hover,
.signup-btn-ghost:focus {
    background-color: #f8f9fa;
    border-color: rgba(11, 18, 32, 0.34);
    color: #0b1220;
}

.signup-footer-text {
    font-size: 13.5px;
    color: var(--bs-gray);
}

.iti {
    display: block;
    width: 100%;
}

#loginErrorAlert {
    border: 0;
    border-left: 3px solid var(--bs-danger);
    background-color: rgba(var(--bs-danger-rgb), 0.06);
    color: var(--bs-danger);
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#loginErrorAlert .bi {
    font-size: 15px;
    line-height: 1;
}

.contact-step-title {
    font-weight: 600;
    font-size: 13.5px;
    color: #1a1d21;
    line-height: 1.2;
}

.contact-step-desc {
    font-size: 12px;
    color: var(--bs-gray);
    line-height: 1.3;
}

/* ===== Progress stepper (dot indicators + gapless connector) =====
   Hollow dots = upcoming, filled cool-blue dot = current step.
   The connector is a pseudo-element spanning dot-center to dot-center,
   so there are no floating gaps between steps. */
.step-track {
    display: flex;
    align-items: flex-start;
}

.step-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    min-width: 0;
}

.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e2e5ea;
    z-index: 0;
}

.step-dot {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    min-width: 20px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ced4da;
}

.step-item.is-active .step-dot {
    background: #4aa8e0;
    border-color: #4aa8e0;
    box-shadow: 0 0 0 4px rgba(74, 168, 224, 0.16);
}

.contact-perk {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}

.contact-perk:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-perk:first-child {
    padding-top: 0;
}

.contact-perk-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
}

.contact-perk-title {
    font-weight: 600;
    font-size: 14px;
    color: #1a1d21;
    margin-bottom: 2px;
}

.contact-perk-desc {
    font-size: 12.5px;
    color: var(--bs-gray);
    line-height: 1.45;
}