.auth {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 80px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.auth-logo img {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 28px;
}

.card {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 28px 26px;
}

.card h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 13px;
    color: var(--muted);
    margin: 14px 0 6px;
}

input {
    font-family: inherit;
    font-size: 15px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #0c0c0c;
    color: var(--fg);
    transition: border-color 0.18s ease;
}

input::placeholder {
    color: #555;
}

.pass-wrap {
    position: relative;
    display: flex;
}

.pass-wrap input {
    flex: 1;
    width: 100%;
    padding-right: 44px;
}

.card .pass-toggle {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.18s ease;
}

.card .pass-toggle:hover {
    color: var(--fg);
}

.pass-toggle svg {
    width: 20px;
    height: 20px;
}

.pass-toggle .eye-off { display: none; }
.pass-toggle.on .eye { display: none; }
.pass-toggle.on .eye-off { display: block; }

input:focus {
    outline: none;
    border-color: var(--accent);
}

.card button {
    margin-top: 22px;
    width: 100%;
}

.msg {
    color: #ff6a59;
    font-size: 14px;
    min-height: 18px;
    margin-top: 12px;
    text-align: center;
}

.note {
    background: rgba(232, 52, 28, 0.08);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fg);
    margin-bottom: 18px;
}

.forgot {
    text-align: center;
    margin-top: 18px;
}

.forgot a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.18s ease;
}

.forgot a:hover {
    color: var(--fg);
}

@media (max-width: 480px) {
    .auth {
        padding: 28px 16px 56px;
    }

    .auth-logo img {
        width: 124px;
        margin-bottom: 22px;
    }

    .card {
        padding: 22px 18px 20px;
        border-radius: 14px;
    }

    .card h2 {
        font-size: 20px;
    }

    input {
        font-size: 16px;
    }
}
