:root {
    --accent: #D53834;
    --text: #3B3B3B;
    --main: #38535E;
    --light-blue: #BBD7E0;
    --dark: #3B3B3B;
    --muted: #7a7a7a;
    --bg: #ffffff;
    --line: #ececec;
    --pill: #E3E2E3;
    --hover: #EEEEEE;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --font: "Onest", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
/*auth*/

.auth {
    padding: 4rem 0 5rem;
}

.auth__row {
    row-gap: 2.5rem;
}

.auth__intro {
    max-width: 480px;
}

.auth__headline {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--main);
    margin: 1rem 0 1.2rem;
}

.auth__headline span {
    color: var(--accent);
}

.auth__desc {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.auth__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth__list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.auth__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--accent);
}

/* card */

.auth-card {
    background-color: #ffffff;
    border-radius: 32px;
    padding: 2.2rem 2.4rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f5;
}

.auth__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 0.4rem;
}

.auth__subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}

/* inputs */

.form__inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form__input {
    position: relative;
}

.form__input input {
    width: 100%;
    padding: 0.9rem 0.9rem;
    border-radius: 14px;
    border: 1px solid #d7d9e0;
    font-size: 0.95rem;
    outline: none;
    background-color: #f9fafc;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form__input input:focus {
    border-color: var(--main);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(34, 106, 255, 0.08);
}

.form__input label {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #9ea2b0;
    pointer-events: none;
    transition: all .18s ease;
    background-color: transparent;
}

.form__input input:focus + label,
.form__input input:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.72rem;
    background-color: #ffffff;
    padding: 0 0.25rem;
    color: var(--main);
}

.form__input input::placeholder {
    color: transparent;
}

/* btn */

.auth-btn {
    width: 100%;
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    border: none;
    outline: none;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease;
    margin-bottom: 0.6rem;
}

.auth-btn:hover {
    background-color: #d51e1b;
    box-shadow: 0 10px 26px rgba(240, 57, 38, 0.45);
    transform: translateY(-1px);
}

.auth-btn--secondary {
    background-color: var(--main);
}

.auth-btn--secondary:hover {
    background-color: #184b9b;
    box-shadow: 0 10px 26px rgba(24, 75, 155, 0.35);
}

.auth__hint {
    font-size: 0.8rem;
    color: #9ea2b0;
    margin-top: 0.5rem;
}

/* alert */

.auth-card .alert {
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.auth-card .alert-danger {
    background-color: #ffe2e0;
    border-color: #ffc1bc;
    color: #aa2f27;
}

.auth-card .alert-success {
    background-color: #e3f5e7;
    border-color: #b7e4c0;
    color: #257a3a;
}
