﻿/*****************************************************************************************/
/* Giriş (Login) sayfası - açık mavi teknolojik tema, cam efektli kart                   */
/*****************************************************************************************/

:root {
    --accent: #2D7FF9;
    --accent-2: #1565C0;
    --ink: #2A3F54;
    --ink-soft: #73879C;
}

* {
    box-sizing: border-box;
}

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

body.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #eaf4ff 0%, #f5f9fd 45%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.auth-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: authFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-logo {
    max-width: 230px;
    max-height: 72px;
    width: auto;
    height: auto;
    margin-bottom: 26px;
    object-fit: contain;
}

.auth-brand {
    margin-bottom: 26px;
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
}

    .auth-brand i {
        color: var(--accent);
        margin-right: 6px;
    }

.auth-card {
    position: relative;
    width: 100%;
    padding: 40px 36px 34px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(45, 127, 249, 0.14), 0 2px 8px rgba(42, 63, 84, 0.05);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.auth-title {
    margin: 0 0 6px;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    color: var(--ink);
}

.auth-subtitle {
    margin: 0 0 28px;
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ---- Form alanları ---- */
.auth-field {
    position: relative;
    margin-bottom: 16px;
}

    .auth-field > i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #9aa9bd;
        font-size: 15px;
        pointer-events: none;
        transition: color 0.18s ease;
    }

.auth-input {
    width: 100%;
    height: 50px;
    padding: 0 16px 0 44px;
    border: 1px solid #dbe3ec;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

    .auth-input::placeholder {
        color: #9aa9bd;
    }

    .auth-input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(45, 127, 249, 0.15);
    }

.auth-field:focus-within > i {
    color: var(--accent);
}

/* ---- Giriş butonu ---- */
.auth-submit {
    width: 100%;
    height: 50px;
    margin-top: 10px;
    border: none;
    border-radius: 13px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 24px rgba(45, 127, 249, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .auth-submit:hover,
    .auth-submit:focus {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(45, 127, 249, 0.36);
    }

    .auth-submit:active {
        transform: translateY(0);
    }

/* ---- Versiyon ---- */
.auth-version {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 3;
    padding: 0 0 6px 8px;
    font-size: 10px;
    color: var(--ink-soft);
    opacity: 0.6;
}

/* ---- Animasyon ---- */
@keyframes authFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
    .auth-card {
        padding: 32px 22px 28px;
        border-radius: 18px;
    }
}

/* ---- Hareket azaltma tercihi ---- */
@media (prefers-reduced-motion: reduce) {
    .auth-shell {
        animation: none !important;
    }

    .auth-submit {
        transition: none;
    }
}
