﻿:root {
    --primary: #003781;
    --primary-soft: #0d4aa6;
    --text: #ffffff;
    --muted: rgba(255,255,255,.78);
    --pill: rgba(230, 235, 245, .92);
    --pill-border: rgba(255,255,255,.16);
    --ink: #0c2f7a;
    --focus: rgba(255,255,255,.24);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 18px;
    /* ✅ ARKA PLAN: RESİM */
    background-image: url("../Content/bg.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

    /* Okunabilirlik overlay */
    body::after {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(900px 500px at 50% 45%, rgba(0,0,0,.10) 0%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.45) 100%);
        z-index: 0;
    }

/* Üst katman */
.wrapper {
    width: 100%;
    max-width: 720px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand {
    text-align: center;
    margin-bottom: 34px;
    user-select: none;
    top: 0px;
    margin-top: -30px;
}


    .brand .title {
        font-weight: 900;
        font-size: 52px;
        line-height: 1.0;
        letter-spacing: .2px;
        color: rgba(255,255,255,.95);
        text-shadow: 0 12px 40px rgba(0,0,0,.40);
    }

        .brand .title .small {
            display: block;
            font-weight: 600;
            font-size: 44px;
            opacity: .95;
        }
.brand > img {
    max-width: 250px;
}
.form-wrap {
    width: 100%;
    max-width: 520px;
}

/* Alert */
.alert {
    display: none;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 76, 76, .22);
    border: 1px solid rgba(255, 126, 126, .35);
    color: rgba(255,255,255,.92);
    font-size: 13px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

    .alert.show {
        display: block;
    }

/* Field */
.field {
    margin: 14px 0;
}

/* ✅ Pill sadece bu class’ta */
.pill {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--pill-border);
    background: var(--pill);
    font-size: 18px;
    color: var(--ink);
    outline: none;
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
    transition: .18s;
}

    .pill::placeholder {
        color: rgba(10,47,122,.45);
    }

    .pill:focus {
        border-color: rgba(255,255,255,.28);
        box-shadow: 0 18px 45px rgba(0,0,0,.25), 0 0 0 6px var(--focus);
        background: rgba(255,255,255,.98);
    }

/* Email altı not */
.hint {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.82);
}

/* KVKK */
.kvkk {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height: 1.35;
}

    /* ✅ Checkbox’ı normal yap */
    .kvkk input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        flex: 0 0 auto;
        accent-color: #ffffff;
        box-shadow: none;
    }

/* Buton */
button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #0a2f7a;
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    margin-top: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
    transition: .18s;
}

    button:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.98);
    }

    button:active {
        transform: translateY(0);
    }

@media (max-width: 520px) {
    .brand .title {
        font-size: 40px;
    }

        .brand .title .small {
            font-size: 34px;
        }

    .pill {
        height: 52px;
        font-size: 16px;
    }

    button {
        height: 48px;
        font-size: 16px;
    }
}
/* ✅ KVKK checkbox: her koşulda "normal checkbox" */
.kvkk input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: #ffffff;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

    /* Eğer yanlışlıkla checkbox'a pill class'ı bulaştıysa ez */
    .kvkk input[type="checkbox"].pill {
        width: 18px !important;
        height: 18px !important;
        padding: 0 !important;
        border-radius: 2px !important;
    }

/* ✅ Canlı destek her zaman sağ altta ve üstte kalsın */
.live-support {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
}

    .live-support a {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        background: rgba(255,255,255,.94);
        color: #0a2f7a;
        border-radius: 18px;
        padding: 14px 18px;
        box-shadow: 0 18px 55px rgba(0,0,0,.35);
        border: 1px solid rgba(255,255,255,.18);
        font-weight: 900;
    }

    .live-support .label {
        line-height: 1.05;
        font-size: 16px;
    }

/* Overlay'nin üstünde kalması için */
body::after {
    z-index: 0;
}

.wrapper {
    position: relative;
    z-index: 1;
}