/* דפי התחברות / הרשמה — עיצוב מודרני */

.auth-page {
    --auth-radius: 16px;
    --auth-border: rgba(219, 172, 182, 0.45);
    --auth-text: #33292b;
    --auth-muted: #6f5a5e;
    padding-top: 28px;
    padding-bottom: 48px;
}

.auth-breadcrumb {
    margin-bottom: 20px;
}

.auth-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--auth-muted);
}

.auth-breadcrumb__list a {
    color: var(--auth-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-breadcrumb__list a:hover {
    color: var(--ff-primary, #a85d6b);
}

.auth-breadcrumb__sep {
    opacity: 0.5;
}

.auth-breadcrumb__current {
    color: var(--auth-text);
    font-weight: 600;
}

.auth-shell {
    background: #fff;
    border: 1px solid var(--auth-border);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(47, 38, 40, 0.08);
    padding: 28px;
    overflow: hidden;
}

.auth-intro {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px 8px 12px 4px;
    position: relative;
}

.auth-intro__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ff-primary, #a85d6b);
}

.auth-intro__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--auth-text);
    margin: 0;
    line-height: 1.2;
}

.auth-intro__subtitle {
    font-size: 15px;
    line-height: 1.65;
    color: var(--auth-muted);
    margin: 0;
    max-width: 34ch;
}

.auth-intro__benefits {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-intro__benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4f4043;
}

.auth-intro__benefits i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--ff-primary-light, #fff5f7);
    color: var(--ff-primary, #a85d6b);
    font-size: 16px;
    flex-shrink: 0;
}

.auth-intro__visual {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    justify-content: center;
}

.auth-intro__visual i {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 48px;
    color: #fff;
    background: linear-gradient(145deg, var(--ff-primary, #a85d6b) 0%, #c97a88 100%);
    box-shadow: 0 16px 40px rgba(168, 93, 107, 0.35);
}

.auth-card {
    background: linear-gradient(160deg, #fff 0%, #fffafb 100%);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.auth-card__head {
    margin-bottom: 24px;
}

.auth-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--auth-text);
    margin: 0 0 6px;
}

.auth-card__subtitle {
    font-size: 14px;
    color: var(--auth-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label {
    font-size: 13px;
    font-weight: 600;
    color: #4f4043;
    margin: 0;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 14px;
    transform: translateY(-50%);
    color: #9a8488;
    font-size: 16px;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px 10px 42px;
    border: 1px solid #e8d4da;
    border-radius: 12px;
    background: #fff;
    color: var(--auth-text);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[dir="rtl"] .auth-input {
    padding: 10px 42px 10px 14px;
}

.auth-input:focus {
    outline: none;
    border-color: var(--ff-primary, #a85d6b);
    box-shadow: 0 0 0 3px rgba(168, 93, 107, 0.15);
}

.auth-input::placeholder {
    color: #b5a3a7;
}

.auth-error {
    font-size: 12px;
    color: #b42318;
}

.auth-alert {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
}

.auth-alert--error {
    background: #fdecec;
    color: #b42318;
    border: 1px solid #f5c2c7;
}

.auth-alert:empty {
    display: none;
}

.auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.auth-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.auth-check__box {
    width: 20px;
    height: 20px;
    border: 2px solid #d4b8c0;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.auth-check input:checked + .auth-check__box {
    background: var(--ff-primary, #a85d6b);
    border-color: var(--ff-primary, #a85d6b);
    box-shadow: inset 0 0 0 3px #fff;
}

.auth-check__label {
    font-size: 14px;
    color: #4f4043;
}

.auth-submit {
    min-height: 50px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 4px;
}

.auth-card__footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1dde2;
    text-align: center;
    font-size: 14px;
    color: var(--auth-muted);
}

.auth-link {
    color: var(--ff-primary, #a85d6b);
    font-weight: 600;
    text-decoration: none;
    margin-inline-start: 4px;
}

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

@media (max-width: 991.98px) {
    .auth-shell {
        padding: 20px 16px;
    }

    .auth-intro {
        text-align: center;
        align-items: center;
        padding-bottom: 0;
    }

    .auth-intro__subtitle {
        max-width: none;
    }

    .auth-intro__visual {
        display: none;
    }

    .auth-card {
        padding: 22px 18px;
    }
}

@media (max-width: 575.98px) {
    .auth-page {
        padding-top: 16px;
    }

    .auth-card__title {
        font-size: 20px;
    }
}
