﻿/* ============================================================
   GELİNLİK PRO – FULL CSS (RAINBOW WHITE SHAPED + GP CENTERED)
   ✅ White shaped background (more visible rainbow but premium)
   ✅ Left cream pane
   ✅ GP monogram centered + stylish
   ✅ Right clean glass form
   ✅ Mobile responsive + iOS input/select FIX
   ✅ Bootstrap normalize FIX
   ✅ Remember-me checkbox small square + aligned
   ============================================================ */

:root {
    /* Page */
    --page: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    /* Accents */
    --a: #ff7a18; /* orange */
    --b: #af2fff; /* purple */
    --c: #00c2ff; /* cyan */
    --p: #ff2d95; /* pink */
    --g: #22c55e; /* green */
    --y: #f59e0b; /* amber */
    /* Shell */
    --radius: 28px;
    --stroke: rgba(15, 23, 42, .10);
    --shadow: 0 24px 80px rgba(15, 23, 42, .12);
    /* Left pane */
    --cream: #fbf4ee;
    --cream2: #fff9f4;
    /* Inputs */
    --inbg: rgba(15, 23, 42, .04);
    --inbg2: rgba(15, 23, 42, .06);
    --instroke: rgba(15, 23, 42, .14);
    --infocus: rgba(15, 23, 42, .22);
    --pad: 14px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--page) !important;
    color: var(--ink);
    font: 14.5px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
    position: relative;
}

    /* ============================================================
   ✅ PREMIUM RAINBOW WHITE BACKGROUND (more visible)
   ============================================================ */

    /* Big rainbow blobs */
    body::before {
        content: "";
        position: fixed;
        inset: -14vh -14vw;
        z-index: -3;
        pointer-events: none;
        background: radial-gradient(980px 560px at 12% 14%, rgba(175,47,255,.28) 0 34%, transparent 62%), radial-gradient(920px 540px at 28% 26%, rgba(255,45,149,.22) 0 32%, transparent 64%), radial-gradient(900px 540px at 50% 12%, rgba(0,194,255,.20) 0 34%, transparent 66%), radial-gradient(980px 560px at 86% 18%, rgba(34,197,94,.18) 0 34%, transparent 66%), radial-gradient(1100px 600px at 82% 86%, rgba(245,158,11,.22) 0 34%, transparent 66%), radial-gradient(1100px 640px at 18% 88%, rgba(255,122,24,.22) 0 34%, transparent 66%);
        filter: blur(24px) saturate(130%);
        opacity: .95;
        animation: bgFloatSoft 22s ease-in-out infinite alternate;
    }

    /* Subtle waves + grid + noise */
    body::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -2;
        pointer-events: none;
        background:
        /* soft rainbow sweep bands */
        conic-gradient(from 210deg at 20% 25%, rgba(175,47,255,.10), rgba(255,45,149,.08), rgba(0,194,255,.08), rgba(34,197,94,.07), rgba(245,158,11,.08), rgba(255,122,24,.08), rgba(175,47,255,.10) ),
        /* ultra subtle grid */
        repeating-linear-gradient(90deg, rgba(15,23,42,.045) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(15,23,42,.035) 0 1px, transparent 1px 64px),
        /* tiny noise */
        url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/></filter>\
<rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/>\
</svg>");
        mix-blend-mode: multiply;
        opacity: .85;
        mask-image: radial-gradient(72% 62% at 50% 45%, #000 0 68%, transparent 90%);
        animation: rainbowDrift 28s ease-in-out infinite alternate;
    }

@keyframes bgFloatSoft {
    from {
        transform: translate(-1.0vw,-1.0vh) scale(1);
    }

    to {
        transform: translate( 1.0vw, 1.0vh) scale(1.03);
    }
}

@keyframes rainbowDrift {
    from {
        transform: translateX(-1%) translateY(-.5%);
    }

    to {
        transform: translateX( 1%) translateY( .5%);
    }
}

/* Mobile performance */
@media (max-width: 768px) {
    body::before {
        filter: blur(18px) saturate(125%);
        opacity: .88;
    }

    body::after {
        opacity: .70;
        mask-image: radial-gradient(84% 72% at 50% 40%, #000 0 72%, transparent 92%);
    }
}

/* ============================================================
   Layout
   ============================================================ */
.page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: calc(var(--pad) + env(safe-area-inset-top)) calc(var(--pad) + env(safe-area-inset-right)) calc(var(--pad) + env(safe-area-inset-bottom)) calc(var(--pad) + env(safe-area-inset-left));
}

.login-shell {
    width: min(1140px, calc(100% - 40px));
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
}

.login-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: clamp(560px, 70vh, 760px);
    position: relative;
}

/* divider */
.divider {
    position: absolute;
    left: 54.9%;
    top: 26px;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(transparent, rgba(15,23,42,.22), transparent);
    opacity: .85;
    pointer-events: none;
}

