body.dark-theme { background-color: #1a1c23; color: #ecf0f1; font-family: 'Segoe UI', sans-serif; }
.sidebar {
    width: 260px; height: 100vh; background: #0f1115; position: fixed;
    padding: 20px; border-right: 1px solid #333;
}
.sidebar .brand { text-align: center; font-size: 24px; font-weight: bold; color: #e74c3c; margin-bottom: 30px; }
.sidebar .brand img { height: 50px; }
.sidebar a { display: block; padding: 12px; color: #a0a0a0; text-decoration: none; border-radius: 5px; margin-bottom: 5px; transition: 0.3s; }
.sidebar a:hover, .sidebar a.active { background: #e74c3c; color: white; }
.sidebar .logout { margin-top: 50px; color: #e74c3c; border: 1px solid #e74c3c; }
.main-content { margin-left: 260px; padding: 40px; }

/* RAPOR TASARIMI (A4 Kağıdı Havası) */
#reportPreview {
    background: #fdfbf7; color: #222; width: 700px; min-height: 900px;
    padding: 50px; border: 1px solid #ccc; position: relative;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
#reportPreview .header { text-align: center; border-bottom: 3px double #000; padding-bottom: 10px; }
#reportPreview .header img { height: 80px; }
.red-line { border-top: 2px solid #b33939; margin-top: 2px; }
.stamp {
    position: absolute; top: 50px; right: 50px; border: 4px solid #c0392b;
    color: #c0392b; padding: 5px 15px; font-size: 24px; font-weight: bold;
    transform: rotate(-10deg); opacity: 0.7;
}
.content-box { margin-top: 30px; font-size: 16px; line-height: 1.6; }
.footer-sign { margin-top: 80px; display: flex; justify-content: space-between; text-align: center; }

/* KİMLİK KARTI TASARIMI */
#idCardPreview {
    width: 350px; height: 550px; background: #000; color: white;
    border-radius: 15px; text-align: center; overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); border: 2px solid #e74c3c;
}
.id-header { background: #e74c3c; padding: 15px; font-weight: bold; letter-spacing: 2px; }
.id-body { padding: 20px; }
.id-logo { width: 80px; margin-bottom: 15px; }
.photo-box { width: 120px; height: 120px; background: #333; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 50px; color: #555; border: 2px solid #555; }
.rank { color: #e74c3c; font-weight: bold; font-size: 18px; text-transform: uppercase; }
.id-footer { background: #222; padding: 10px; font-size: 10px; margin-top: 50px; }