/* admin.css - NUR für den internen Bereich */
:root {
    --ff-red: #C8102E;
    --ff-dark: #1F2937;
    --ff-light: #F3F4F6;
    --border-color: #ddd;
}

body { font-family: 'Segoe UI', sans-serif; background: var(--ff-light); margin: 0; padding: 20px; color: #333; }
.container { max-width: 1000px; margin: 0 auto; }
.card { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 30px; }
h1, h2, h3 { color: var(--ff-red); margin-top: 0; }
h3 { border-bottom: 2px solid #eee; padding-bottom: 10px; font-size: 1.1rem; }
a { color: var(--ff-red); text-decoration: none; }

/* INPUTS MIT ICONS */
.input-with-icon { position: relative; margin-bottom: 15px; }
.input-with-icon i { position: absolute; left: 12px; top: 12px; color: #999; width: 20px; text-align: center; }
.input-with-icon input, .input-with-icon select, .input-with-icon textarea { 
    width: 100%; padding: 10px; padding-left: 40px !important; 
    border: 1px solid var(--border-color); border-radius: 4px; box-sizing: border-box; font-size: 1rem; 
}
.input-with-icon textarea + i, .input-with-icon i.fa-align-left { top: 12px; }

/* BUTTONS */
button, .btn { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 1rem; color: white; display: inline-block; }
button[type="submit"], .btn-primary { background: var(--ff-red); }
button:hover { background: #a00d25; }
.btn-cancel { background: #6b7280; text-decoration: none; margin-left: 10px; }
.btn-cancel:hover { background: #4b5563; }
.btn-edit { background: #f59e0b; padding: 5px 10px; font-size: 0.8rem; margin-right: 5px; }
.btn-del { background: #dc2626; padding: 5px 10px; font-size: 0.8rem; }
.btn-reset { background: #3b82f6; padding: 5px 10px; font-size: 0.8rem; }
.form-actions { margin-top: 25px; display: flex; align-items: center; }

/* TABELLEN & LAYOUT */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.list-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: white; }
.list-table td { padding: 10px; border-bottom: 1px solid #eee; vertical-align: middle; }
.badge { padding: 3px 8px; border-radius: 10px; font-size: 0.75rem; color: white; font-weight: bold; }
.role-super-admin { background: #000; } .role-admin { background: var(--ff-red); } .role-other { background: #666; }

/* DETAILS / ACCORDION */
details { margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; background: #fff; }
details summary { padding: 15px; cursor: pointer; font-weight: bold; background: #f1f1f1; outline: none; }
details[open] summary { border-bottom: 1px solid #ddd; color: var(--ff-red); background: #fff; }
.details-content { padding: 20px; }
.pagination { margin-top: 15px; text-align: center; }
.pagination a { padding: 5px 12px; background: white; border: 1px solid #ddd; color: #333; margin: 0 2px; border-radius: 4px; }

.alert { padding: 15px; border-radius: 4px; margin-bottom: 20px; text-align: center; color: white; font-weight: bold; }
.error { background-color: #dc2626; } .success { background-color: #16a34a; } .info { background-color: #3b82f6; }

@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }