﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(120deg, #e0eafc, #cfdef3);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.login-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    animation: slideIn 0.7s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-card h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #222;
}

.form-control {
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: none;
}

    .form-control:focus {
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        transform: scale(1.02);
    }

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.password-wrapper {
    position: relative;
}

.text-danger {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}
/* ===========================
   Auth Footer (floating pill)
   =========================== */

:root {
    --footer-fg: #2b2f33; /* metin rengi (koyu gri) - açık arkaplana uygun */
    --footer-bg: rgba(255, 255, 255, 0.70); /* yarı saydam beyaz cam */
    --footer-bd: rgba(0, 0, 0, 0.08); /* yumuşak çerçeve */
}

.auth-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 14px; /* zeminden biraz yukarı */
    display: flex;
    justify-content: center;
    z-index: 1050; /* login kartının önünde */
    pointer-events: none; /* dış alan tıklanmasın */
}

    .auth-footer .footer-pill {
        pointer-events: auto; /* yalnızca pill tıklanabilir */
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: 8px 14px;
        border-radius: 12px;
        font-size: .85rem;
        line-height: 1;
        color: var(--footer-fg);
        background: var(--footer-bg);
        border: 1px solid var(--footer-bd);
        backdrop-filter: saturate(160%) blur(12px);
        -webkit-backdrop-filter: saturate(160%) blur(12px);
        box-shadow: 0 6px 24px rgba(0,0,0,.15);
        transition: box-shadow .2s ease, transform .2s ease;
    }

@media (hover:hover) {
    .auth-footer .footer-pill:hover {
        box-shadow: 0 8px 28px rgba(0,0,0,.22);
        transform: translateY(-1px);
    }
}

/* Küçük ekran uyumu */
@media (max-width: 576px) {
    .auth-footer {
        bottom: 10px;
    }

        .auth-footer .footer-pill {
            padding: 6px 10px;
            font-size: .8rem;
            border-radius: 10px;
        }
}

/* iOS/Android güvenli alanlar */
@supports (padding: env(safe-area-inset-bottom)) {
    .auth-footer {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 4px);
    }
}
