@charset "utf-8";
/* ==========================================================================
   E-Indhan: Registration page (resources/views/registration-form.blade.php)
   Loaded after signin/css/login.css (shared design system); only adds what
   the registration form needs. Not used by any other page.
   ========================================================================== */

/* Wider card for the two-column form */
.card--wide { max-width: 560px; }

/* Two-column field grid on wider cards */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
}

.form-grid .field--full { grid-column: 1 / -1; }

/* +91 country prefix inside the mobile input */
.field__prefix {
    position: absolute;
    top: 50%;
    left: 14px;
    padding-right: 11px;
    border-right: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--ink-600);
    transform: translateY(-50%);
    pointer-events: none;
}

.field__input--prefixed { padding-left: 62px; letter-spacing: .02em; }

.field__hint {
    margin-top: 7px;
    font-size: 12.5px;
    color: var(--ink-500);
}

.field__hint + .field__error { margin-top: 4px; }

/* Hide the hint while an error for the same field is shown */
.field__control:has(.is-invalid) ~ .field__hint { display: none; }

.consent {
    margin: 2px 0 22px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-500);
}

.consent a {
    font-weight: 600;
    color: var(--ink-700);
    text-decoration: underline;
    text-decoration-color: rgba(51, 64, 51, .3);
    text-underline-offset: 2px;
}

.consent a:hover { color: var(--green-600); text-decoration-color: currentColor; }
.consent a:focus-visible { border-radius: 3px; outline: 2px solid var(--green-500); outline-offset: 2px; }

.card__foot-sep { margin: 0 8px; color: var(--ink-400); }

/* Brand panel: numbered steps (dark glass, linked by a glowing rail) instead of the feature grid */
.steps {
    display: grid;
    max-width: 440px;
    margin: auto 0 0;
    padding: 6px;
    list-style: none;
    counter-reset: none;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -24px rgba(0, 0, 0, .8);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
            backdrop-filter: blur(16px) saturate(140%);
}

.step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background-color .25s ease;
}

.step:hover { background: rgba(255, 255, 255, .06); }

/* Rail between consecutive step numbers */
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 27px;
    top: calc(50% + 17px);
    width: 2px;
    height: calc(100% - 34px);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(134, 222, 50, .8), rgba(86, 183, 0, .15));
    box-shadow: 0 0 8px rgba(86, 183, 0, .5);
}

.step__num {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(134, 222, 50, .45);
    font-size: 13px;
    font-weight: 800;
    color: #c6f58a;
    background: rgba(86, 183, 0, .16);
    box-shadow: 0 0 18px -4px rgba(86, 183, 0, .7);
}

.step__title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.step__text {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .66);
}

/* Short desktop screens */
@media (min-width: 992px) and (max-height: 900px) {
    .step__text { display: none; }
}

@media (min-width: 992px) and (max-height: 760px) {
    .step { padding: 7px 12px; }
}

@media (min-width: 992px) and (max-height: 620px) {
    .steps { display: none; }
}

/* Tablet & mobile */
@media (max-width: 991px) {
    .steps { display: none; }
}

/* Single-column form on narrow cards */
@media (max-width: 560px) {
    .form-grid { grid-template-columns: minmax(0, 1fr); }
}
