﻿:root {
    --brand-1: #6366f1;
    --brand-2: #8b5cf6;
    --brand-3: #ec4899;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

    body.giris-body {
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        background: #0f172a;
        color: #f1f5f9;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

.giris-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.giris-brand {
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, .25), transparent 50%), radial-gradient(circle at 80% 80%, rgba(236, 72, 153, .2), transparent 50%), linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    overflow: hidden;
}

    .giris-brand::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
    }

.giris-brand-header {
    display: flex;
    align-items: center;
    gap: .85rem;
    position: relative;
    z-index: 1;
}

    .giris-brand-header .logo {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
        display: grid;
        place-items: center;
        font-size: 1.5rem;
        box-shadow: 0 8px 24px rgba(99, 102, 241, .4);
    }

    .giris-brand-header .title {
        font-weight: 700;
        font-size: 1.15rem;
        line-height: 1.1;
        color: #fff;
    }

        .giris-brand-header .title small {
            display: block;
            font-weight: 400;
            font-size: .75rem;
            color: #94a3b8;
        }

.giris-brand-body {
    position: relative;
    z-index: 1;
}

    .giris-brand-body h1 {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -.03em;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, #fff, #a5b4fc);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .giris-brand-body p {
        color: #94a3b8;
        font-size: 1rem;
        max-width: 420px;
        line-height: 1.6;
    }

.giris-brand-features {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 2rem;
}

    .giris-brand-features .feature {
        display: flex;
        align-items: center;
        gap: .75rem;
        color: #cbd5e1;
        font-size: .9rem;
    }

        .giris-brand-features .feature i {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: rgba(99, 102, 241, .15);
            color: #a5b4fc;
            display: grid;
            place-items: center;
            font-size: 1rem;
        }

.giris-brand-footer {
    position: relative;
    z-index: 1;
    font-size: .8rem;
    color: #64748b;
}

.giris-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8fafc;
}

.giris-kart {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .15);
    border: 1px solid #e2e8f0;
    animation: girisSlide .5s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes girisSlide {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.giris-baslik {
    text-align: center;
    margin-bottom: 1.75rem;
}

    .giris-baslik h2 {
        color: #0f172a;
        font-weight: 700;
        font-size: 1.5rem;
        margin: 0;
        letter-spacing: -.02em;
    }

    .giris-baslik p {
        color: #64748b;
        margin-top: .35rem;
        font-size: .9rem;
    }

.giris-kart .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: .35rem;
}

.giris-kart .form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: .7rem .9rem;
    font-size: .9rem;
    transition: all .2s;
}

    .giris-kart .form-control:focus {
        border-color: var(--brand-1);
        box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
    }

.giris-kart .btn-primary {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    border: none;
    border-radius: 10px;
    padding: .75rem;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(99, 102, 241, .35);
    transition: all .2s;
}

    .giris-kart .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(99, 102, 241, .45);
    }

.giris-kart .form-check-label {
    font-size: .85rem;
    color: #475569;
}

.giris-kart .link-muted {
    font-size: .85rem;
    color: #64748b;
    text-decoration: none;
}

    .giris-kart .link-muted:hover {
        color: var(--brand-1);
    }

@media (max-width: 991.98px) {
    .giris-wrapper {
        grid-template-columns: 1fr;
    }

    .giris-brand {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .giris-brand-body h1 {
        font-size: 1.75rem;
    }

    .giris-brand-body p {
        font-size: .9rem;
    }

    .giris-brand-features {
        display: none;
    }

    .giris-brand-footer {
        display: none;
    }

    .giris-form-side {
        padding: 1.5rem;
    }

    .giris-kart {
        padding: 1.75rem;
        border-radius: 16px;
    }
}

@media (max-width: 575.98px) {
    .giris-brand {
        padding: 1.5rem 1.25rem;
    }

    .giris-brand-body h1 {
        font-size: 1.4rem;
    }

    .giris-form-side {
        padding: 1rem;
    }

    .giris-kart {
        padding: 1.5rem 1.25rem;
    }
}
