:root {
    --bg: #fff7fb;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-solid: #ffffff;
    --text: #2c1d24;
    --muted: #7d6772;
    --line: #f0d7e4;
    --primary: #ef5b8d;
    --primary-soft: #ffd6e4;
    --accent: #ffc44d;
    --shadow: 0 10px 30px rgba(180, 88, 129, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, #ffe2ed 0, transparent 30%),
        radial-gradient(circle at top right, #ffe8c2 0, transparent 18%),
        linear-gradient(180deg, #fff8fb 0%, #fffdf7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-shell {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.auth-side,
.auth-card {
    background: var(--panel);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.85);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
}

.auth-side {
    padding: 34px;
    position: relative;
    overflow: hidden;
    min-height: 620px;
}

.auth-side::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 187, 212, 0.75), transparent 68%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.brand-badge {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff7aa7, #ef5b8d);
    display: grid;
    place-items: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(239, 91, 141, 0.28);
}

.brand h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-top: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff1f6;
    color: #b44d72;
    border: 1px solid #ffd7e6;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
}

.auth-copy h2 {
    margin: 18px 0 10px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.auth-copy p {
    margin: 0;
    max-width: 480px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}

.auth-widgets {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mini-widget {
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px 14px;
    min-width: 135px;
}

.mini-widget small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.mini-widget strong {
    font-size: 1.1rem;
}

.auth-card {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card h3 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

.auth-card .subtle {
    margin: 0 0 24px;
    color: var(--muted);
}

.message {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #ffd7e6;
    background: #fff1f6;
    color: #b44d72;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
}

.form-group input {
    width: 100%;
    padding: 14px 15px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
    color: var(--text);
    outline: none;
    transition: 0.18s ease;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(239, 91, 141, 0.10);
}

.auth-btn {
    border: none;
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, #ff7aa7, #ef5b8d);
    box-shadow: 0 10px 22px rgba(239, 91, 141, 0.22);
    transition: 0.18s ease;
}

.auth-btn:hover {
    transform: translateY(-1px);
}

.auth-footer {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-side {
        min-height: auto;
    }
}

.form-group select {
    width: 100%;
    padding: 14px 15px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
    color: var(--text);
    outline: none;
    transition: 0.18s ease;
}

.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(239, 91, 141, 0.10);
}

.form-group input[type="color"] {
    width: 100%;
    height: 48px;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}
.category-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: 0.18s ease;
}

.mini-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(197, 140, 164, 0.12);
}