:root {
    --lacivert: #17233d;
    --lacivert-acik: #2c4069;
    --kirmizi: #b5302b;
    --altin: #d8a93b;
    --metin: #182238;
    --soluk-metin: #687186;
    --cizgi: rgba(50, 62, 83, 0.18);
    --krem: #f5ede2;
    --beyaz: #ffffff;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--metin);
    background: var(--krem);
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.giris-sayfasi {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: grid;
    align-items: center;
    justify-items: end;
    padding: 78px clamp(38px, 8vw, 150px);
    isolation: isolate;
    background-image: url("../images/login-background.webp?v=1");
    background-size: cover;
    background-position: center center;
}

/* Görsel sağ tarafa doğru doğal biçimde aydınlanır; burada keskin bir panel değil,
   yalnızca formun okunmasını kolaylaştıran geniş bir sis geçişi vardır. */
.giris-sayfasi::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(245, 237, 226, 0.00) 0%,
            rgba(245, 237, 226, 0.02) 35%,
            rgba(249, 243, 235, 0.18) 53%,
            rgba(250, 246, 240, 0.58) 72%,
            rgba(250, 247, 242, 0.82) 100%),
        radial-gradient(circle at 79% 51%, rgba(255, 255, 255, 0.34), transparent 37%);
    pointer-events: none;
}

.giris-sayfasi::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(58vw, 980px);
    height: min(88vh, 900px);
    right: -6vw;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 250, 244, 0.16);
    filter: blur(28px);
    pointer-events: none;
}

.siteye-don,
.sayfa-altligi,
.giris-alani {
    position: relative;
    z-index: 1;
}

.siteye-don {
    position: absolute;
    top: 26px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 7px 14px 7px 8px;
    border: 1px solid rgba(23, 35, 61, 0.13);
    border-radius: 999px;
    color: rgba(24, 34, 56, 0.84);
    background: rgba(255, 255, 255, 0.43);
    box-shadow: 0 8px 24px rgba(37, 43, 54, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.siteye-don span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--lacivert);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 0 0 1px rgba(23, 35, 61, 0.06);
    font-size: 15px;
    line-height: 1;
}

.siteye-don:hover {
    color: var(--lacivert);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 11px 28px rgba(37, 43, 54, 0.12);
    transform: translateY(-1px);
}

.giris-alani {
    width: min(100%, 450px);
    margin-right: clamp(0px, 1vw, 18px);
    /* Bilerek arka plan, çerçeve, gölge ve kart köşesi yoktur. */
}

.marka {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 0 22px;
}

.marka-logosu {
    display: block;
    width: clamp(168px, 13vw, 208px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 9px 17px rgba(23, 35, 61, 0.08));
}

.baslik-alani {
    margin-bottom: 31px;
}

.ust-etiket {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--kirmizi);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.17em;
}

.ust-etiket::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--kirmizi), var(--altin));
}

