/* ============================================
   WinWatt Next – Login oldal stílusok
   ============================================ */

html, body {
    height: 100%;
    overflow: hidden;
}

.login-page {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Bal panel – brand / gólya */
.login-brand {
    flex: 1;
    background: linear-gradient(145deg, #1a1f1c 0%, #323D37 55%, #243030 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Háttér díszítőelemek */
.login-brand::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,186,64,0.12) 0%, transparent 70%);
    top: -80px; right: -80px;
    pointer-events: none;
}
.login-brand::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,186,64,0.08) 0%, transparent 70%);
    bottom: -60px; left: -60px;
    pointer-events: none;
}

.login-brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 360px;
}

/* Gólya SVG konténer */
.golya-wrap {
    width: 220px;
    height: 260px;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Fehér háttér a gólya mögött, átmenettel a zöld háttérbe */
.golya-glow {
    position: absolute;
    inset: -50px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 48%,
        rgba(255,255,255,0.92) 0%,
        rgba(255,255,255,0.75) 20%,
        rgba(255,255,255,0.30) 45%,
        rgba(255,255,255,0.05) 65%,
        transparent 80%);
}

.golya-svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    filter:
        drop-shadow(0 0 18px rgba(255,255,255,0.18))
        drop-shadow(0 2px 8px rgba(0,0,0,0.55));
}

/* WinWatt Next cím */
.login-brand-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    line-height: 1.1;
}

.login-brand-title .next {
    color: #7BBA40;
}

.login-brand-subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.01em;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.login-brand-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #7BBA40, #8BC53F);
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}

.login-brand-footer {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
    margin-top: 2rem;
}

/* Jobb panel – form */
.login-panel {
    width: 420px;
    flex-shrink: 0;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2.5rem;
    overflow-y: auto;
}

.login-panel-inner {
    width: 100%;
    max-width: 340px;
}

/* Kis logó a form felett */
.login-logo-mark {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.login-logo-mark .golya-mini {
    width: 32px;
    height: 32px;
}

.login-logo-mark span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
}

.login-logo-mark .next {
    color: var(--color-primary);
}

.login-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.login-subheading {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

/* Form elemek */
.login-form-group {
    margin-bottom: 1rem;
}

.login-form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.login-input {
    width: 100%;
    padding: 0.62rem 0.9rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}
.login-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(123,186,64,0.15);
}

.login-hiba {
    background: rgba(231,76,60,0.08);
    border: 1px solid rgba(231,76,60,0.25);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
    color: var(--color-error);
    margin-bottom: 1rem;
}

/* Bejelentkezés gomb */
.login-btn {
    width: 100%;
    padding: 0.7rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
    margin-top: 0.25rem;
}
.login-btn:hover { opacity: 0.9; }

/* Elválasztó */
.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* Google gomb */
.login-btn-google {
    width: 100%;
    padding: 0.65rem 1rem;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    transition: background 0.15s, border-color 0.15s;
}
.login-btn-google:hover {
    background: var(--color-bg-alt);
    border-color: rgba(50,61,55,0.25);
}

.login-panel-footer {
    margin-top: 2rem;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Prototípus figyelmeztető sáv */
.login-proto-banner {
    background: rgba(240,165,0,0.1);
    border: 1px solid rgba(240,165,0,0.3);
    border-radius: var(--radius-md);
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
    color: #92400e;
    margin-bottom: 1rem;
    text-align: center;
}

/* Reszponzív */
@media (max-width: 860px) {
    .login-brand { display: none; }
    .login-panel { width: 100%; }
    .login-panel-inner { max-width: 380px; }
}
