﻿html {
  font-size: 14px;
}




:root {
    --light-bg: #f4f6f9;
    --dark-bg: #0f2d4a; /* ana koyu */
    --card: #ffffff;
    --text-dark: #0e1b2a;
    --text-light: #ffffff;
    --muted-dark: #667085;
    --muted-light: rgba(255,255,255,0.75);
    --border-light: #e4e7ec;
    --border-dark: rgba(255,255,255,0.18);
    --primary: #0f2d4a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, Segoe UI, Arial, sans-serif;
    color: var(--text-dark);
    background: var(--light-bg);
}

/* ======================
   MAIN SPLIT
====================== */
.split {
    display: grid;
    grid-template-columns: 1fr 2fr; /* LEFT 1/3 – RIGHT 2/3 */
    min-height: 100vh;
}

/* ======================
   LEFT (DARK / BRAND)
====================== */
.left {
    background: var(--dark-bg);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

    .brand img {
        height: 60px;
    }

    .brand strong {
        font-size: 18px;
        font-weight: 600;
    }

/* LANGUAGE */
.lang {
    display: flex;
    gap: 10px;
    margin-bottom: 36px;
}

    .lang button {
        background: rgba(255,255,255,0.12);
        border: 1px solid var(--border-dark);
        border-radius: 8px;
        padding: 6px 10px;
        cursor: pointer;
    }

    .lang img {
        width: 22px;
        filter: brightness(1.15);
    }

/* LEFT TEXT */
.left h1 {
    font-size: 32px;
    margin: 0 0 12px;
    color: var(--text-light);
}

.left p {
    color: var(--muted-light);
    max-width: 420px;
    line-height: 1.6;
}

/* META BOXES */
.meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
    max-width: 420px;
}

    .meta div {
        background: rgba(255,255,255,0.08);
        border: 1px solid var(--border-dark);
        border-radius: 12px;
        padding: 14px;
        font-size: 14px;
        color: var(--text-light);
    }

    .meta small {
        display: block;
        color: var(--muted-light);
        font-size: 12px;
    }

/* ======================
   RIGHT (LIGHT / FORM)
====================== */
.right {
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

/* CARD */
.card {
    width: 100%;
    max-width: 620px;
    background: var(--card);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(15,45,74,0.08);
}

.hidden {
    display: none;
}

/* FORM TEXT */
.card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--text-dark);
}

.card p {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--muted-dark);
}

/* INPUT */
.input {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    padding: 0 14px;
    font-size: 15px;
}

    .input:focus {
        outline: none;
        border-color: var(--primary);
    }

/* BUTTON */
.btn {
    width: 100%;
    height: 46px;
    margin-top: 16px;
    border-radius: 10px;
    border: 0;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

    .btn:hover {
        filter: brightness(0.95);
    }

/* ======================
   MOBILE (FIXED)
====================== */
@media (max-width: 900px) {
    .split {
        display: grid;
        grid-template-columns: 2fr;
        min-height: 100vh;
        align-content: start;
    }

    .left {
        padding: 40px 24px;
    }

    .right {
        padding: 24px;
    }
}



/* ========================= KIOSK BUTTON (PREMIUM) ========================= */
.kiosk-btn {
    position: relative;
    padding: 12px 26px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .45), inset 0 1px 0 rgba(255,255,255,.25);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

    /* 🌟 IŞIK EFEKTİ */
    .kiosk-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient( 120deg, rgba(255,255,255,.45), rgba(255,255,255,0) 55% );
        opacity: .35;
        pointer-events: none;
    }

    /* HOVER */
    .kiosk-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 32px rgba(37,99,235,.6), inset 0 1px 0 rgba(255,255,255,.35);
        filter: brightness(1.05);
    }

    /* PRESS / TOUCH */
    .kiosk-btn:active {
        transform: translateY(1px) scale(.96);
        box-shadow: 0 6px 14px rgba(37,99,235,.55), inset 0 2px 6px rgba(0,0,0,.25);
    }

