
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-main {
    flex: 1;
    display: grid;
    place-items: center;
    padding: calc(var(--header-height) + 28px) 16px 28px;
}

.auth-card {
    width: min(460px, 100%);
    border-radius: 20px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
    box-shadow: var(--shadow);
    padding: 26px;
}

.auth-card:hover {
    border-color: var(--border-strong);
}

.auth-header {
    text-align: center;
    margin-bottom: 18px;
}

.auth-header h1 {
    color: #fff;
    font-size: 1.55rem;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.auth-stack {
    display: grid;
    gap: 14px;
}

.input-group {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--border-strong);
    background: rgba(255,255,255,0.04);
}

.input-group i {
    color: var(--accent);
    width: 18px;
    margin-right: 10px;
}

.input-group input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.input-group input::placeholder {
    color: #7f7f7f;
}

.auth-submit {
    min-height: 48px;
    width: 100%;
    background: var(--accent);
    color: #0c0c0c;
    font-weight: 800;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(174, 187, 239, 0.16);
}

.separator {
    position: relative;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 8px 0;
}

.separator::before,
.separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 38px);
    height: 1px;
    background: var(--border);
}

.separator::before { left: 0; }
.separator::after { right: 0; }

.auth-note {
    color: var(--text-soft);
    font-size: 0.88rem;
    text-align: center;
    margin-top: 12px;
}


.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}
