* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(-45deg, #02af50, #02bf55, #02e570, #02f080, #02bf55, #02af50);
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Hızlı ve Belirgin Gradient Animasyonu */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Belirgin Floating Orbs */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 163, 112, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: orbMove1 10s ease-in-out infinite;
    filter: blur(60px);
}

body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(1, 105, 77, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: orbMove2 12s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes orbMove1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-100px, 100px) rotate(90deg);
    }
    50% {
        transform: translate(-200px, 0) rotate(180deg);
    }
    75% {
        transform: translate(-100px, -100px) rotate(270deg);
    }
}

@keyframes orbMove2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(100px, -100px) rotate(120deg) scale(1.2);
    }
    66% {
        transform: translate(200px, 50px) rotate(240deg) scale(0.9);
    }
}

/* Floating Particles */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.login-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(2, 175, 80, 0.1);
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.6s ease;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5ebe9;
}

.login-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.login-header h1 {
    color: #0a2e27;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #6b8a83;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}


.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-left {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #8fa9a3;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-wrapper:focus-within .input-icon-left {
    color: #02af50;
}

.form-group input {
    width: 100%;
    padding: 18px 22px 18px 56px;
    border: 1.5px solid #e5ebe9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    background: #ffffff;
    color: #0a2e27;
    font-weight: 500;
}

.form-group input::placeholder {
    color: #a0b5af;
    font-weight: 400;
}

.form-group input:focus {
    border-color: #02af50;
    box-shadow: 0 0 0 3px rgba(2, 175, 80, 0.1);
}

.btn-login {
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(to right, #02af50, #02bf55);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(2, 175, 80, 0.2);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(to right, #02bf55, #02e570);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 175, 80, 0.3);
}

.btn-login:hover .btn-arrow {
    transform: translateX(5px) scale(1.1);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(2, 175, 80, 0.2);
}

.error-message {
    background: #fee;
    color: #dc2626;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #fecaca;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .login-container {
        max-width: 90%;
        padding: 40px 35px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .login-logo {
        max-width: 180px;
    }
    
    .login-header h1 {
        font-size: 22px;
    }
    
    .login-header p {
        font-size: 12px;
    }
    
    .form-group input {
        padding: 16px 18px 16px 52px;
        font-size: 15px;
    }
    
    .btn-login {
        padding: 16px 24px;
        font-size: 15px;
    }
    
    .particle {
        display: none;
    }
}

