/* Trabzon Kanuni EAH Gebe Okulu - Ana Stiller */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #ffeef5 0%, #f5e6ff 100%); min-height: 100vh; color: #333; line-height: 1.6; }
.header { background: linear-gradient(135deg, #c2185b 0%, #880e4f 100%); color: white; padding: 20px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.header-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo-area { display: flex; align-items: center; gap: 15px; }
.logo-icon { width: 60px; height: 60px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: #c2185b; }
.header h1 { font-size: 22px; font-weight: 600; margin: 0; }
.header p { font-size: 14px; opacity: 0.9; margin-top: 4px; }
.header-nav a { color: white; text-decoration: none; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; transition: all 0.3s; font-size: 14px; }
.header-nav a:hover { background: rgba(255,255,255,0.15); }
.container { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.container-wide { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.form-card { background: white; border-radius: 12px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.form-title { font-size: 28px; color: #c2185b; margin-bottom: 8px; text-align: center; }
.form-subtitle { text-align: center; color: #666; margin-bottom: 30px; font-size: 15px; }
.form-info { background: #fff3e0; border-left: 4px solid #ff9800; padding: 15px; margin-bottom: 25px; border-radius: 4px; font-size: 14px; color: #5d4037; }
.form-group { margin-bottom: 20px; }
.form-row { display: flex; gap: 15px; margin-bottom: 20px; }
.form-row .form-group { flex: 1; margin-bottom: 0; }
.form-label { display: block; margin-bottom: 6px; font-weight: 600; color: #444; font-size: 14px; }
.required { color: #d32f2f; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 11px 14px; border: 2px solid #e0e0e0; border-radius: 6px; font-size: 14px; font-family: inherit; transition: border-color 0.3s, box-shadow 0.3s; background: white; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: #c2185b; box-shadow: 0 0 0 3px rgba(194,24,91,0.1); }
.form-textarea { resize: vertical; min-height: 90px; }
.btn { padding: 12px 28px; border: none; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, #c2185b 0%, #880e4f 100%); color: white; width: 100%; padding: 14px; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(194,24,91,0.3); }
.btn-secondary { background: #757575; color: white; }
.btn-secondary:hover { background: #616161; }
.btn-success { background: #4caf50; color: white; }
.btn-success:hover { background: #388e3c; }
.btn-danger { background: #f44336; color: white; }
.btn-danger:hover { background: #d32f2f; }
.btn-info { background: #2196f3; color: white; }
.btn-info:hover { background: #1976d2; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.alert-danger { background: #ffebee; color: #c62828; border-left: 4px solid #f44336; }
.alert-warning { background: #fff3e0; color: #e65100; border-left: 4px solid #ff9800; }
.validation-error { color: #d32f2f; font-size: 13px; margin-top: 4px; display: block; }
.footer { background: #4a148c; color: white; text-align: center; padding: 20px; margin-top: 60px; font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-bottom: 30px; }
.stat-card { background: white; border-radius: 10px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); border-left: 4px solid #c2185b; }
.stat-card.success  { border-left-color: #4caf50; }
.stat-card.warning  { border-left-color: #ff9800; }
.stat-card.danger   { border-left-color: #f44336; }
.stat-card.trained  { border-left-color: #1976d2; }
.stat-card.absent   { border-left-color: #8e24aa; }
.stat-label { font-size: 13px; color: #757575; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-size: 32px; font-weight: 700; color: #c2185b; margin-top: 8px; }
.stat-card.success .stat-value  { color: #4caf50; }
.stat-card.warning .stat-value  { color: #ff9800; }
.stat-card.danger .stat-value   { color: #f44336; }
.stat-card.trained .stat-value  { color: #1976d2; }
.stat-card.absent .stat-value   { color: #8e24aa; }
.table-card { background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.filter-row { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; align-items: end; }
.filter-row .form-group { flex: 1; min-width: 200px; margin-bottom: 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: #c2185b; color: white; padding: 12px 10px; text-align: left; font-weight: 600; }
.data-table td { padding: 12px 10px; border-bottom: 1px solid #eee; }
.data-table tr:hover { background: #fafafa; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-pending  { background: #fff3e0; color: #e65100; }
.badge-approved { background: #e8f5e9; color: #2e7d32; }
.badge-rejected { background: #ffebee; color: #c62828; }
.badge-trained  { background: #e3f2fd; color: #1565c0; }
.badge-absent   { background: #f3e5f5; color: #6a1b9a; }
.action-buttons { display: flex; gap: 5px; }
.login-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { background: white; border-radius: 12px; padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); width: 100%; max-width: 420px; }
.login-logo { text-align: center; margin-bottom: 30px; }
.login-logo div { width: 80px; height: 80px; background: linear-gradient(135deg, #c2185b 0%, #880e4f 100%); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 40px; color: white; margin-bottom: 15px; }
.login-logo h2 { color: #c2185b; font-size: 22px; }
.login-logo p { color: #777; font-size: 13px; margin-top: 5px; }
@media print { .no-print { display: none !important; } body { background: white; } .print-area { box-shadow: none; padding: 20px; } }
.print-area { background: white; max-width: 800px; margin: 40px auto; padding: 50px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-radius: 8px; }
.print-header { text-align: center; border-bottom: 3px double #c2185b; padding-bottom: 20px; margin-bottom: 30px; }
.print-header h1 { color: #c2185b; font-size: 22px; margin-bottom: 5px; }
.print-header h2 { font-size: 18px; color: #444; }
.print-header p { color: #666; font-size: 13px; margin-top: 10px; }
.info-grid { display: grid; grid-template-columns: 200px 1fr; gap: 12px 20px; margin: 30px 0; }
.info-label { font-weight: 600; color: #555; padding: 10px; background: #f9f9f9; border-radius: 4px; }
.info-value { padding: 10px; border-bottom: 1px solid #eee; }
.print-footer { margin-top: 50px; padding-top: 20px; border-top: 1px solid #ddd; text-align: center; font-size: 12px; color: #777; }
.signature-area { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.signature-box { text-align: center; }
.signature-line { border-top: 1px solid #333; margin-top: 60px; padding-top: 8px; font-size: 13px; }
.print-actions { text-align: center; margin: 20px 0; }
.print-actions .btn { margin: 0 5px; }
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .header-content { flex-direction: column; text-align: center; gap: 15px; }
    .form-row { flex-direction: column; gap: 20px; }
    .form-card { padding: 25px; }
    .data-table { font-size: 12px; }
    .data-table th, .data-table td { padding: 8px 6px; }
    .info-grid { grid-template-columns: 1fr; }
}
