body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
section{
    overflow: hidden;
}

/* Notification */
#notification-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.notification {
    padding: 12px 20px;
    border-radius: 8px;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Urbanist, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: slideInDown 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    text-transform: uppercase;
}
@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.notification.success { background: rgb(66, 74, 61); color: #fff; border-left: 4px solid #2ecc71; }
.notification.error   { background: #fff; color: #c0392b; border-left: 4px solid #c0392b; }
.notification.warning { background: #fff; color: #a8520a; border-left: 4px solid #e67e22; }   /* metin #e67e22 idi — beyazda 2.9:1 (kontrast taraması 2026-10-16) */
.notification.info    { background: rgb(66, 74, 61); color: #fff; border-left: 4px solid #3498db; }
.notification i { font-size: 16px; }

.registerWrp{
    height: 100vh;
}
.registerOverlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.22);
    top: 0;
    left: 0;
}
.registerBackground{
    /* 100% + cover: resim 16:9, ekran 16:10 (MacBook'lar) olunca altta gri bant
       kalıyordu (2026-10-03, BG-1). Mobil kural aşağıda kendi yüksekliğini verir. */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.registerFormWrp{
    position: absolute;
    width: 75%;
    height: -webkit-fit-content;
    height: fit-content;
    max-height: 600px;
    left: 50%;
    top: 48%;
    transform: translate(-50%,-50%);
}
/* WK-1 (2026-10-03) — SAFARI'DE KART ÇÖKÜYORDU. Kap (.registerFormWrp)
   `height: fit-content`, çocukları zincirleme `height: 100%`: döngüsel bir
   yüzde. Chrome onu içerik yüksekliğine çözüyor; WebKit (Safari 18) 0'a — kart
   40 px'lik bir şeride iniyor, form koyu resmin üstünde okunmuyor, politika
   bağlantıları parola alanının arkasında kalıyordu. Çocuklar `height: auto`;
   mobilde kabın yüksekliğini top/bottom belirler (aşağıda). */
.registerFormCont{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    justify-content: end;
}
.registerFormPart{
    width: 100%;
    max-width: 500px;
    height: auto;
    background: rgba(255, 255, 255, .8);
    border-radius: 16px;
    padding: 20px 0;
}
.registerFormSubPart{
    height: auto;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.registerFormSingle{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.registerFormSingle h1{
    color: rgb(66, 74, 61);
    font-family: Montserrat, sans-serif;
    font-size: 36px;
    margin: 0;
}
.signInWithGoogleBtn{
    background: #fff;
    display: flex;
    line-height: 26px;
    margin-bottom: 10px;
    font-weight: 600;
    padding: 10px 15px;
    width: -webkit-fit-content;
    width: fit-content;
    cursor: pointer;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    font-size: 18px;
    font-family: Montserrat, sans-serif;
    color: #000;
    text-decoration: none;
    transition: all .2s ease-in-out;
}
.signInWithGoogleBtn:hover{
    background: rgb(66, 74, 61);
    color: #fff;
}
.googleSignIconCont{
    height: 26px;
    width: 26px;
    margin-right: 10px;
}
.registerFormSingle p{
    margin: 10px 0 20px 0;
    font-family: Urbanist, sans-serif;
    color: #000;
    line-height: 24px;
}
.registerInputCont{
    position: relative;
    width: 100%;
    max-width: 400px;
    font-family: Urbanist, sans-serif;
}
.registerInputSingle{
    width: calc(100% - 90px);
    height: 40px;
    padding: 8px 45px 8px 45px;
    font-family: Urbanist, sans-serif;
    font-size: 18px;
    border: none;
    background: #f1f1f1;
    border-radius: 3px;
    margin-top: 10px;
}
#nameInput{
    margin: 0;
}
.registerInputIcon{
    position: absolute;
}
.nameIcon{
    top: 17px;
    left: 15px;
}
.emailIcon{
    top: 28px;
    left: 15px;
}
.passwordIcon{
    top: 27px;
    left: 15px;
}

.registerSubmitBtn{
    margin-top: 16px;
    min-width: 166px;
    cursor: pointer;
    font-weight: 600;
    padding: 10px 15px;
    display: block;
    width: 200px;
    border: 3px solid #fff;
    border-radius: 10px;
    font-size: 20px;
    font-family: Montserrat, sans-serif;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background: rgb(66, 74, 61);
    transition: all .2s ease-in-out;
}
.registerSubmitBtn:hover{
    border: 3px solid rgb(66, 74, 61);
    color: rgb(66, 74, 61);
    background: #fff;
}
.inputCharCounter{
    width: 30px;
    height: 40px;
    position: absolute;
    right: 8px;
    top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}
/* Oturumun neden bittigini anlatan serit (login.php -> $loginNotice).
   .registerFormSingle p kurali BASLIK ALTI aciklama icin yazilmis (ortali,
   20px alt bosluk); bildirim onun gorunumunu almasin diye kendi kutusu var. */
.loginNotice{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    margin: 0 0 18px 0 !important;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid rgba(66, 74, 61, 0.25);
    border-left: 3px solid rgb(66, 74, 61);
    border-radius: 8px;
    background: rgba(66, 74, 61, 0.07);
    font-family: Urbanist, sans-serif;
    font-size: 13px;
    line-height: 1.45 !important;
    text-align: left;
    color: rgb(48, 54, 45);
}
.loginNotice i{
    flex-shrink: 0;
    margin-top: 2px;
    color: rgb(66, 74, 61);
}
.inputWarning{
    display: none;
    margin: 0 0 0 10px !important;
    color: red !important;
    font-size: 14px;
    text-align: left;
    width: 100%;
    max-width: 400px;
}
.registerCheckboxCont{
    text-align: left;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    display: flex;
    align-items: center;
    font-family: Urbanist, sans-serif;
}
.registerCheckboxCont input{
    accent-color: #424A3D;
    cursor: pointer;
}
.registerCheckboxCont a{
    color: inherit;
}
.inputShowPassword{
    position: absolute;
    cursor: pointer;
    right: 10px;
    top: 18px;
    border-radius: 4px;
    line-height: 0;
}
/* Klavyeyle gezilebilir (role="button" tabindex="0") — odak görünür olmalı */
.inputShowPassword:focus-visible{
    outline: 2px solid #13322b;
    outline-offset: 2px;
}
/* Parola açıkken ikon vurgulanır: durum yalnızca aria ile değil gözle de anlaşılsın */
.inputShowPassword.is-revealed svg circle,
.inputShowPassword.is-revealed svg path{
    stroke: #13322b;
}

/* Branding — only visible on mobile */
.loginBranding {
    display: none;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    section {
        overflow-y: auto;
    }

    .registerWrp {
        height: 100vh;
        min-height: 100svh;
        overflow: hidden;
    }

    .registerBackground {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 38vh;
        object-fit: cover;
        object-position: center top;
    }

    .registerOverlay {
        height: 38vh;
    }

    .registerFormWrp {
        position: absolute;
        top: 30vh;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: auto;   /* WK-1 — fit-content top/bottom'u eziyordu */
        max-height: none;
        transform: none;
        padding: 0;
    }

    .registerFormCont {
        height: 100%;
        justify-content: center;
    }

    .registerFormPart {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 28px 0 32px;
        background: rgba(255, 255, 255, 0.98);
        min-height: 100%;
    }

    .registerFormSubPart {
        padding: 0 24px;
    }

    .registerFormSingle h1 {
        font-size: 24px;
    }

    .registerFormSingle p {
        font-size: 14px;
        margin: 8px 0 14px;
    }

    .registerInputCont {
        max-width: 100%;
    }

    .inputWarning {
        max-width: 100%;
    }

    .registerSubmitBtn {
        width: 100%;
        max-width: none;
    }

    /* Kart flex column → form üstte, branding altta */
    .registerFormPart {
        display: flex;
        flex-direction: column;
    }

    .registerFormSubPart {
        flex: 1;
    }

    .loginBranding {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        padding: 16px 24px 28px;
    }

    .loginBrandingLogo {
        width: 44px;
        height: 44px;
        object-fit: contain;
        border-radius: 10px;
    }

    .loginBrandingText {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .loginBrandingName {
        font-family: Montserrat, sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: rgb(66, 74, 61);
        line-height: 1.2;
    }

    .loginBrandingTagline {
        font-family: Urbanist, sans-serif;
        font-size: 13px;
        color: #999;
        line-height: 1.2;
    }
}

/* CON-5 (2026-10-03) — kartın altındaki politika bağlantıları. Satır içi
   stildi ve --text-muted / --text-subtle kullanıyordu: tokens.css'in KOYU
   zemin token'ları, açık kartta ~1.4:1 (tokens.css: "açık zeminde
   KULLANMAYIN"). font-family de yoktu — Times'a düşüyordu. */
.loginLegalLinks {
    margin-top: 14px; text-align: center; line-height: 1.9;
    font-family: Urbanist, sans-serif; font-size: 12px; font-weight: 500;
    color: #3d4541;
}
.loginLegalLinks a { color: var(--green, #13322b); }

/* PLACEHOLDER — KONTRAST (2026-10-16): tarayıcının #757575'i #f1f1f1 alanda 4.1:1 idi. */
::placeholder { color: #5f5f5f; opacity: 1; }
