/* register-flow.css
   Styles for the Register -> RegisterConfirmation -> ConfirmEmail flow.
   Plain CSS only (no Tailwind/Bootstrap utility classes), per the
   site-wide CSS migration effort. */

/* ---- Step indicator (Register.cshtml, RegisterConfirmation.cshtml) ---- */

.register-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 1.75rem;
}

.register-steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.register-steps__circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #d0d5dd;
    color: #98a2b3;
    background: #fff;
}

.register-steps__item--current .register-steps__circle {
    border-color: #16a34a;
    color: #fff;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.register-steps__item--complete .register-steps__circle {
    border-color: #16a34a;
    color: #fff;
    background: #16a34a;
}

.register-steps__label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
    color: #667085;
    line-height: 1.2;
}

.register-steps__item--current .register-steps__label {
    color: #1d2939;
    font-weight: 600;
}

.register-steps__connector {
    flex: 1 1 auto;
    height: 2px;
    background: #d0d5dd;
    margin-top: 17px;
    max-width: 60px;
}

.register-steps__connector--complete {
    background: #16a34a;
}

@media (max-width: 480px) {
    .register-steps__item {
        width: 76px;
    }

    .register-steps__label {
        font-size: 0.68rem;
    }
}

/* ---- Next-step callout (RegisterConfirmation.cshtml) ---- */

.next-step-callout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background-color: #fff8e6;
    border: 1px solid #f0c360;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 20px;
    text-align: left;
}

.next-step-callout__icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.next-step-callout__text {
    font-size: 14px;
    color: #7a5b00;
    line-height: 1.5;
    margin: 0;
}

.next-step-callout__text strong {
    color: #5c4400;
}

/* ---- Page-level spacing for the Identity auth pages ---- */
/* Replaces Bootstrap's pt-5/mt-3/mb-5 utility classes on the outer
   page wrapper (container is kept as the grid/layout system; these
   two classes only replace the ad-hoc spacing utilities). */

.auth-page-wrapper {
    padding-top: 3rem;
    margin-top: 1rem;
}

.auth-page-wrapper--bottom-space {
    margin-bottom: 3rem;
}

/* Small muted note text, e.g. the confirmation-email reminder on
   Register.cshtml. Replaces Bootstrap's text-muted + an ad-hoc mb-4. */
.form-note {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}


.btn-brand {
    display: block;
    width: 100%;
    background-color: #16a34a;
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.15s ease;
}

.btn-brand:hover:not(:disabled) {
    background-color: #15803d;
}

.btn-brand:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.text-brand-link {
    color: #16a34a;
    text-decoration: none;
}

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

/* Narrow centered card used by the Identity auth pages (Login, ForgotPassword):
   90% wide on small screens, capped at 500px. */
.auth-card-wrap {
    width: 90%;
    max-width: 500px;
}