/* ========================= KIOSK ACTIVE ========================= */
body.kiosk-mode .kiosk-btn {
    background: linear-gradient(135deg, #22c55e, #15803d);
    box-shadow: 0 10px 26px rgba(34,197,94,.55), inset 0 1px 0 rgba(255,255,255,.3);
}

    /* AKTİFTE IŞIK RENGİ */
    body.kiosk-mode .kiosk-btn::before {
        background: linear-gradient( 120deg, rgba(220,255,235,.6), rgba(255,255,255,0) 60% );
    }

/* ========================= MOBILE ========================= */
@media (max-width: 768px) {
    .kiosk-btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 12px;
    }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
.summary {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

    .summary-table thead th {
        text-align: left;
        font-weight: 600;
        color: #374151;
        padding: 10px 12px;
        border-bottom: 1px solid #e5e7eb;
    }

    .summary-table tbody td {
        padding: 12px;
        color: #111827;
        vertical-align: middle;
    }

    .summary-table tbody tr:not(:last-child) td {
        border-bottom: 1px solid #f1f5f9;
    }

    .summary-table tbody tr:hover {
        background: #f9fafb;
    }

    .summary-table th:first-child,
    .summary-table td:first-child {
        width: 36px;
        text-align: center;
        color: #6b7280;
        font-weight: 600;
    }

  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* TOP BAR */
.topbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(980px, calc(100% - 48px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
    z-index: 50;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

    

.lang-switch {
    display: flex;
    gap: 10px
}

    .lang-switch button {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        border: 1px solid var(--border);
        background: #fff;
        padding: 6px;
    }

    .lang-switch img {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        object-fit: cover
    }

/* APP – scroll container (kiosk fix) */
.app {
    height: 100%;
    overflow-y: auto;
    padding: 24px;
    padding-top: 110px;
    transition: padding-bottom .18s ease;
}

    .app.kb-open {
        padding-bottom: 390px;
    }

.card {
    width: min(980px, 100%);
    margin: 0 auto 28px;
    background: var(--card);
    border-radius: 34px;
    padding: 52px;
    box-shadow: 0 40px 110px rgba(0,0,0,.14);
    animation: enter .22s ease;
}

@@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hidden {
    display: none !important;
}

.step {
    font-size: 12px;
    letter-spacing: .25em;
    color: var(--gold);
    margin-bottom: 10px;
}

h1 {
    margin: 0 0 10px;
    font-size: 34px;
    color: var(--text)
}

.subtitle {
    margin: 0 0 28px;
    font-size: 17px;
    color: var(--muted)
}


.grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px
}

.radio {
    display: flex;
    gap: 26px;
    margin: 10px 0 18px;
    font-size: 18px;
}

    .radio input {
        transform: scale(1.25);
        margin-right: 8px;
    }



    .btn.secondary {
        background: #fff;
        color: #111827;
        border: 1px solid var(--border);
    }

.btnrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

/* guest */
.guestCard {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    background: #fbfbfb;
    margin-bottom: 18px;
}

.guestHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.badge {
    font-size: 12px;
    letter-spacing: .18em;
    color: var(--gold);
    font-weight: 800;
}

/* summary */
.summary {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    background: #fafafa;
    margin-bottom: 16px;
    line-height: 1.6;
}

    .summary b {
        display: inline-block;
        min-width: 170px
    }

.kvkkLine {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    margin-bottom: 12px;
}

    .kvkkLine input {
        transform: scale(1.2);
        margin-top: 3px
    }

/* KEYBOARD */
.keyboard {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--kb);
    padding: 12px 10px 14px;
    z-index: 100;
    display: none;
    box-shadow: 0 -18px 60px rgba(0,0,0,.35);
}

    .keyboard.show {
        display: block;
    }

.kb-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto 10px;
    color: #e5e7eb;
    font-size: 14px;
}

.pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    user-select: none;
    cursor: pointer;
}

.kb-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.krow {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

.key {
    background: var(--kbKey);
    color: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 20px;
    min-width: 52px;
    text-align: center;
    user-select: none;
    touch-action: manipulation;
}

    .key.alt {
        background: var(--kbKey2)
    }

    .key.danger {
        background: rgba(239,68,68,.92)
    }

    .key.ok {
        background: rgba(34,197,94,.92)
    }

    .key:active {
        transform: scale(.98)
    }

    .key.wide {
        min-width: 120px
    }

    .key.xwide {
        min-width: 180px
    }

    .key.xxwide {
        min-width: 240px
    }

@@media (max-width: 820px) {
    .card {
        padding: 34px;
        border-radius: 28px
    }

    h1 {
        font-size: 28px
    }

    .input {
        font-size: 18px
    }

    .app.kb-open {
        padding-bottom: 360px
    }

    .key {
        min-width: 44px;
        padding: 14px 14px;
        font-size: 18px
    }

        .key.xxwide {
            min-width: 200px
        }
}