h1 {
    margin: 0;
    color: var(--lacivert);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3.35vw, 52px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.baslik-alani p {
    margin: 16px 0 0;
    max-width: 45ch;
    color: #5f687b;
    font-size: 15px;
    line-height: 1.72;
}

.giris-formu {
    display: grid;
    gap: 20px;
}

.alan-grubu {
    display: grid;
    gap: 8px;
}

.alan-grubu label,
.etiket-satiri label {
    color: var(--lacivert);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.025em;
}

.etiket-satiri {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sifre-goster {
    appearance: none;
    border: 0;
    padding: 3px 0;
    background: transparent;
    color: #677187;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    min-height: 55px;
    border: 1px solid rgba(42, 54, 77, 0.16);
    border-radius: 13px;
    padding: 0 17px;
    color: var(--metin);
    background: rgba(255, 255, 255, 0.52);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(8px);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

input::placeholder {
    color: #9299a8;
}

input:focus {
    border-color: rgba(44, 64, 105, 0.58);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 0 0 4px rgba(44, 64, 105, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.form-alt-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: -2px;
    font-size: 12px;
}

.beni-hatirla {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #646d7f;
    cursor: pointer;
}

.beni-hatirla input {
    width: 16px;
    height: 16px;
    accent-color: var(--lacivert);
}

.form-alt-satir a,
.kayit-satiri a {
    color: var(--lacivert);
    font-weight: 850;
    text-decoration: none;
}

.form-alt-satir a:hover,
.kayit-satiri a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ana-buton {
    min-height: 56px;
    border: 0;
    border-radius: 13px;
    padding: 0 19px 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    color: var(--beyaz);
    background: linear-gradient(120deg, var(--lacivert), var(--lacivert-acik));
    box-shadow: 0 14px 30px rgba(23, 35, 61, 0.19);
    font-weight: 900;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.ana-buton span:last-child {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 17px;
}

.ana-buton:hover {
    transform: translateY(-1px);
    box-shadow: 0 17px 34px rgba(23, 35, 61, 0.24);
}

.kayit-satiri {
    margin: 22px 0 0;
    color: #6a7282;
    font-size: 13px;
    line-height: 1.6;
}

.rol-notu {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(41, 53, 75, 0.12);
    color: rgba(86, 95, 112, 0.80);
    font-size: 11px;
    line-height: 1.55;
}

.sayfa-altligi {
    position: absolute;
    right: clamp(38px, 8vw, 150px);
    bottom: 24px;
    color: rgba(31, 40, 57, 0.56);
    font-size: 11px;
    font-weight: 750;
}

.bildirim {
    position: fixed;
    z-index: 20;
    left: 50%;
    bottom: 24px;
    max-width: min(90vw, 560px);
    transform: translate(-50%, 18px);
    opacity: 0;
    pointer-events: none;
    padding: 12px 17px;
    border-radius: 11px;
    color: #fff;
    background: rgba(19, 29, 50, 0.94);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    font-size: 12px;
    font-weight: 750;
    text-align: center;
    transition: opacity 180ms ease, transform 180ms ease;
}

.bildirim.acik {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 980px) {
    .giris-sayfasi {
        padding-right: clamp(28px, 6vw, 72px);
        background-position: 42% center;
    }

    .giris-sayfasi::before {
        background:
            linear-gradient(90deg,
                rgba(245, 237, 226, 0.02) 0%,
                rgba(249, 243, 235, 0.13) 34%,
                rgba(250, 246, 240, 0.58) 58%,
                rgba(250, 247, 242, 0.89) 100%);
    }
}

@media (max-width: 720px) {
    .giris-sayfasi {
        align-items: center;
        justify-items: center;
        padding: 88px 22px 74px;
        background-position: 30% center;
    }

    .giris-sayfasi::before {
        background:
            linear-gradient(rgba(250, 246, 240, 0.74), rgba(250, 246, 240, 0.88)),
            radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.40), transparent 55%);
    }

    .giris-sayfasi::after {
        width: 130vw;
        height: 110vh;
        right: -15vw;
    }

    .giris-alani {
        width: min(100%, 470px);
        margin-right: 0;
    }

    .siteye-don {
        top: 20px;
        left: 20px;
    }

    .marka {
        margin-bottom: 20px;
    }

    .marka-logosu {
        width: 182px;
    }

    h1 {
        font-size: clamp(35px, 10vw, 46px);
    }

    .sayfa-altligi {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }
}

@media (max-width: 440px) {
    .giris-sayfasi {
        padding-inline: 18px;
    }

    .marka-logosu {
        width: 164px;
    }

    .baslik-alani p {
        font-size: 14px;
    }

    .form-alt-satir {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .kayit-satiri,
    .rol-notu {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


.giris-uyarisi {
    margin: -11px 0 20px;
    padding: 12px 14px;
    border: 1px solid rgba(181, 48, 43, 0.16);
    border-radius: 11px;
    color: #922c27;
    background: rgba(255, 240, 238, 0.82);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.55;
}

.giris-uyarisi.basarili {
    border-color: rgba(18, 107, 54, 0.15);
    color: #126b36;
    background: rgba(234, 248, 239, 0.86);
}

.dogrulama-tekrar-formu{margin:-10px 0 20px}.dogrulama-tekrar-formu button{width:100%;min-height:44px;border:1px solid rgba(23,35,61,.18);border-radius:11px;color:#17233d;background:rgba(255,255,255,.62);font-size:12px;font-weight:850;cursor:pointer}.dogrulama-tekrar-formu button:hover{background:rgba(255,255,255,.88)}
