/* Masterpiece Login UI - Wide & Grand Edition */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
    --bg-color: #030305;
    --glass-bg: rgba(20, 20, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-green: #00ff9d;
    --neon-blue: #00b8ff;
    --text-main: #ffffff;
    --text-muted: #8892b0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Üst sol: siteye dönüş */
.login-top-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    padding: 1.25rem 1.5rem;
}

.login-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(20, 20, 25, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.login-back-btn .lucide {
    width: 20px;
    height: 20px;
}

.login-back-btn:hover {
    color: var(--text-main);
    border-color: rgba(0, 255, 157, 0.35);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.12);
    transform: translateX(-2px);
}

.login-back-btn:active {
    transform: translateX(0);
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(0, 255, 157, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(0, 184, 255, 0.05) 0%, transparent 40%);
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Brilliant Orbs Background */
.bg-spheres {
    position: absolute;
    width: 100vw; height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: floatingOrb 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 600px; height: 600px;
    background: var(--neon-green);
    opacity: 0.12;
    top: -10vh; left: -10vw;
}

.orb-2 {
    width: 700px; height: 700px;
    background: var(--neon-blue);
    opacity: 0.12;
    bottom: -20vh; right: -10vw;
    animation-delay: -10s;
}

@keyframes floatingOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15vw, 15vh) scale(1.3); }
}

/* Center Stage Glass - Super Wide Edition */
.login-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px; /* MUCH wider */
    padding: 2rem;
}

.liquid-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9);
    border-radius: 40px; /* Super round edges */
}

.login-card {
    padding: 5rem 4.5rem; /* Massive internal breathing room */
    animation: elevateCard 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(50px) scale(0.95);
    opacity: 0;
}

@keyframes elevateCard {
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Header */
.brand-header {
    text-align: center;
    margin-bottom: 4rem;
}

.logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px; height: 80px; /* Hero size logo */
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), rgba(0, 184, 255, 0.1));
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 28px;
    color: var(--neon-green);
    margin-bottom: 2rem;
    box-shadow: 0 0 40px rgba(0, 255, 157, 0.3), inset 0 0 30px rgba(0, 255, 157, 0.1);
    transform: rotate(-5deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.login-card:hover .logo-box { transform: rotate(0deg) scale(1.05); }

.logo-box i { width: 40px; height: 40px; }

.brand-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-header h1 span {
    background: linear-gradient(to right, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
}

/* Inputs */
.luxe-input-group {
    margin-bottom: 2.2rem;
    position: relative;
}

.luxe-input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px; /* Rounder inputs */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    background: rgba(0, 255, 157, 0.04);
    border-color: rgba(0, 255, 157, 0.4);
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.15), inset 0 0 15px rgba(0, 255, 157, 0.05);
}

.input-wrapper > .lucide {
    position: absolute;
    left: 1.5rem;
    color: var(--text-muted);
    width: 24px; height: 24px; /* Larger icon */
    transition: color 0.3s;
    pointer-events: none;
}

.input-wrapper:focus-within > .lucide {
    color: var(--neon-green);
}

.luxe-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 1rem 1.5rem 4.5rem; /* Huge touch target */
    color: #fff;
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
}

.luxe-input:focus { outline: none; }
.luxe-input::placeholder { color: rgba(255, 255, 255, 0.15); font-weight: 300; }

.toggle-password {
    position: absolute;
    right: 1.2rem;
    background: none; border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    transition: all 0.2s;
    z-index: 5;
}
.toggle-password .lucide { width: 24px; height: 24px; pointer-events: none;}
.toggle-password:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

/* Actions */
.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.cb-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.cb-container:hover { color: #fff; }

.cb-container input { display: none; }

.checkmark {
    width: 22px; height: 22px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    margin-right: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cb-container input:checked ~ .checkmark {
    background: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

.cb-container input:checked ~ .checkmark::after {
    content: '';
    width: 6px; height: 12px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.forgot-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 184, 255, 0.4);
}

/* Button */
.btn-royal {
    position: relative;
    width: 100%;
    padding: 1.4rem;
    background: linear-gradient(135deg, var(--neon-green) 0%, #00cc7e 100%);
    border: none;
    border-radius: 20px;
    color: #000;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center; justify-content: center; gap: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.3);
    overflow: hidden;
}

.btn-royal i { width: 26px; height: 26px; }

.btn-royal::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.btn-royal:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 255, 157, 0.5), 0 0 25px rgba(0, 255, 157, 0.6);
}

.btn-royal:hover::before {
    left: 200%;
}

.btn-royal:active { transform: translateY(0); box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3); }

@media (max-width: 768px) {
    .login-wrapper { max-width: 100%; }
    .login-card { padding: 3rem 2rem; border-radius: 30px; }
    .brand-header h1 { font-size: 2.2rem; }
    .luxe-input { padding: 1.2rem 1rem 1.2rem 3.5rem; font-size: 1.05rem; }
    .input-wrapper > i { left: 1.2rem; width: 20px; height: 20px; }
    .btn-royal { font-size: 1.15rem; padding: 1.2rem; border-radius: 16px; }
}
