/* =========================================================
   OKBenimPOS Giriş Sayfası — BenimPOS auth.css Birebir Eşleştirme
   ========================================================= */
:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --border: #eaeff6;
    --input-border: #dde6f1;
    --soft: #f7f9fc;
    --text-h: #1f2937;
    --text: #2b3648;
    --text-2: #4a5a72;
    --muted: #8b98ac;
    --blue: #2d71f8;
    --blue-d: #1e5bd6;
    --blue-soft: #eaf1fe;
    --blue-ring: #c3dcfb;
    --green: #1c8370;
    --green-soft: #e3f3ef;
    --red-text: #d93434;
    --red-soft: #ffeeee;
    --red-border: #f0d2d2;
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(20, 50, 100, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Urbanist, Muli, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(1200px 600px at 0% 0%, #e6efff 0%, transparent 60%),
        radial-gradient(900px 500px at 100% 100%, #eef4fc 0%, transparent 60%);
    background-attachment: fixed;
}

a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    color: var(--blue-d);
    text-decoration: none;
}

.au {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.au-kutu {
    width: 100%;
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* ---------- Form Tarafı ---------- */
.au-form {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.au-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -0.3px;
}

.au-logo-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}

.au-logo-brand {
    color: var(--blue);
}

.au-baslik {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-h);
    margin: 0 0 6px;
    letter-spacing: -0.2px;
}

.au-alt {
    color: var(--muted);
    margin: 0 0 22px;
    font-size: 14.5px;
    line-height: 1.5;
}

.au-alan {
    margin-bottom: 12px;
}

.au-alan label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-2);
    margin: 0 0 6px;
    letter-spacing: 0.2px;
}

.au-girdi {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: #fff;
    color: var(--text-h);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.au-girdi[type="password"] {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
}

.au-girdi[type="password"]::placeholder {
    font-family: Urbanist, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
}

.au-girdi::placeholder {
    color: var(--muted);
}

.au-girdi:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(45, 113, 248, 0.14);
}

/* Firma / Personel Seçici */
.au-secim {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 16px;
}

.au-secim label {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.au-secim input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.au-secim span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-2);
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.au-secim input:checked + span {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.au-parola {
    position: relative;
}

.au-parola .au-girdi {
    padding-right: 50px;
}

.au-goz {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.au-goz:hover {
    color: var(--text-2);
    background: var(--soft);
}

.au-goz svg {
    width: 20px;
    height: 20px;
}

.au-goz .k,
.au-goz.acik .a {
    display: none;
}

.au-dugme {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(45, 113, 248, 0.28);
    transition: background 0.15s, transform 0.05s;
    margin-top: 6px;
}

.au-dugme:hover {
    background: var(--blue-d);
}

.au-dugme:active {
    transform: translateY(1px);
}

.au-dugme.ikincil {
    background: var(--soft);
    color: var(--text-2);
    box-shadow: none;
    border: 1px solid var(--border);
    height: 38px;
    font-size: 13px;
    width: auto;
    padding: 0 14px;
    margin-top: 0;
}

.au-dugme.ikincil:hover {
    background: #eef3f9;
}

.au-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.au-alt-not {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.au-uyari {
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 14px;
    border: 1px solid transparent;
}

.au-uyari.hata {
    background: var(--red-soft);
    color: var(--red-text);
    border-color: var(--red-border);
}

/* ---------- Tanıtım Tarafı ---------- */
.au-tanitim {
    position: relative;
    padding: 44px 40px;
    color: #fff;
    background: linear-gradient(150deg, #3b7cf9 0%, #2d71f8 45%, #1e5bd6 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.au-tanitim::before,
.au-tanitim::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.au-tanitim::before {
    width: 420px;
    height: 420px;
    right: -160px;
    top: -160px;
}

.au-tanitim::after {
    width: 300px;
    height: 300px;
    left: -120px;
    bottom: -140px;
}

.au-tanitim > * {
    position: relative;
}

.au-tanitim h2 {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 10px;
    font-weight: 700;
    color: #fff;
}

.au-tanitim p {
    margin: 0 0 20px;
    opacity: 0.9;
    line-height: 1.55;
    font-size: 14.5px;
}

.au-ozellik {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 10px;
}

.au-ozellik li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
}

.au-ozellik li::before {
    content: "";
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.au-ortak b {
    display: block;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    opacity: 0.8;
    margin: 0 0 8px;
    font-weight: 600;
}

.au-logolar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.au-logolar span {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    border-radius: 10px;
    height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .au-kutu {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .au-tanitim {
        display: none;
    }

    .au-form {
        padding: 32px 24px;
    }
}

@media (max-width: 420px) {
    .au {
        padding: 16px 10px;
    }

    .au-form {
        padding: 26px 18px;
    }

    .au-baslik {
        font-size: 23px;
    }
}
