*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
}

/* Sol Panel */
.lp-left {
    flex: 0 0 62%;
    background: linear-gradient(145deg, #060d1f 0%, #0f172a 40%, #1e3a8a 100%);
    display: flex;
    flex-direction: column;
    padding: 36px 48px;
    position: relative;
    overflow: hidden;
}
.lp-left::before {
    content: '';
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: rgba(37,99,235,.08);
    top: -160px; right: -120px;
    pointer-events: none;
}
.lp-left::after {
    content: '';
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(96,165,250,.06);
    bottom: -80px; left: -80px;
    pointer-events: none;
}
.lp-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    position: relative;
    z-index: 1;
}
.lp-brand-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.lp-brand-name  { color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.2; }
.lp-brand-sub   { color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 400; letter-spacing: .5px; }
.lp-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16,185,129,.15);
    border: 1px solid rgba(16,185,129,.3);
    color: #34d399;
    font-size: .76rem;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 20px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
    width: fit-content;
}
.lp-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 32px 0;
}
.lp-headline {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.5px;
    margin-bottom: 18px;
    max-width: 520px;
}
.lp-desc {
    color: rgba(255,255,255,.6);
    font-size: .92rem;
    line-height: 1.7;
    max-width: 460px;
}
.lp-deco {
    display: flex;
    gap: 6px;
    margin-top: 36px;
    align-items: center;
}
.lp-deco-line { height: 3px; border-radius: 3px; }
.lp-deco-line:nth-child(1) { width: 40px; background: #2563eb; }
.lp-deco-line:nth-child(2) { width: 20px; background: rgba(37,99,235,.4); }
.lp-deco-line:nth-child(3) { width: 10px; background: rgba(37,99,235,.2); }
.lp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.lp-feat-btn {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.75);
    font-size: .78rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    display: flex; align-items: center; gap: 6px;
}

/* Sag Panel */
.lp-right {
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 48px;
}
.lp-form-wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.lp-oturum-lbl {
    display: flex; align-items: center; gap: 6px;
    color: #10b981; font-size: .76rem; font-weight: 700;
    letter-spacing: .8px; text-transform: uppercase;
    margin-bottom: 10px;
}
.lp-oturum-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #10b981;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}
.lp-form-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.5px;
    margin-bottom: 8px;
}
.lp-form-sub {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Input */
.inp-group { margin-bottom: 20px; }
.inp-lbl {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
}
.inp-wrap { position: relative; display: flex; align-items: center; }
.inp-ico {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: .95rem;
    pointer-events: none;
}
.inp-wrap input {
    width: 100%;
    height: 48px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 14px 0 42px;
    font-size: .92rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.inp-wrap input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.inp-wrap input::placeholder { color: #cbd5e1; }
.toggle-pass {
    position: absolute; right: 13px;
    background: none; border: none; cursor: pointer;
    color: #94a3b8; font-size: .9rem; padding: 4px; line-height: 1;
    transition: color .15s;
}
.toggle-pass:hover { color: #2563eb; }

/* Beni hatirla */
.remember-row { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.remember-row input[type="checkbox"] { width: 17px; height: 17px; accent-color: #2563eb; cursor: pointer; }
.remember-row label { font-size: .875rem; color: #475569; cursor: pointer; user-select: none; }

/* Hata */
.error-box {
    background: #fef2f2; border: 1px solid #fca5a5;
    border-radius: 8px; padding: 11px 14px;
    margin-bottom: 18px; font-size: .845rem; color: #dc2626;
    display: none; align-items: center; gap: 8px;
}
.error-box.show { display: flex; }

/* Giris butonu */
.btn-login {
    width: 100%; height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #fff; border: none; border-radius: 10px;
    font-size: .97rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    letter-spacing: .3px;
    transition: opacity .15s, transform .1s, box-shadow .15s;
    box-shadow: 0 4px 14px rgba(37,99,235,.4);
}
.btn-login:hover:not(:disabled) { opacity: .92; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.5); }
.btn-login:active:not(:disabled) { transform: translateY(0); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-login .arr { font-size: 1.1rem; }

/* Spinner */
.spin-ic {
    width: 18px; height: 18px;
    border: 2.5px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: none;
}
.btn-login.loading .spin-ic { display: block; }
.btn-login.loading .btn-text { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Alt bilgi */
.lp-right-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 24px; border-top: 1px solid #f1f5f9;
    margin-top: 32px;
}
.lp-copy { font-size: .74rem; color: #94a3b8; }
.lp-secure-right { display: flex; align-items: center; gap: 5px; font-size: .74rem; color: #10b981; font-weight: 600; }

/* Mobil */
@media (max-width: 768px) {
    .lp-left { display: none; }
    .lp-right { padding: 32px 24px; }
    .lp-form-title { font-size: 1.5rem; }
}
