* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
}

body::after {
    display: none;
}

/* Admin login için kurumsal tema */
body.admin-login {
    background: #f5f7fa;
}

body.admin-login::before {
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
}

body.admin-login .login-header h1 {
    color: #1e293b;
}

body.admin-login .input-group:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

body.admin-login .input-group:focus-within .input-icon {
    color: #2563eb;
}

body.admin-login .login-btn {
    background: #2563eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.admin-login .login-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

body.admin-login .login-card::before {
    background: #2563eb;
}

/* Customer login için farklı tema - daha sade */
body.customer-login {
    background: #f8fafc;
}

body.customer-login::before {
    background: 
        linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
}

body.customer-login .login-header h1 {
    color: #1e40af;
}

body.customer-login .input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

body.customer-login .input-group:focus-within .input-icon {
    color: #3b82f6;
}

body.customer-login .login-btn {
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

body.customer-login .login-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

body.customer-login .login-card::before {
    background: #2563eb;
}

.login-container {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: #ffffff;
    padding: 48px 40px;
    border-radius: 12px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #2563eb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.login-header::after {
    display: none;
}

.login-header img {
    height: 65px;
    margin-bottom: 24px;
    filter: none;
    transition: opacity 0.2s ease;
}

.login-header img:hover {
    opacity: 0.9;
}

.login-header h1 {
    font-size: 28px;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.form-group:focus-within label {
    color: #2563eb;
}

.input-group {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.input-group::before {
    display: none;
}

.input-group:focus-within {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
    transition: color 0.2s ease;
    z-index: 1;
}

.input-group:focus-within .input-icon {
    color: #2563eb;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    padding-left: 44px;
    padding-right: 44px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    background: transparent;
    color: #111827;
    transition: all 0.2s ease;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus {
    outline: none;
}

.toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
    z-index: 1;
}

.toggle-pass:hover {
    color: #2563eb;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.login-btn::before {
    display: none;
}

.login-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

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

.login-btn.is-loading {
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.login-btn.is-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: shake 0.3s ease;
    border: 1px solid #fecaca;
    font-weight: 500;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.footer-text {
    text-align: center;
    margin-top: 30px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
}

/* Dekoratif elementler kaldırıldı - daha kurumsal görünüm için */
.login-card::after {
    display: none;
}

@media (max-width: 480px) {
    .login-container {
        padding: 0 15px;
    }

    .login-card {
        padding: 36px 24px;
        border-radius: 12px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .login-header img {
        height: 55px;
    }
}