/* ============================================================
   Left Brand Pane
   ============================================================ */
.brand-pane {
    padding: clamp(28px, 4.6vw, 60px);
    background: radial-gradient(900px 320px at 30% 0%, rgba(255,255,255,.82) 0 45%, transparent 70%), linear-gradient(180deg, var(--cream2), var(--cream));
    border-right: 1px solid var(--stroke);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

/* GP logo */
.brand-logo {
    width: 118px;
    height: 118px;
    border-radius: 22px;
    background: radial-gradient(120px 90px at 30% 25%, rgba(255,255,255,.92) 0 55%, transparent 70%), linear-gradient(135deg, #ffffff, #f2f3f7);
    border: 1px solid rgba(15,23,42,.12);
    box-shadow: 0 18px 35px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.8);
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    /* premium thin frame */
    .brand-logo::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 22px;
        padding: 1px;
        background: linear-gradient(120deg, rgba(255,122,24,.55), rgba(175,47,255,.55), rgba(0,194,255,.45));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: .45;
        pointer-events: none;
    }

    /* hide svg/img if inside */
    .brand-logo img,
    .brand-logo svg {
        display: none !important;
    }

    .brand-logo > * {
        display: none;
    }

    /* GP text */
    .brand-logo::after {
        content: "GP";
        display: block;
        font-weight: 950;
        font-size: 44px;
        letter-spacing: -1.5px;
        line-height: 1;
        color: var(--ink);
        transform: translateY(1px);
        text-shadow: 0 10px 18px rgba(15,23,42,.12);
    }

.brand-title {
    margin: 16px 0 0;
    font-size: clamp(28px, 3.1vw, 42px);
    line-height: 1.06;
    font-weight: 950;
    text-transform: uppercase;
    color: var(--ink);
}

.brand-copy {
    margin: 2px 0 0;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 60ch;
}

    .brand-copy strong {
        color: #334155;
        font-weight: 900;
    }

.hashtag {
    margin-top: 10px;
    font-weight: 950;
    color: #c2410c;
}

/* ============================================================
   Right Form Pane
   ============================================================ */
.form-pane {
    padding: clamp(28px, 4.2vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    background: radial-gradient(900px 420px at 50% 10%, rgba(175,47,255,.08) 0 40%, transparent 70%), radial-gradient(900px 420px at 50% 90%, rgba(255,122,24,.08) 0 40%, transparent 70%), linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55));
}

.finger-wrap {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(90px 90px at 30% 30%, rgba(15,23,42,.06) 0 60%, transparent 65%), linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.55));
    border: 1px solid rgba(15,23,42,.12);
    box-shadow: 0 14px 34px rgba(15,23,42,.12);
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
}

    .finger-wrap img {
        width: 72%;
        height: 72%;
        object-fit: contain;
    }

.form-card {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.form-label {
    color: var(--ink);
    margin-bottom: 6px;
    font-weight: 900;
    letter-spacing: .2px;
}

/* ============================================================
   ✅ Inputs (Bootstrap + iOS FIX)
   ============================================================ */
.form-card .mb-3 {
    width: 100%;
}

.form-card .form-control,
.form-card .form-select,
.form-card input,
.form-card select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.glass-input,
.glass-input.form-control,
.form-control.glass-input,
.form-select.glass-input {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(180deg, var(--inbg), var(--inbg2)) !important;
    border: 1px solid var(--instroke) !important;
    color: var(--ink) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    outline: none !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.08), inset 0 0 0 1px rgba(255,255,255,.45) !important;
    min-height: 46px !important;
    font-size: 16px !important; /* iOS zoom engel */
    line-height: 1.2 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: border .2s, box-shadow .25s, background .2s, transform .06s;
}

    .glass-input::placeholder {
        color: rgba(71,85,105,.70) !important;
    }

    .glass-input:hover {
        background: linear-gradient(180deg, rgba(15,23,42,.06), rgba(15,23,42,.08)) !important;
    }

    .glass-input:focus {
        border-color: var(--infocus) !important;
        box-shadow: 0 0 0 4px rgba(175,47,255,.12), 0 0 0 1px rgba(15,23,42,.12) inset, 0 14px 34px rgba(15,23,42,.12) !important;
        transform: translateY(-1px);
    }

/* select arrow */
select.glass-input {
    padding-right: 56px !important;
    background-image: linear-gradient(transparent,transparent), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center, right 16px center;
    background-size: 1px 60%, 12px 8px;
}

    select.glass-input option {
        color: #0f172a;
        background: #fff;
    }

.text-muted-2 {
    color: rgba(71,85,105,.85);
}

