* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #494C62 0%, #5a5d75 50%, #6a6d88 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Arka plan animasyonu */
body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 155, 213, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    top: -50%;
    left: -50%;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(90, 93, 117, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.6s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #5b9bd5 0%, #4a8bc2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(91, 155, 213, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo i {
    font-size: 36px;
    color: #ffffff;
}

.login-header h1 {
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.login-header p {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 300;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    background: rgba(106, 109, 136, 0.8);
    border: 2px solid #7a7d98;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #c0c0c0;
}

.form-group input:focus {
    outline: none;
    border-color: #5b9bd5;
    box-shadow: 0 0 0 4px rgba(91, 155, 213, 0.2);
    background: rgba(122, 125, 152, 0.9);
    transform: translateY(-2px);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 55px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #e0e0e0;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    transition: all 0.3s;
    border-radius: 6px;
}

.toggle-password:hover {
    color: #5b9bd5;
    background: rgba(91, 155, 213, 0.1);
}

.form-options {
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    font-size: 13px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5b9bd5;
}

.error-message {
    background: linear-gradient(135deg, #ff6b6b 0%, #e05252 100%);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    animation: shake 0.5s;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.success-message {
    background: linear-gradient(135deg, #70ad47 0%, #5e9c3a 100%);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    animation: slideIn 0.3s;
    box-shadow: 0 4px 12px rgba(112, 173, 71, 0.3);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #5b9bd5 0%, #4a8bc2 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(91, 155, 213, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #4a8bc2 0%, #3a7ab2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(91, 155, 213, 0.4);
}

.login-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(91, 155, 213, 0.3);
}

.login-footer {
    margin-top: 35px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(122, 125, 152, 0.5);
}

.login-footer p {
    color: #c0c0c0;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.login-footer .version {
    color: #a0a0a0;
    font-size: 11px;
    margin-top: 5px;
}

.login-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(90, 93, 117, 0.6);
    border-radius: 10px;
    text-align: center;
    color: #e0e0e0;
    font-size: 12px;
    line-height: 1.8;
}

.login-info strong {
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 500px) {
    .login-card {
        padding: 35px 25px;
    }
    
    .login-header h1 {
        font-size: 22px;
    }
    
    .logo {
        width: 70px;
        height: 70px;
    }
    
    .logo i {
        font-size: 30px;
    }
}
