body {
    background-color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    /* Scroll engelleme */
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    /* İçeriğin arkasında */
}

.login-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    animation: fadeIn 0.8s ease-out;
    position: relative;
    z-index: 1;
    /* Particles'ın önünde */
}

.login-card {
    background: rgba(22, 33, 62, 0.85);
    /* Hafif şeffalık */
    backdrop-filter: blur(10px);
    /* Buzlu cam efekti */
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Tilt efekti için transform-style gerekebilir ama vanilla-tilt halleder */
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header img {
    max-width: 180px;
    margin-bottom: 20px;
}

.login-header h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 24px;
}

.input-group {
    background: rgba(15, 52, 96, 0.8);
    border-radius: 8px;
    margin-bottom: 15px !important;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.input-group-text {
    background: transparent;
    border: none;
    color: #a0a0a0;
    padding-left: 15px;
}

.form-control {
    background: transparent;
    border: none;
    color: #fff;
    height: 50px;
    padding-left: 10px;
}

.form-control:focus {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.input-group:focus-within {
    border-color: #e94560;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.3);
    transform: scale(1.02);
    /* Hafif büyüme */
}

.input-group:focus-within .input-group-text {
    color: #e94560;
}

.btn-login {
    background: linear-gradient(45deg, #e94560, #c0392b);
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    border: none;
    margin-top: 20px;
    transition: all 0.3s;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 69, 96, 0.4);
    color: #fff;
}

/* Animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .login-header img {
        max-width: 120px !important;
        width: 120px !important;
        margin-bottom: 15px;
    }

    .login-container {
        padding: 15px;
        align-items: center;
        /* Dikey ortala */
    }

    .login-card {
        padding: 25px 20px;
        width: 100%;
        margin-top: -50px;
        /* Klavye açılınca yukarı kaysın diye */
    }

    .login-header h3 {
        font-size: 20px !important;
        color: #fff !important;
    }

    .text-muted {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    /* Input icon fix for mobile */
    .input-group-text {
        background: transparent !important;
        color: #e94560 !important;
        border: none !important;
    }

    .input-group {
        background: rgba(15, 52, 96, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .form-control {
        color: #fff !important;
    }

    /* Button fix */
    .btn-login {
        width: 100%;
        margin-top: 15px;
    }
}