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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f4f6f9;
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: #1e293b;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-brand { color: #fff; font-size: 1.4em; font-weight: bold; }
.nav-links { display: flex; gap: 20px; }
.nav-links a {
    color: #cbd5e1; text-decoration: none; padding: 8px 15px;
    border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover { background: #334155; color: #fff; }
.nav-links a.aktif { background: #3b82f6; color: #fff; }
.nav-links a.cikis { color: #f87171; }

/* Container */
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
h1 { margin-bottom: 25px; color: #1e293b; }
h2 { margin: 25px 0 15px; color: #334155; }

/* Kartlar */
.kartlar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.kart {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}
.kart-ikon { font-size: 2em; margin-bottom: 10px; }
.kart-sayi { font-size: 2.2em; font-weight: bold; color: #3b82f6; }
.kart-baslik { color: #64748b; font-size: 0.95em; margin-top: 5px; }

/* Kutu */
.kutu {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

/* Form */
.form-grup { margin-bottom: 15px; display: flex; flex-direction: column; }
.form-grup label { font-weight: 600; margin-bottom: 6px; color: #475569; font-size: 0.9em; }
.form-grup input, .form-grup select {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1em;
    transition: border 0.2s;
}
.form-grup input:focus, .form-grup select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-satir {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* Butonlar */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #64748b;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.2s;
}
.btn:hover { opacity: 0.9; }
.btn-primary { background: #3b82f6; }
.btn-primary:hover { background: #2563eb; }
.btn-yesil { background: #10b981; }
.btn-yesil:hover { background: #059669; }
.btn-kirmizi { background: #ef4444; }
.btn-kirmizi:hover { background: #dc2626; }
.btn-kucuk { padding: 5px 12px; font-size: 0.85em; }
.btn-tam { width: 100%; }

/* Tablo */
.tablo {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-collapse: collapse;
}
.tablo th {
    background: #1e293b;
    color: #fff;
    padding: 14px;
    text-align: left;
    font-weight: 600;
}
.tablo td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; }
.tablo tr:last-child td { border-bottom: none; }
.tablo tr:hover { background: #f8fafc; }
.tablo code {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e11d48;
}

/* Giriş kutusu */
.giris-kutu {
    max-width: 400px;
    margin: 80px auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}
.giris-kutu h1 { margin-bottom: 10px; }
.alt-yazi { color: #64748b; margin-bottom: 30px; }

/* Uyarılar */
.uyari {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}
.uyari-hata { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.basari { color: #059669; font-weight: 600; margin: 15px 0; }
.bos { text-align: center; color: #94a3b8; padding: 40px; font-style: italic; }

/* Önizleme */
.onizleme-kutu {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-height: 700px;
    overflow-y: auto;
    margin: 20px 0;
}
.islem-butonlari { display: flex; gap: 15px; align-items: center; margin-top: 20px; }

/* Erişim alanları */
.erisim-alan { border-top: 1px solid #e2e8f0; padding-top: 15px; margin-top: 15px; }
.erisim-alan h3 { color: #3b82f6; margin-bottom: 15px; font-size: 1.05em; }
