:root {
    /* --- Kurumsal Renk Paleti --- */
    --corporate-navy: #0f172a; /* Delwork Koyu Lacivert */
    --corporate-blue: #2563eb; /* Delwork Mavi */
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    --border-focus: #2563eb;
    --error-red: #ef4444;
    --success-green: #16a34a;
    --warning-bg: #f8fafc;
    
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-primary);
    height: 100vh;
    width: 100vw;
    overflow: hidden; /* Tam ekran, kaydırma çubuğu yok */
    background-color: var(--bg-white);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.enterprise-layout {
    display: flex;
    height: 100%;
    width: 100%;
}

/* --- SOL PANEL (Form Alanı) --- */
.login-section {
    width: 40%;
    min-width: 450px;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    border-right: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-header {
    margin-bottom: 2.5rem;
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--corporate-navy);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Güvenlik Uyarısı Kutusu */
.audit-warning {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--warning-bg);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid #e2e8f0;
    width: 100%;
}

.audit-warning svg {
    color: var(--text-muted);
    min-width: 16px;
}

/* Form Bileşenleri */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-main);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); /* Hafif mavi gölge */
}

.form-group input::placeholder {
    color: #cbd5e1;
}

/* Şifre Alanı ve Göz İkonu */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 45px; 
}

.toggle-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toggle-btn:hover {
    color: var(--text-main);
}

/* Alt Seçenekler */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--corporate-navy);
}

.forgot-pass {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.forgot-pass:hover {
    color: var(--corporate-navy);
    border-bottom-color: var(--corporate-navy);
}

/* Hata Mesajı */
.error-message {
    font-size: 0.875rem;
    color: var(--error-red);
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Butonlar */
button#submitBtn,
button#resetBtn {
    display: block;
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--corporate-navy);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button#submitBtn:hover,
button#resetBtn:hover {
    background-color: #1e293b;
}

button#submitBtn:disabled,
button#resetBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* --- SAĞ PANEL (Marka Alanı) --- */
.brand-section {
    flex: 1;
    background-color: var(--corporate-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hafif Noktalı Desen */
.brand-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#334155 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.15;
    pointer-events: none;
}

.brand-center {
    text-align: center;
    color: #fff;
    z-index: 10;
}

/* Logo Alanı (Resim için düzenlendi) */
.logo-box {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.brand-logo {
    width: 140px; /* Logo boyutunu buradan ayarlayabilirsin */
    height: auto;
    object-fit: contain;
    /* Logonun etrafında beyazlık varsa kaldırmak için mix-blend-mode denenebilir ama jpg için şeffaflık yoktur */
    border-radius: 8px; 
}

.brand-center h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.brand-center p {
    font-size: 0.875rem;
    color: #94a3b8;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- Responsive (Mobil) --- */
@media (max-width: 900px) {
    .brand-section {
        display: none; /* Mobilde sağ tarafı gizle */
    }
    .login-section {
        width: 100%;
        min-width: auto;
        padding: 2rem;
        border-right: none;
    }
    .login-container {
        max-width: 100%;
    }
}