/* Auth pages: login / register / forgot */

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-aside {
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.10), transparent 50%),
        radial-gradient(circle at bottom left, rgba(255,255,255,.08), transparent 50%),
        linear-gradient(135deg, var(--green-700), var(--green-900));
    color: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.auth-aside::after {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,222,128,.18), transparent 70%);
}

.auth-aside .brand-row { display: flex; gap: 12px; align-items: center; position: relative; }
.auth-aside .brand-row .logo-mark {
    width: 52px; height: 52px;
    /* Soft frosted ring over the dark hero — the <img> inside carries the actual mark */
    background:#fff;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.auth-aside .brand-row .logo-mark > img { padding: 4px; }
.auth-aside .brand-row .brand-text { color: #fff; font-size: 1.6rem; font-weight: 800; }
.auth-aside .brand-row .brand-sub { color: var(--green-200); font-size: .7rem; letter-spacing: .15em; }

.auth-aside .hero { position: relative; max-width: 460px; }
.auth-aside .hero h2 { color: #fff; font-size: 2.4rem; line-height: 1.2; margin-bottom: 14px; }
.auth-aside .hero p { color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.7; }

.auth-aside .features { position: relative; display: flex; flex-direction: column; gap: 14px; }
.auth-aside .feat-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r-md);
    backdrop-filter: blur(8px);
}
.auth-aside .feat-icon {
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    background: rgba(74,222,128,.22);
    color: var(--green-200);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.auth-aside .feat-item h4 { color: #fff; margin: 0 0 2px; font-size: .95rem; }
.auth-aside .feat-item p { color: rgba(255,255,255,.75); margin: 0; font-size: .85rem; }

.auth-main {
    background: var(--surface);
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-form-wrap { width: 100%; max-width: 420px; }
.auth-form-wrap h1 { font-size: 1.8rem; margin-bottom: 8px; }
.auth-form-wrap .subtitle { color: var(--text-3); margin-bottom: 28px; }

.auth-footer-link {
    text-align: center;
    margin-top: 22px;
    color: var(--text-3);
    font-size: .9rem;
}

.divider {
    text-align: center;
    margin: 22px 0;
    color: var(--text-mute);
    position: relative;
    font-size: .85rem;
}
.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}
.divider::before { right: 0; }
.divider::after  { left: 0; }

@media (max-width: 1024px) {
    .auth-page { grid-template-columns: 1fr; }
    .auth-aside { padding: 40px 28px; min-height: auto; }
    .auth-aside .hero h2 { font-size: 1.8rem; }
    .auth-main { padding: 40px 28px; }
}

@media (max-width: 640px) {
    .auth-aside { padding: 28px 20px; gap: 22px; }
    .auth-aside .brand-row .brand-text { font-size: 1.3rem; }
    .auth-aside .hero h2 { font-size: 1.4rem; }
    .auth-aside .hero p { font-size: .92rem; }
    .auth-aside .features { gap: 10px; }
    .auth-aside .feat-item { padding: 10px 12px; }
    .auth-main { padding: 28px 18px; }
    .auth-form-wrap h1 { font-size: 1.4rem; }
    .auth-form-wrap .subtitle { margin-bottom: 18px; font-size: .9rem; }
    .divider { margin: 16px 0; }
    .divider::before, .divider::after { width: 35%; }
}

@media (max-width: 420px) {
    .auth-aside { padding: 20px 14px; }
    .auth-aside .feat-item p { font-size: .8rem; }
    .auth-main { padding: 20px 14px; }
}
