*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #111;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}
.nessemon-auth-img { position: relative; overflow: hidden; background: #f4f4f4; }
.nessemon-auth-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nessemon-auth-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, .5) 100%);
}
.nessemon-auth-img-caption { position: absolute; bottom: 40px; left: 32px; color: #fff; }
.nessemon-auth-img-caption p {
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin: 0 0 6px;
    opacity: .8;
}
.nessemon-auth-img-caption h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}
.nessemon-auth-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 48px;
}
.nessemon-auth-inner { width: 100%; max-width: 380px; }
.nessemon-brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
    display: block;
    margin-bottom: 40px;
    text-align: center;
}
.nessemon-auth-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 8px;
    text-align: center;
}
.nessemon-auth-subtitle { font-size: 12px; color: #888; text-align: center; margin: 0 0 36px; }
.nessemon-form-group { margin-bottom: 20px; }
.nessemon-form-group label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 8px;
}
.nessemon-form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #111;
    background: #fff;
    outline: none;
    border-radius: 0;
    transition: border-color .2s;
}
.nessemon-form-group input:focus { border-color: #111; }
.nessemon-submit {
    width: 100%;
    padding: 14px;
    background: #111;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background .2s;
    margin-top: 8px;
}
.nessemon-submit:hover { background: #333; }
.nessemon-auth-alt { text-align: center; margin-top: 24px; font-size: 12px; color: #888; }
.nessemon-auth-alt a { color: #111; text-decoration: underline; }
.nessemon-alert { padding: 12px 16px; font-size: 12px; margin-bottom: 20px; border-left: 3px solid; }
.nessemon-alert-error { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.nessemon-alert-success { background: #f0fdf4; border-color: #22c55e; color: #166534; }
@media (max-width: 768px) {
    body { grid-template-columns: 1fr; }
    .nessemon-auth-img { display: none; }
    .nessemon-auth-form { padding: 40px 24px; }
}
