﻿/* === Google Font: Inter === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* === Login sayfasına özel kapsama === */
.login-page,
.login-page * {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.2px;
    margin: 0;
    padding: 0;
}

/* Arka plan + merkezleme */
.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/resim/loginresim.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

    /* Koyu şeffaf katman (overlay) */
    .login-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(0,0,0,.35), rgba(0,0,0,.6));
    }

    /* Kart (cam efekti) */
    .login-page .wrapper {
        position: relative;
        width: min(420px, 92vw);
        color: #fff;
        border-radius: 12px;
        padding: 30px 40px;
        background: rgba(255,255,255, .06);
        border: 1px solid rgba(255,255,255, .25);
        box-shadow: 0 10px 30px rgba(0,0,0,.25);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

        /* Başlık */
        .login-page .wrapper h1 {
            font-size: 30px;
            font-weight: 600;
            text-align: center;
            margin-bottom: 14px;
            letter-spacing: 0.5px;
        }

    /* Giriş alanları */
    .login-page .input-box {
        position: relative;
        width: 100%;
        height: 50px;
        margin: 20px 0;
    }

        .login-page .input-box input {
            width: 100%;
            height: 100%;
            background: transparent;
            color: #fff;
            font-size: 14px;
            border: 1.5px solid rgba(255,255,255,.35);
            border-radius: 40px;
            outline: none;
            padding: 14px 46px 14px 18px;
            transition: border-color .2s ease, box-shadow .2s ease;
        }

            .login-page .input-box input::placeholder {
                color: rgba(255,255,255,.85);
            }

            .login-page .input-box input:focus {
                border-color: #EA8A3B;
                box-shadow: 0 0 1px rgba(234, 138, 59, 0.3); /* 🔹 yarı kalınlıkta, minimal gölge */
                transition: border-color 0.2s ease, box-shadow 0.2s ease;
            }



        /* İkonlar */
        .login-page .input-box i {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 18px;
            color: rgba(255,255,255,.9);
            pointer-events: none;
        }

    /* Hatırla/Unuttum */
    .login-page .remember-forgot {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        margin: 10px 0 20px;
    }

        .login-page .remember-forgot label input {
            accent-color: #EA8A3B;
            margin-right: 5px;
        }

        .login-page .remember-forgot a {
            color: #C39BD3; /* eflatun tonu */
            text-decoration: none;
            opacity: .95;
        }

            .login-page .remember-forgot a:hover {
                text-decoration: underline;
                color: #D2B4DE; /* hover için biraz daha açık eflatun */
            }

    /* === TURUNCU MARKA BUTON === */
    .login-page .btn {
        width: 100%;
        height: 45px;
        border: none;
        border-radius: 40px;
        cursor: pointer;
        background-color: #EA8A3B;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.3px;
        box-shadow: 0 6px 18px rgba(234,138,59,0.3);
        transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }

        .login-page .btn:hover {
            background-color: #F19B4B;
            box-shadow: 0 10px 28px rgba(234,138,59,0.45);
            transform: translateY(-2px);
        }

        .login-page .btn:active {
            background-color: #EA8A3B;
            transform: translateY(0);
            box-shadow: 0 6px 18px rgba(234,138,59,0.35);
        }

        .login-page .btn:focus {
            outline: 3px solid rgba(234,138,59,0.4);
            outline-offset: 2px;
        }

    /* Kayıt linki */
    .login-page .register-link {
        font-size: 13px;
        text-align: center;
        margin: 18px 0 4px;
    }

        .login-page .register-link p a {
            color: #C39BD3; /* eflatun tonu */
            text-decoration: none;
            font-weight: 600;
        }

            .login-page .register-link p a:hover {
                text-decoration: underline;
                color: #D2B4DE; /* hover için biraz daha açık eflatun */
            }

/* Küçük ekranlar */
@media (max-width: 420px) {
    .login-page .wrapper {
        padding: 24px;
    }

        .login-page .wrapper h1 {
            font-size: 26px;
        }

    .login-page .input-box {
        height: 48px;
        margin: 16px 0;
    }
}

/* Hareketi azalt tercihine saygı */
@media (prefers-reduced-motion: reduce) {
    .login-page .btn,
    .login-page .input-box input {
        transition: none;
    }
}