/* ============================================================
   ✅ Remember-me checkbox (small square + aligned)
   ============================================================ */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-input {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important; /* ✅ yukarı kaymayı bitirir */
    border-radius: 4px !important; /* ✅ küçük kutu */
    border: 1.5px solid rgba(15,23,42,.28) !important;
    background: #fff !important;
    box-shadow: 0 6px 14px rgba(15,23,42,.08);
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}

    /* tik görünümü */
    .form-check-input:checked {
        border-color: rgba(175,47,255,.55) !important;
        background: linear-gradient(90deg, rgba(255,122,24,.85), rgba(175,47,255,.85)) !important;
    }

        .form-check-input:checked::after {
            content: "";
            width: 8px;
            height: 5px;
            border-left: 2px solid #fff;
            border-bottom: 2px solid #fff;
            transform: rotate(-45deg) translateY(-1px);
            display: block;
        }

.form-check-label {
    margin: 0 !important;
    line-height: 1.2;
    font-weight: 800;
    color: rgba(15,23,42,.70);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-glow {
    border: none !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-weight: 950 !important;
    background-image: linear-gradient(90deg, var(--a), var(--b)) !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.18);
    min-height: 46px !important;
    width: 100% !important;
    transition: transform .08s ease, filter .2s ease;
}

    .btn-glow:hover {
        filter: brightness(1.05);
        transform: translateY(-1px);
    }

.btn-ghost {
    background: rgba(15,23,42,.04) !important;
    color: var(--ink) !important;
    border: 1px solid rgba(15,23,42,.12) !important;
    min-height: 46px !important;
    width: 100% !important;
}

    .btn-ghost:hover {
        background: rgba(15,23,42,.06) !important;
    }

.foot {
    font-size: 12px;
    letter-spacing: .4px;
    color: rgba(15,23,42,.60);
    margin: 18px 0 -6px;
    text-align: center;
}

/* ============================================================
   License + Store icons
   ============================================================ */
.license-bar {
    margin-top: 12px;
    text-align: center;
    font-weight: 900;
    color: #5b21b6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.store-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(15,23,42,.12);
    color: #0f172a;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(15,23,42,.10);
    transition: transform .08s ease, filter .2s ease, background .2s ease;
}

    .store-btn:hover {
        transform: translateY(-1px);
        filter: brightness(1.02);
        background: rgba(255,255,255,.88);
    }

    .store-btn i {
        font-size: 18px;
    }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
    .login-shell {
        width: min(1140px, calc(100% - 24px));
        border-radius: 18px;
    }

    .login-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .divider {
        display: none;
    }

    .brand-pane {
        border-right: none;
        border-bottom: 1px solid var(--stroke);
        padding: 22px;
    }

    .brand-logo {
        width: 104px;
        height: 104px;
    }

        .brand-logo::after {
            font-size: 40px;
        }

    .form-pane {
        padding: 22px;
        gap: 14px;
    }

    .finger-wrap {
        width: 120px;
        height: 120px;
        margin: 0 auto 6px;
    }

    .form-card {
        max-width: 520px;
    }
}

@media (max-width: 520px) {
    .login-shell {
        width: calc(100% - 16px);
        border-radius: 16px;
    }

    .brand-pane, .form-pane {
        padding: 18px;
    }

    .brand-logo {
        width: 92px;
        height: 92px;
        border-radius: 20px;
    }

        .brand-logo::after {
            font-size: 36px;
        }

    .brand-title {
        font-size: 26px;
    }

    .brand-copy {
        font-size: 13.5px;
    }

    .foot {
        font-size: 11.5px;
    }

    /* store buttons full width */
    .store-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-height: 700px) and (max-width: 992px) {
    .page {
        place-items: start center;
    }

    .login-shell {
        margin-top: 8px;
        margin-bottom: 8px;
    }
}






/* ============================================================
   ✅ FIX: Checkbox "input gibi uzamasın" (Bootstrap çakışma)
   - form-card içindeki width:100% kuralı checkbox'ı bozuyordu
   ============================================================ */

/* 1) Checkbox/radio hariç inputlar %100 olsun */
.form-card input:not([type="checkbox"]):not([type="radio"]),
.form-card select,
.form-card textarea {
    width: 100% !important;
    max-width: 100% !important;
}

/* 2) Checkbox/radio kesinlikle uzamasın */
.form-card input[type="checkbox"],
.form-card input[type="radio"] {
    width: 16px !important;
    max-width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 3) form-check hizalama (etiket alt alta düşmesin) */
.form-check {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.form-check-label {
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* 4) Senin özel checkbox tasarımın (küçük kutu) */
.form-check-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 4px !important;
    border: 1.5px solid rgba(15,23,42,.28) !important;
    background: #fff !important;
    box-shadow: 0 6px 14px rgba(15,23,42,.08) !important;
    cursor: pointer;
}

    .form-check-input:checked {
        border-color: rgba(175,47,255,.55) !important
