@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
.schedule-page { padding: 16px; }
.schedule-page .modern-page-container { max-width: 1760px; }
.schedule-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.schedule-title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: .2px; color: #0f172a; }
.schedule-subtitle { margin: 4px 0 0; color: #6b7280; font-size: 12px; }
.schedule-actions { display: flex; align-items: center; gap: 8px; }
.toggle-group { background: #eef2ff; padding: 4px; border-radius: 10px; display: inline-flex; border: 1px solid #e5e7eb; }
.toggle-btn { border: 0; background: transparent; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 12px; color: #1f2937; }
.toggle-btn.active { background: white; box-shadow: 0 1px 2px rgba(0,0,0,0.08); color: #111827; border: 1px solid #e5e7eb; }
.schedule-loading { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #374151; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d1d5db; border-top-color: #f97316; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.schedule-error { color: #b91c1c; background: #fee2e2; border: 1px solid #fecaca; padding: 8px 12px; border-radius: 8px; font-size: 12px; }
.empty-state { background: #f9fafb; border: 1px dashed #e5e7eb; padding: 16px; border-radius: 8px; color: #6b7280; font-size: 12px; }
.schedule-groups { display: flex; flex-direction: column; gap: 20px; }
.schedule-group { background: white; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(2,6,23,.04); }
.group-header { padding: 16px 20px; border-bottom: 1px solid #f3f4f6; background: linear-gradient(180deg, #fff, #fafafa); display:flex; justify-content: space-between; align-items: center; }
.group-title { margin: 0; font-size: 15px; font-weight: 700; color: #0f172a; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; padding: 16px; }
.day-column { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.day-header { font-weight: 700; color: #111827; font-size: 12px; letter-spacing: .2px; }
.day-items { display: flex; flex-direction: column; gap: 10px; }
.lesson-card { background: #27a3ff; border: 1px solid #ffedd5; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; transition: transform .15s ease, box-shadow .15s ease; }
.lesson-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(2,6,23,.08); }
.lesson-time { font-size: 12px; color: #b45309; font-weight: 800; letter-spacing: .3px; }
.lesson-subject { font-size: 13px; color: #0f172a; font-weight: 600; }
.lesson-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11px; color: #6b7280; }
.lesson-meta .room { background: #eef2ff; color: #3730a3; padding: 2px 6px; border-radius: 999px; }
.lesson-meta .teacher, .lesson-meta .grade { background: #fef3c7; color: #92400e; padding: 2px 6px; border-radius: 999px; }
.lesson-actions { display:flex; gap:6px; margin-top:6px; }
.lesson-btn { border:1px solid #e5e7eb; background:#422081; padding:4px 8px; border-radius:8px; cursor:pointer; font-size:12px; }
.lesson-btn.danger { color:#b91c1c; border-color:#fecaca; background:#fee2e2; }

/* Modal - Modern Turuncu Tasarım */
.modal-overlay { 
  position: fixed; inset: 0; 
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(249, 115, 22, 0.25)); 
  display: grid; place-items: center; z-index: 1000; padding: 20px; 
  backdrop-filter: blur(12px);
  animation: modalFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.8) translateY(-20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-card { 
  background: linear-gradient(145deg, #ffffff, #fef7f0); 
  width: 100%; max-width: 800px; 
  border-radius: 24px; 
  border: 2px solid rgba(251, 146, 60, 0.2);
  box-shadow: 
    0 40px 80px rgba(251, 146, 60, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@keyframes modalSlideIn {
  from { 
    opacity: 0; 
    transform: translateY(-40px) scale(0.9); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #fb923c, #f97316, #ea580c, #dc2626);
  border-radius: 24px 24px 0 0;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.modal-header { 
  display: flex; align-items: center; justify-content: space-between; 
  padding: 24px 28px; 
  background: linear-gradient(135deg, #fef7f0, #fff7ed);
  border-bottom: 2px solid rgba(251, 146, 60, 0.1);
  position: relative;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fb923c, transparent);
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.modal-header h3 { 
  margin: 0; 
  font-size: 22px; 
  font-weight: 900; 
  background: linear-gradient(135deg, #ea580c, #f97316, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(251, 146, 60, 0.1);
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from { filter: drop-shadow(0 0 5px rgba(251, 146, 60, 0.3)); }
  to { filter: drop-shadow(0 0 10px rgba(251, 146, 60, 0.5)); }
}

.modal-body { 
  padding: 28px; 
  background: linear-gradient(145deg, #ffffff, #fef7f0);
}

.modal-actions { 
  display: flex; justify-content: flex-end; gap: 12px; 
  padding: 20px 28px; 
  background: linear-gradient(135deg, #fef7f0, #fff7ed);
  border-top: 2px solid rgba(251, 146, 60, 0.1);
}

.modal-close { 
  border: 0; 
  background: linear-gradient(135deg, #fef3c7, #fde68a); 
  cursor: pointer; 
  font-size: 18px; 
  color: #ea580c;
  padding: 10px;
  border-radius: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.2);
  border: 2px solid rgba(251, 146, 60, 0.2);
}

.modal-close:hover { 
  background: linear-gradient(135deg, #fde68a, #fcd34d); 
  color: #c2410c;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.3);
}

.form-grid { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0,1fr)); 
  gap: 20px; 
}

.form-grid label { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
  font-size: 14px; 
  color: #92400e;
  font-weight: 700;
  position: relative;
}

.form-grid label::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 24px;
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #fb923c, #f97316);
  border-radius: 2px;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(251, 146, 60, 0.4);
}

.form-grid label:focus-within::before {
  opacity: 1;
  transform: scaleY(1.2);
}

.form-grid input, .form-grid select { 
  padding: 16px 18px; 
  border: 2px solid rgba(251, 146, 60, 0.2); 
  border-radius: 16px; 
  font-size: 14px;
  background: linear-gradient(145deg, #ffffff, #fef7f0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    inset 0 2px 4px rgba(251, 146, 60, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-grid input:focus, .form-grid select:focus { 
  outline: none;
  border-color: #fb923c;
  box-shadow: 
    0 0 0 4px rgba(251, 146, 60, 0.15),
    inset 0 2px 4px rgba(251, 146, 60, 0.1),
    0 4px 16px rgba(251, 146, 60, 0.2);
  transform: translateY(-2px);
}

.form-grid input:hover, .form-grid select:hover {
  border-color: rgba(251, 146, 60, 0.4);
  transform: translateY(-1px);
  box-shadow: 
    inset 0 2px 4px rgba(251, 146, 60, 0.1),
    0 4px 12px rgba(251, 146, 60, 0.1);
}

.form-error { 
  margin-top: 12px; 
  color: #dc2626; 
  background: linear-gradient(135deg, #fef2f2, #fee2e2); 
  border: 2px solid #fecaca; 
  padding: 12px 16px; 
  border-radius: 12px; 
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
  animation: errorShake 0.6s ease-in-out;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Combobox - Turuncu Tema */
.combo-input { position: relative; }
.combo-input input { 
  padding-right: 28px; 
  background: linear-gradient(145deg, #ffffff, #fef7f0);
  border: 2px solid rgba(251, 146, 60, 0.2);
  transition: all 0.3s ease;
  color: #374151;
}
.combo-input.open input { 
  border-bottom-left-radius: 0; 
  border-bottom-right-radius: 0; 
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.1);
}
.combo-menu { 
  position: absolute; left: 0; right: 0; top: 100%; 
  background: linear-gradient(145deg, #ffffff, #fef7f0); 
  border: 2px solid #fb923c; border-top: 0; 
  z-index: 10; max-height: 280px; overflow-y: auto; 
  border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; 
  box-shadow: 
    0 20px 40px rgba(251, 146, 60, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1);
  animation: comboSlideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes comboSlideDown {
  from { opacity: 0; transform: translateY(-10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.combo-item { 
  padding: 12px 16px; 
  display: flex; justify-content: space-between; gap: 10px; 
  cursor: pointer; font-size: 14px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(251, 146, 60, 0.1);
}
.combo-item:hover { 
  background: linear-gradient(135deg, #fef3c7, #fde68a); 
  transform: translateX(4px);
}
.combo-item.active { 
  background: linear-gradient(135deg, #fde68a, #fcd34d); 
  color: #92400e;
  font-weight: 700;
}
.combo-primary { font-weight: 700; color: #0f172a; }
.combo-secondary { color: #6b7280; }

/* Time grid - Turuncu Tema */
.time-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.time-grid-modal { 
  background: linear-gradient(145deg, #ffffff, #fef7f0);
  border-radius: 20px;
  border: 2px solid rgba(251, 146, 60, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}
.time-grid-header { 
  display:flex; justify-content: space-between; align-items:center; 
  padding: 20px 24px;
  background: linear-gradient(135deg, #fef7f0, #fff7ed);
  border-bottom: 2px solid rgba(251, 146, 60, 0.1);
}
.time-grid-title { 
  font-weight: 900; 
  color: #0f172a;
  font-size: 20px;
}
.time-grid-body { 
  overflow: auto; 
  max-height: 60vh;
  padding: 20px;
}
.time-grid { 
  min-width: 720px; 
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.time-grid-row { 
  display:grid; 
  grid-template-columns: 80px repeat(7, 1fr);
  transition: all 0.2s ease;
}
.time-grid-row:hover {
  background: rgba(251, 146, 60, 0.02);
}
.time-grid-head { 
  background: #f8fafc; 
  border-bottom: 2px solid #e5e7eb; 
  position: sticky; top:0; z-index:5;
  font-weight: 800;
}
.time-col { 
  padding: 12px 14px; 
  font-size: 13px; 
  color: #374151; 
  font-weight: 800; 
  border-right: 1px solid #e5e7eb;
  background: #f8fafc;
}
.day-col { 
  padding: 12px; 
  border-right: 1px solid #f1f5f9; 
  color:#000;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  position: relative;
  background: white;
}
.day-col.selectable { 
  cursor: pointer;
  background: white;
}
.day-col.selectable:hover { 
  background: #fef3c7;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.2);
  border-radius: 6px;
  z-index: 2;
}
.day-col.selectable:active {
  transform: scale(0.98);
  background: #fde68a;
}

.day-col.occupied {
  background: #fee2e2;
  cursor: not-allowed;
  position: relative;
}

.day-col.occupied:hover {
  background: #fecaca;
  transform: none;
  box-shadow: none;
}

.occupied-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 4px;
  text-align: center;
}

.lesson-subject {
  font-size: 10px;
  color: #dc2626;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}

.lesson-teacher {
  font-size: 8px;
  color: #991b1b;
  font-weight: 600;
  line-height: 1.1;
}

/* Teacher Avatar Styles */
.teacher-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.teacher-avatar-small {
  width: 44px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f59e0b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Grade Selection */
.grade-selection {
  margin: 24px 0;
}

.grade-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #92400e;
  font-size: 16px;
  margin-bottom: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.3);
}

.grade-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  max-height: 300px;
  overflow-y: auto;
  padding: 16px;
  border: 2px solid rgba(251, 146, 60, 0.2);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #fef7f0);
  box-shadow: inset 0 2px 8px rgba(251, 146, 60, 0.1);
}

.grade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  border: 2px solid rgba(251, 146, 60, 0.2);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.grade-card:hover {
  border-color: #fb923c;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.2);
}

.grade-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.grade-name {
  font-size: 16px;
  font-weight: 800;
  color: #374151;
  text-align: center;
  margin-bottom: 4px;
}

.grade-class {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

/* Time Grid Section */
.time-grid-section {
  margin: 24px 0;
}

.selected-grade-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  border: 2px solid rgba(251, 146, 60, 0.2);
}

.grade-badge {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 14px;
}

.grade-text {
  font-weight: 600;
  color: #92400e;
  font-size: 14px;
}

.time-grid-container {
  border: 2px solid rgba(251, 146, 60, 0.2);
  border-radius: 16px;
  padding: 16px;
  background: white;
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.1);
}

/* Teacher Selection Modal */
.teacher-selection-modal {
  margin: 24px 0;
  padding: 20px;
  border: 2px solid rgba(251, 146, 60, 0.2);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #fef7f0);
}

.teacher-selection-header {
  text-align: center;
  margin-bottom: 20px;
}

.teacher-selection-header h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 800;
  color: #92400e;
}

.teacher-selection-header p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* Confirmation Section */
.confirmation-section {
  margin: 24px 0;
  padding: 20px;
  border: 2px solid rgba(251, 146, 60, 0.2);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #fef7f0);
}

.confirmation-header {
  text-align: center;
  margin-bottom: 20px;
}

.confirmation-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #92400e;
}

.confirmation-details {
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.1);
}

.detail-label {
  font-weight: 700;
  color: #374151;
  font-size: 14px;
}

.detail-value {
  font-weight: 600;
  color: #92400e;
  font-size: 14px;
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-change {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border: 2px solid #d1d5db;
  color: #6b7280;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-change:hover {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  color: #374151;
  transform: translateY(-2px);
}

.btn-confirm {
  background: linear-gradient(135deg, #fb923c, #f97316);
  border: 2px solid #ea580c;
  color: white;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.3);
}

.btn-confirm:hover {
  background: linear-gradient(135deg, #f97316, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(251, 146, 60, 0.4);
}

.btn-confirm:disabled {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  border-color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.teacher-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  max-height: 240px;
  overflow-y: auto;
  padding: 16px;
  border: 2px solid rgba(251, 146, 60, 0.2);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #fef7f0);
  box-shadow: inset 0 2px 8px rgba(251, 146, 60, 0.1);
}

.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border: 2px solid rgba(251, 146, 60, 0.2);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.teacher-card:hover {
  border-color: #fb923c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.2);
}

.teacher-card.selected {
  border-color: #f97316;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.3);
}

.teacher-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.3);
}

.teacher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.teacher-name {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  text-align: center;
  line-height: 1.3;
}

/* Time Selection */
.time-selection {
  margin: 20px 0;
}

.time-grid-btn { 
  width: 100%;
  border: 2px solid rgba(251, 146, 60, 0.3); 
  background: linear-gradient(135deg, #fef3c7, #fde68a); 
  padding: 12px 16px; 
  border-radius: 12px; 
  cursor: pointer; 
  font-weight: 700;
  color: #92400e;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.2);
  font-size: 14px;
}
.time-grid-btn:hover {
  background: linear-gradient(135deg, #fde68a, #fcd34d);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.3);
  border-color: #fb923c;
}

/* Butonlar - Turuncu Tema */
.btn-cancel {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border: 2px solid #d1d5db;
  color: #6b7280;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-cancel:hover {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  color: #374151;
}

.btn-save {
  background: linear-gradient(135deg, #fb923c, #f97316);
  border: 2px solid #ea580c;
  color: white;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-save::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-save:hover::before {
  left: 100%;
}

.btn-save:hover {
  background: linear-gradient(135deg, #f97316, #ea580c);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(251, 146, 60, 0.4);
}

.btn-save:active {
  transform: translateY(0) scale(0.98);
}

.btn-save:disabled {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  border-color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1400px) { .week-grid { grid-template-columns: repeat(7, 1fr); gap: 18px; } }
@media (max-width: 1024px) { .week-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { 
  .week-grid { grid-template-columns: 1fr; } 
  .group-header { position: sticky; top: 0; background: #fff; z-index: 1; } 
  .form-grid { grid-template-columns: 1fr; } 
  .modal-card { margin: 10px; max-width: calc(100vw - 20px); }
  .modal-body { padding: 20px; }
  .modal-header { padding: 20px; }
  .modal-actions { padding: 16px 20px; }
}




/* Google Fonts Import */
/* Teacher Profile Page */
.teacher-profile-page {
  background: #fefbf9;
  padding: 1.5rem;
  animation: fadeIn .3s ease;
}
.profile-container {
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.profile-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at -10% -10%, rgba(249,115,22,.06), transparent 60%),
              radial-gradient(600px 200px at 110% 110%, rgba(234,88,12,.06), transparent 60%);
  pointer-events: none;
}
.profile-title { margin: 0 0 1rem 0; color: #1f2937; }
.profile-form .profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem 1.5rem;
}
.profile-form .form-group label { display:block; margin-bottom: .4rem; color:#374151; font-weight:600; }
.profile-form .form-input { width:100%; padding:.7rem .9rem; border:2px solid #e5e7eb; border-radius:10px; font-size:.95rem; }
.profile-form .form-input:focus { outline:none; border-color:#f97316; box-shadow:0 0 0 3px rgba(249,115,22,.12); }
.classes-select-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap:.75rem; }
.check-item { display:flex; gap:.5rem; align-items:center; background:#fff7ed; border:1px solid #fed7aa; padding:.5rem .75rem; border-radius:10px; color:#7c2d12; }
.profile-actions { display:flex; justify-content:flex-end; margin-top:1rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: translateY(0) } }
@media (max-width: 768px) {
  .profile-container { padding: 1rem; }
  .profile-form .profile-grid { grid-template-columns: 1fr; }
}
/* Header mobil: profil metinleri küçült */
@media (max-width: 480px) {
  .user-profile { padding: 0.25rem 0.4rem; gap: 0.4rem; }
  .profile-avatar { width: 28px; height: 28px; }
  .profile-avatar .avatar-circle { width: 28px; height: 28px; }
  .profile-name { font-size: 0.82rem; }
  .profile-role { font-size: 0.66rem; }
}
/* Sade Ders Kartı - Temiz Tasarım */
.upcoming-lesson-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}
.upcoming-lesson-container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}
.lesson-card-header {
  background: #f8fafc;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}
.lesson-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lesson-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lesson-icon-wrapper {
  width: 40px;
  height: 40px;
  background: #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lesson-icon {
  font-size: 1.25rem;
  color: #6b7280;
}
.lesson-title-text {
  font-weight: 600;
  color: #374151;
  font-size: 1.25rem;
}
.lesson-status-badge {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lesson-status-badge.today {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.lesson-status-badge.future {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.lesson-card-body {
  padding: 2rem;
}
.lesson-loading-state {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 3rem;
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
  justify-content: center;
}
.lesson-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #e2e8f0;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.lesson-content-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.lesson-primary-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.lesson-subject-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.lesson-meta-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.lesson-class-badge {
  background: #f3f4f6;
  color: #374151;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid #e5e7eb;
}
.lesson-location-info {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lesson-schedule-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  min-width: 250px;
}
.lesson-time-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
}
.schedule-icon {
  font-size: 1.25rem;
  color: #6b7280;
}
.lesson-countdown-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.countdown-label {
  color: #6b7280;
  font-weight: 500;
}
.countdown-value {
  color: #1f2937;
  font-weight: 600;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .upcoming-lesson-container {
    margin: 1.5rem 0;
  }
  
  .lesson-card-header {
    padding: 1.5rem 1.5rem 1.25rem;
  }
  
  .lesson-title-text {
    font-size: 1.25rem;
  }
  
  .lesson-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .lesson-icon {
    font-size: 1.25rem;
  }
  
  .lesson-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .lesson-subject-title {
    font-size: 2rem;
  }
  
  .lesson-schedule-panel {
    padding: 1.5rem;
    min-width: auto;
  }
}
@media (max-width: 480px) {
  .upcoming-lesson-container {
    margin: 1rem 0;
  }
  
  .lesson-card-header {
    padding: 1.25rem 1.25rem 1rem;
  }
  
  .lesson-title-text {
    font-size: 1.125rem;
  }
  
  .lesson-subject-title {
    font-size: 1.75rem;
  }
  
  .lesson-class-badge {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .lesson-schedule-panel {
    padding: 1.25rem;
  }
  
  .lesson-time-display {
    font-size: 1.125rem;
  }
  
  .countdown-value {
    padding: 0.5rem 1.25rem;
  }
}
.lesson-notes {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.notes-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.next-lesson-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}
.empty-icon {
  font-size: 4rem;
  opacity: 0.6;
  color: #94a3b8;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
  animation: emptyFloat 3s ease-in-out infinite;
}
@keyframes emptyFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}
.empty-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: -0.01em;
}
.empty-subtext {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 500;
}
/* Responsive Design */
@media (max-width: 768px) {
  .next-lesson-card {
    margin: 1rem 0 1.5rem;
    border-radius: 16px;
  }
  
  .next-lesson-header {
    padding: 16px 20px;
  }
  
  .next-lesson-title {
    font-size: 1.1rem;
    gap: 0.75rem;
  }
  
  .next-lesson-icon {
    font-size: 1.5rem;
  }
  
  .next-lesson-content {
    padding: 20px;
  }
  
  .lesson-subject {
    font-size: 1.4rem;
  }
  
  .lesson-class-info {
    gap: 1rem;
  }
  
  .lesson-class {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .lesson-room {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .lesson-time {
    font-size: 1rem;
  }
  
  .time-value {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .next-lesson-empty {
    padding: 2rem 1rem;
  }
  
  .empty-icon {
    font-size: 3rem;
  }
  
  .empty-text {
    font-size: 1.1rem;
  }
  
  .empty-subtext {
    font-size: 0.9rem;
  }
  
  /* Sonraki Dersler Grid - Tablet */
  .upcoming-lessons-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
  }
  
  .upcoming-lesson-item {
    padding: 15px;
  }
  
  .upcoming-time {
    font-size: 13px;
  }
  
  .upcoming-subject {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .next-lesson-card {
    border-radius: 16px;
  }
  
  .next-lesson-header {
    padding: 16px 18px;
  }
  
  .next-lesson-title {
    font-size: 1rem;
    gap: 0.5rem;
  }
  
  .next-lesson-icon {
    font-size: 1.25rem;
  }
  
  .next-lesson-time-badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .next-lesson-content {
    padding: 18px;
  }
  
  .lesson-subject {
    font-size: 1.2rem;
  }
  
  .lesson-class-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .lesson-class {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .lesson-room {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .lesson-time {
    font-size: 0.95rem;
    gap: 0.5rem;
  }
  
  .time-icon {
    font-size: 1.1rem;
  }
  
  .time-until {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .time-value {
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
  }
  
  .lesson-notes {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Sonraki Dersler Listesi - Mobile */
  .upcoming-lessons-list {
    margin-top: 16px;
    padding-top: 16px;
  }
  
  .upcoming-lessons-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .upcoming-lesson-list-item {
    padding: 10px 12px;
    gap: 12px;
  }
  
  .upcoming-lesson-time-info {
    min-width: 70px;
  }
  
  .upcoming-time {
    font-size: 13px;
  }
  
  .upcoming-duration {
    font-size: 10px;
    padding: 1px 4px;
  }
  
  .upcoming-subject {
    font-size: 14px;
  }
  
  .upcoming-class {
    font-size: 12px;
    padding: 1px 6px;
  }
  
  .day-badge {
    padding: 3px 8px;
    font-size: 11px;
  }
  
  /* Ödev Durumu - Mobile */
  .homework-status-section {
    margin-top: 16px;
    padding-top: 16px;
  }
  
  .homework-status-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .homework-status-item {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .homework-class-info {
    width: 100%;
  }
  
  .homework-class-name {
    font-size: 14px;
  }
  
  .homework-class-students {
    font-size: 11px;
    padding: 1px 6px;
  }
  
  .homework-status-badges {
    width: 100%;
    justify-content: flex-start;
  }
  
  .homework-badge {
    padding: 3px 8px;
    font-size: 11px;
  }
  
  /* Ödev Kontrol Edildi Butonu - Mobile */
  .action-btn.success {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .completed-badge {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .completed-icon {
    font-size: 14px;
  }
  
  .completed-text {
    font-size: 11px;
  }
  
  /* Tamamlanan Ödev Kartları - Mobile */
  .homework-card.completed-homework {
    opacity: 0.8;
  }
  
  .homework-card.completed-homework .homework-title h3 {
    font-size: 14px;
  }
  
  .homework-status-badge.completed {
    font-size: 10px;
    padding: 1px 6px;
    margin-left: 6px;
  }
  
  .homework-time-status.completed {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  /* Ödev Detay Butonu - Mobile */
  .homework-detail-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  /* Ödev Detay Modalı - Mobile */
  .homework-detail-modal {
    margin: 10px;
    max-height: 95vh;
  }
  
  .homework-detail-modal-header {
    padding: 16px 20px;
  }
  
  .homework-detail-modal-title {
    font-size: 18px;
  }
  
  .homework-detail-modal-content {
    padding: 20px;
  }
  
  .homework-detail-section {
    margin-bottom: 24px;
  }
  
  .homework-detail-section-title {
    font-size: 16px;
  }
  
  .homework-detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .homework-detail-label {
    min-width: auto;
    font-size: 14px;
  }
  
  .homework-detail-value {
    text-align: left;
    font-size: 14px;
  }
  
  .homework-detail-timing-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .homework-detail-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .homework-detail-stat-number {
    font-size: 20px;
  }
  
  .homework-detail-students-header {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 12px;
  }
  
  .homework-detail-student {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .homework-detail-student-status {
    min-width: auto;
    font-size: 11px;
  }
  
  .next-lesson-empty {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  
  .empty-icon {
    font-size: 2.5rem;
  }
  
  .empty-text {
    font-size: 1rem;
  }
  
  .empty-subtext {
    font-size: 0.85rem;
  }
}
/* Öğretmen Ekibi Kartı */
.teachers-team-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.08);
  margin: 1rem 0 1.5rem;
}
.team-card-header { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:1rem; }
.team-title { font-weight:800; color:#111827; font-size:1.1rem; }
.team-subtitle { color:#6b7280; font-size:.85rem; }
.team-avatars { display:flex; flex-wrap:wrap; gap:1rem; }
.team-avatars.empty { color:#9ca3af; font-size:.85rem; }
.team-avatar-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 0.4rem; 
  min-width: 80px;
}
.team-avatar { 
  width:56px; height:56px; border-radius:50%; overflow:hidden; position:relative; 
  background:#fff7ed; border:1px solid #fed7aa; display:flex; align-items:center; justify-content:center;
  transition: transform 0.2s ease;
}
.team-avatar:hover { transform: scale(1.05); }
.team-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.team-fallback { width:100%; height:100%; display:none; align-items:center; justify-content:center; font-weight:700; color:#7c2d12; }
.team-name { 
  font-size: 0.75rem; 
  color: #374151; 
  text-align: center; 
  font-weight: 500;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-location {
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}
.team-location.at-school { color: #10b981; }
.team-location.outside { color: #ef4444; }
.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ffffff;
}
.status-indicator.online { background-color: #10b981; }
.status-indicator.offline { background-color: #9ca3af; }
@media (max-width: 480px){ 
  .teachers-team-card { padding:1rem; } 
  .team-avatar{ width:48px;height:48px } 
  .team-avatar-item { min-width: 70px; }
  .team-name { font-size: 0.7rem; max-width: 70px; }
  .team-location { font-size: 0.65rem; }
  .status-indicator { width: 10px; height: 10px; }
}
/* Class Modal Styles */
.class-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.class-modal {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.class-modal-header {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.class-modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.class-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}
.class-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.class-modal-content {
  padding: 24px;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
}
.class-stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  border-radius: 12px;
  border: 1px solid #fed7aa;
}
.class-stat-item {
  text-align: center;
}
.class-stat-item .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 4px;
}
.class-stat-item .stat-label {
  font-size: 0.9rem;
  color: #78716c;
  font-weight: 500;
}
.students-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.student-list-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #fefbf9;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  transition: all 0.2s ease;
  gap: 16px;
}
.student-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}
.student-list-item.active {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
}
.student-avatar-large {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar-text {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}
.avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
}
.avatar-status.online {
  background: #10b981;
}
.avatar-status.offline {
  background: #ef4444;
}
.avatar-status.unknown {
  background: #6b7280;
}
.student-info-large {
  flex: 1;
}
.student-name-large {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}
.student-number-large {
  font-size: 0.9rem;
  color: #6b7280;
}
.student-status-large {
  flex-shrink: 0;
}
.status-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-badge.at-school {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 1px solid #10b981;
}
.status-badge.outside-school {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  border: 1px solid #ef4444;
}
.view-all-students-btn {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}
.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 8px;
}
.btn-icon {
  margin-right: 6px;
}
/* Responsive Modal */
@media (max-width: 768px) {
  .class-modal {
    margin: 10px;
    max-height: 95vh;
  }
  
  .class-modal-header {
    padding: 16px;
  }
  
  .class-modal-title {
    font-size: 1.2rem;
  }
  
  .class-modal-content {
    padding: 16px;
  }
  
  .class-stats-summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  
  .student-list-item {
    padding: 12px;
    gap: 12px;
  }
  
  .student-avatar-large {
    width: 40px;
    height: 40px;
  }
  
  .avatar-text {
    font-size: 1rem;
  }
  
  .student-name-large {
    font-size: 1rem;
  }
  
  .status-badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
/* Mobile Students Page Styles */
.mobile-students-page {
  padding: 16px;
  background: linear-gradient(135deg, #fefbf9 0%, #fff7ed 100%);
  min-height: 100vh;
}
.mobile-header {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  color: white;
  text-align: center;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}
.mobile-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.mobile-stats {
  display: flex;
  justify-content: space-around;
  gap: 12px;
}
.mini-stat {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  flex: 1;
  backdrop-filter: blur(10px);
}
.mini-stat .stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.mini-stat .stat-label {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 500;
}
.mobile-search {
  margin-bottom: 20px;
}
.search-input-mobile {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #fed7aa;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.1);
  transition: all 0.3s ease;
}
.search-input-mobile:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.mobile-students-list {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1);
  border: 1px solid #fed7aa;
}
.mobile-loading {
  text-align: center;
  padding: 40px 20px;
  color: #78716c;
}
.loading-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}
.loading-dots span {
  width: 8px;
  height: 8px;
  background: #f97316;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  } 40% {
    transform: scale(1);
  }
}
.students-list-mobile {
  max-height: 70vh;
  overflow-y: auto;
}
.class-section {
  border-bottom: 1px solid #fed7aa;
}
.class-section:last-child {
  border-bottom: none;
}
.class-divider {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #fed7aa;
}
.class-name-mobile {
  font-weight: 700;
  color: #92400e;
  font-size: 1rem;
}
.class-count {
  background: rgba(146, 64, 14, 0.1);
  color: #92400e;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
.student-item-mobile {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
  border-bottom: 1px solid #fef3c7;
  transition: all 0.2s ease;
  position: relative;
}
.student-item-mobile:last-child {
  border-bottom: none;
}
.student-item-mobile::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fed7aa;
  transition: all 0.3s ease;
}
.student-item-mobile.active::before {
  background: linear-gradient(135deg, #10b981, #059669);
}
.student-item-mobile.inactive::before {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.student-item-mobile:hover {
  background: #fefbf9;
  transform: translateX(4px);
}
.student-avatar-mobile {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.avatar-text-mobile {
  color: white;
  font-weight: 700;
  font-size: 1rem;
}
.status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
}
.status-dot.online {
  background: #10b981;
}
.status-dot.offline {
  background: #ef4444;
}
.student-details-mobile {
  flex: 1;
  min-width: 0;
}
.student-name-mobile {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.2;
}
.student-info-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.student-number-mobile {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}
.status-badge-mobile {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge-mobile.active {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}
.status-badge-mobile.inactive {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
}
/* Responsive adjustments */
@media (max-width: 480px) {
  .mobile-students-page {
    padding: 12px;
  }
  
  .mobile-header {
    padding: 16px;
  }
  
  .mobile-title {
    font-size: 1.5rem;
  }
  
  .mini-stat {
    padding: 10px 6px;
  }
  
  .mini-stat .stat-number {
    font-size: 1.3rem;
  }
  
  .student-item-mobile {
    padding: 12px;
  }
  
  .student-avatar-mobile {
    width: 40px;
    height: 40px;
  }
  
  .avatar-text-mobile {
    font-size: 0.9rem;
  }
  
  .student-name-mobile {
    font-size: 0.95rem;
  }
  
  .student-info-mobile {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
.students-page-header {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  color: white;
  position: relative;
  overflow: hidden;
}
.students-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.header-title-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}
.btn-refresh {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-refresh:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1);
  border: 1px solid #fed7aa;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.2);
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-content {
  flex: 1;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 4px;
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: #78716c;
  font-weight: 500;
}
.search-filter-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1);
  border: 1px solid #fed7aa;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 300px;
}
.search-input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border: 2px solid #fed7aa;
  border-radius: 12px;
  font-size: 1rem;
  background: #fefbf9;
  transition: all 0.3s ease;
}
.search-input:focus {
  outline: none;
  border-color: #f97316;
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #f97316;
}
.filter-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-select {
  padding: 12px 16px;
  border: 2px solid #fed7aa;
  border-radius: 10px;
  background: #fefbf9;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}
.filter-select:focus {
  outline: none;
  border-color: #f97316;
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.students-list-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1);
  border: 1px solid #fed7aa;
}
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: #78716c;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #fed7aa;
  border-top: 4px solid #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.class-group {
  margin-bottom: 32px;
}
.class-group:last-child {
  margin-bottom: 0;
}
.class-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #fed7aa;
}
.class-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
  margin: 0;
}
.class-stats {
  display: flex;
  gap: 16px;
}
.class-stat {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.student-card {
  background: #fefbf9;
  border: 2px solid #fed7aa;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.student-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #fed7aa;
  transition: all 0.3s ease;
}
.student-card.active::before {
  background: linear-gradient(135deg, #10b981, #059669);
}
.student-card.inactive::before {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.student-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
  border-color: #f97316;
}
.student-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.student-avatar {
  position: relative;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar-text {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}
.status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid white;
}
.status-indicator.online {
  background: #10b981;
}
.status-indicator.offline {
  background: #ef4444;
}
.student-info {
  flex: 1;
}
.student-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
  line-height: 1.2;
}
.student-number {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 8px 0;
  font-weight: 500;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-badge.active {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}
.status-badge.inactive {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
}
/* Responsive Design */
@media (max-width: 768px) {
  .new-students-page {
    padding: 16px;
  }
  
  .students-page-header {
    padding: 24px 20px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .header-title-section h1 {
    font-size: 2rem;
  }
  
  .stats-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .search-filter-section {
    flex-direction: column;
    gap: 16px;
  }
  
  .search-box {
    min-width: auto;
  }
  
  .filter-controls {
    width: 100%;
    justify-content: center;
  }
  
  .filter-select {
    flex: 1;
    min-width: auto;
  }
  
  .class-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .students-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .student-card {
    padding: 16px;
  }
}
/* Öngörü Akademi - Modern Eğitim Kurumu Tasarımı */
/* CSS Variables - Profesyonel Eğitim Kurumu Renkleri */
:root {
  --primary-blue: #1e40af;
  --primary-orange: #ea580c;
  --secondary-blue: #3b82f6;
  --secondary-orange: #f97316;
  --accent-gold: #d97706;
  --light-gray: #f8fafc;
  --medium-gray: #e2e8f0;
  --dark-gray: #1e293b;
  --text-gray: #475569;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  --gradient-orange: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
  --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 25px rgba(0, 0, 0, 0.15);
}
/* Reset ve Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--light-gray);
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#root {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd23f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow-y: auto;
  animation: fadeIn 0.8s ease-in-out;
}
.splash-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(247, 147, 30, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(255, 210, 63, 0.25) 0%, transparent 50%);
  animation: backgroundShift 10s ease-in-out infinite;
}
.splash-content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.splash-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.splash-logo-image {
  max-width: 180px;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  animation: logoFloat 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.splash-logo-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: -1;
}
.splash-logo-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  animation: pulse 2s ease-in-out infinite 0.5s;
  z-index: -2;
}
.logo-shield {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  animation: logoFloat 3s ease-in-out infinite;
}
.puzzle-piece {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}
.puzzle-piece.top-left {
  top: 0;
  left: 0;
  background: var(--primary-blue);
  color: var(--white);
}
.puzzle-piece.top-right {
  top: 0;
  right: 0;
  background: var(--primary-orange);
  color: var(--white);
}
.puzzle-piece.bottom-left {
  bottom: 0;
  left: 0;
  background: var(--primary-orange);
  color: var(--white);
}
.puzzle-piece.bottom-right {
  bottom: 0;
  right: 0;
  background: var(--primary-blue);
  color: var(--white);
}
.graduation-cap {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  z-index: 2;
}
.laurel-left,
.laurel-right {
  position: absolute;
  bottom: 10px;
  font-size: 1.2rem;
  z-index: 1;
}
.laurel-left {
  left: -20px;
}
.laurel-right {
  right: -20px;
}
.splash-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Segoe UI', 'Arial', sans-serif;
}
.splash-text h2 {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Segoe UI', 'Arial', sans-serif;
}
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid var(--white);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  position: relative;
  z-index: 10;
  margin-top: 1rem;
}
.loading-spinner::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: spin 2s linear infinite reverse;
}
/* Skeleton Loading */
.skeleton-container {
  min-height: 100vh;
  padding: 2rem;
  background: var(--light-gray);
  overflow-y: auto;
}
.skeleton-header {
  height: 80px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.skeleton-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.skeleton-button {
  height: 80px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 12px;
}
/* Main App */
.app {
  min-height: 100vh;
  width: 100%;
  position: relative;
  background: var(--light-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2rem 0;
}
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}
.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--medium-gray);
  opacity: 0.03;
  animation: float 12s ease-in-out infinite;
}
.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}
.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 8%;
  animation-delay: 4s;
}
.shape-3 {
  width: 100px;
  height: 100px;
  top: 80%;
  left: 10%;
  animation-delay: 8s;
}
.shape-4 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 20%;
  animation-delay: 2s;
}
.shape-5 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 3%;
  animation-delay: 6s;
}
.shape-6 {
  width: 60px;
  height: 60px;
  top: 90%;
  right: 15%;
  animation-delay: 10s;
}
.main-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1.2rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: auto;
}
/* Professional Corporate Sidebar */
.corporate-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #fafbfc 50%,
    #f8f9fa 100%);
  color: #1a202c;
  border-right: 1px solid #e2e8f0;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.corporate-sidebar::-webkit-scrollbar { display: none; }
.sidebar-brand { 
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px; 
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}
.sidebar-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #cbd5e1 50%, 
    transparent 100%);
}
.brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
  transition: all 0.2s ease;
}
.brand-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-title { 
  font-weight: 700; 
  font-size: 18px; 
  color: #1a202c; 
  letter-spacing: -0.025em;
  margin: 0;
}
.brand-subtitle { 
  font-size: 12px; 
  color: #64748b; 
  font-weight: 500; 
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 0;
}
/* Professional Navigation Links */
.sidebar-sections {
  flex: 1;
  padding: 16px 0;
}
.nav-link { 
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  margin: 0 12px 4px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  background: transparent;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  text-align: left;
  width: calc(100% - 24px);
}
.nav-link:hover {
  background: #f7fafc;
  color: #2d3748;
  transform: translateX(4px);
}
.nav-link.active {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}
.nav-link.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: #1e40af;
  border-radius: 0 2px 2px 0;
}
.nav-link .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 1;
  transition: all 0.2s ease;
}
.nav-link:hover .icon,
.nav-link.active .icon {
  opacity: 1;
}
.nav-link .label { 
  flex: 1;
  font-weight: 500;
  letter-spacing: 0.025em;
}
.nav-link .chip { 
  font-size: 10px;
  padding: 2px 6px;
  background: #e2e8f0;
  color: #64748b;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
}
.nav-link.active .chip {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
/* İçeriği sidebar genişliğine göre offsetle - çakışmayı önle */
.admin-dashboard { 
  padding-left: 280px; 
  display: flex;
  min-height: 100vh;
}
.dashboard-content { 
  flex: 1;
  margin-left: 0;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1024px) {
  .admin-dashboard { padding-left: 0; }
  .dashboard-content { 
    margin-left: 0; 
    width: 100%;
    max-width: 100%;
  }
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(14,165,233,0.06));
  border: 1px solid rgba(59,130,246,0.15);
}
.brand-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(14,165,233,0.25);
  animation: softPulse 3s ease-in-out infinite;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-title { font-weight: 800; letter-spacing: .3px; color: var(--dark-gray); }
.brand-subtitle { font-size: 12px; opacity: .6; color: var(--text-gray); }
.sidebar-sections { display: flex; flex-direction: column; gap: 10px; }
.section { display: flex; flex-direction: column; gap: 8px; }
.section-title { 
  font-size: 12px; 
  letter-spacing: 1px; 
  text-transform: uppercase; 
  padding: 0 12px; 
  color: rgba(255,255,255,0.5); 
  margin: 8px 0 4px;
  position: relative;
  display: flex;
  align-items: center;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.2), transparent);
  margin-left: 8px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-gray);
  background: linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
}
.nav-link:hover { 
  background: linear-gradient(to right, rgba(59,130,246,0.12), rgba(59,130,246,0.05)); 
  border-color: rgba(59,130,246,0.25); 
  color: #fff;
  transform: translateX(4px);
}
.nav-link:active { transform: scale(0.98); }
.nav-link.active { 
  background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(14,165,233,0.25)); 
  border-color: rgba(59,130,246,0.4); 
  box-shadow: 0 4px 12px rgba(59,130,246,0.25), inset 0 0 20px rgba(255,255,255,0.1); 
  color: #fff;
}
.nav-link .icon { 
  width: 28px; 
  height: 28px; 
  display: grid; 
  place-items: center; 
  filter: drop-shadow(0 2px 6px rgba(14,165,233,0.4)); 
  animation: floatIcon 6s ease-in-out infinite;
  font-size: 18px;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(14,165,233,0.15));
  border-radius: 8px;
  padding: 5px;
}
.nav-link:hover .icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(14,165,233,0.25));
  transform: scale(1.1);
}
.nav-link.active .icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(14,165,233,0.4));
  box-shadow: 0 0 15px rgba(14,165,233,0.5);
}
.nav-link .label { 
  flex: 1; 
  text-align: left; 
  font-weight: 600; 
  color: var(--text-gray);
  transition: all 0.3s ease;
}
.nav-link:hover .label, .nav-link.active .label {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.nav-link .kbd { 
  font-size: 10px; 
  padding: 4px 8px; 
  border-radius: 8px; 
  border: 1px solid rgba(255,255,255,0.1); 
  background: rgba(255,255,255,0.1); 
  color: rgba(255,255,255,0.7);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
@keyframes softPulse { 0%{transform: scale(1)} 50%{transform: scale(1.04)} 100%{transform: scale(1)} }
@keyframes floatIcon { 0%{transform: translateY(0)} 50%{transform: translateY(-2px)} 100%{transform: translateY(0)} }
/* Bu tanımlama yukarıda güncellendi - çakışmayı önlemek için kaldırıldı */
/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .corporate-sidebar { 
    transform: translateX(-100%); 
    transition: transform 0.3s ease;
    width: 280px;
  }
  .corporate-sidebar.open { 
    transform: translateX(0); 
    box-shadow: 
      0 0 0 1px rgba(0, 0, 0, 0.05),
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  /* Mobile responsive - padding zaten yukarıda tanımlandı */
}
/* Header */
.header {
  text-align: center;
  margin-bottom: 1rem;
  animation: slideDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
  width: 100%;
  max-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.logo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange), var(--accent-gold));
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-image {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}
/* Main Content */
.main-content {
  animation: slideInUp .8s 
  cubic-bezier(.25, .46, .45, .94) .4s both;
  width: 100%;
  display: flex;
      flex-direction: row;
  align-items: center;
      flex-wrap: wrap;
}
/* Login Buttons */
.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.login-btn {
  background: var(--white);
  border: 2px solid var(--medium-gray);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  position: relative;
  min-height: 60px;
  width: 100%;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}
.login-btn:hover::before {
  left: 100%;
}
.login-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}
.login-btn:active {
  transform: translateY(-2px) scale(1.01);
  transition: all 0.1s ease;
}
.admin-btn {
  border-left: 4px solid var(--primary-blue);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}
.admin-btn:hover {
  border-left: 4px solid var(--primary-blue);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}
.teacher-btn {
  border-left: 4px solid var(--primary-orange);
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
}
.teacher-btn:hover {
  border-left: 4px solid var(--primary-orange);
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.15);
}
.parent-btn {
  border-left: 4px solid var(--accent-gold);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
  position: relative;
  overflow: hidden;
}
.parent-btn::before {
  content: '💝';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1rem;
  opacity: 0.3;
  animation: heartBeat 2s ease-in-out infinite;
}
.parent-btn:hover {
  border-left: 4px solid var(--accent-gold);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.2);
  transform: translateY(-3px) scale(1.02);
}
.parent-btn:hover::before {
  opacity: 0.6;
  animation: heartBeat 1s ease-in-out infinite;
}
.btn-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  opacity: 0.8;
}
.btn-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
  text-transform: none;
  font-family: 'Inter', sans-serif;
}
.btn-content p {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.btn-subtitle {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 400;
  opacity: 0.7;
  font-style: normal;
  display: block;
  margin-top: 0.2rem;
  font-family: 'Inter', sans-serif;
}
.btn-arrow {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-left: auto;
  transition: all 0.3s ease;
}
.login-btn:hover .btn-arrow {
  transform: translateX(3px);
  color: var(--primary-blue);
}
/* Footer */
.footer {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  color: var(--text-gray);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 100%;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  letter-spacing: 0.3px;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-main {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  margin: 0;
  font-family: 'Inter', sans-serif;
}
.footer-subtitle {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--primary-orange);
  margin: 0;
  font-style: normal;
  font-family: 'Inter', sans-serif;
}
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.footer-contact span {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}
/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}
@keyframes pulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.3;
  }
}
@keyframes backgroundShift {
  0%, 100% { 
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
  25% { 
    transform: translateX(-15px) translateY(-8px) scale(1.05);
    opacity: 0.8;
  }
  50% { 
    transform: translateX(8px) translateY(-12px) scale(0.95);
    opacity: 0.9;
  }
  75% { 
    transform: translateX(-8px) translateY(8px) scale(1.02);
    opacity: 0.85;
  }
}
@keyframes skeleton-loading {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes heartBeat {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.3;
  }
  50% { 
    transform: scale(1.1);
    opacity: 0.6;
  }
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes floatHeart {
  0%, 100% { 
    opacity: 0;
    transform: translateY(0) scale(0.8);
  }
  50% { 
    opacity: 1;
    transform: translateY(-20px) scale(1.2);
  }
}
@keyframes glowPulse {
  0%, 100% { 
    opacity: 0.3;
    transform: scale(1);
  }
  50% { 
    opacity: 0.6;
    transform: scale(1.05);
  }
}
@keyframes particleFloat {
  0%, 100% { 
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  50% { 
    opacity: 1;
    transform: translateY(-15px) rotate(180deg);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes bounce {
  0%, 100% { 
    transform: translateY(0);
  }
  50% { 
    transform: translateY(-5px);
  }
}
@keyframes float {
  0%, 100% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-10px);
  }
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes toastProgress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
/* Responsive Design */
/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .app {
    padding: 1rem 0;
    min-height: 100vh;
  }
  
  .main-container {
    padding: 1rem;
    min-height: auto;
  }
  
  .header {
    padding: 0 1.5rem;
  }
  
  .login-buttons {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  .login-form-container {
    padding: 0 1.5rem;
  }
  
  .footer {
    padding: 1rem 1.5rem;
  }
}
/* iPad Pro and Large Tablets */
@media (min-width: 1024px) and (max-width: 1366px) {
  .app {
    padding: 2rem 0;
    min-height: 100vh;
  }
  
  .main-container {
    padding: 2rem;
    max-width: 800px;
  }
  
  .header {
    padding: 0 2rem;
  }
  
  .login-buttons {
    max-width: 600px;
    padding: 0 2rem;
  }
  
  .login-form-container {
    max-width: 600px;
    padding: 0 2rem;
  }
  
  .footer {
    padding: 1.5rem 2rem;
  }
}
/* Large Desktops */
@media (min-width: 1367px) {
  .app {
    padding: 3rem 0;
    min-height: 100vh;
  }
  
  .main-container {
    padding: 3rem;
    max-width: 1000px;
  }
  
  .header {
    padding: 0 3rem;
  }
  
  .login-buttons {
    max-width: 700px;
    padding: 0 3rem;
  }
  
  .login-form-container {
    max-width: 700px;
    padding: 0 3rem;
  }
  
  .footer {
    padding: 2rem 3rem;
  }
}
/* Tablets */
@media (max-width: 768px) {
  .app {
    padding: 1rem 0;
  }
  
  .main-container {
    padding: 1rem;
    max-width: 100%;
  }
  
  .logo-section {
    padding: 1.2rem;
    gap: 1rem;
  }
  
  .logo-image {
    max-width: 80px;
    max-height: 80px;
  }
  
  .login-buttons {
    gap: 0.8rem;
    max-width: 100%;
  }
  
  .login-btn {
    padding: 0.8rem 1rem;
    min-height: 50px;
    gap: 0.8rem;
  }
  
  .btn-icon {
    font-size: 1.5rem;
  }
  
  .btn-content h4 {
    font-size: 1rem;
    letter-spacing: 0.2px;
  }
  
  .btn-content p {
    font-size: 0.8rem;
  }
  
  .footer {
    margin-top: 1.5rem;
    padding: 1rem;
  }
  
  .footer-main {
    font-size: 0.8rem;
  }
  
  .footer-subtitle {
    font-size: 0.75rem;
  }
  
  .footer-contact {
    gap: 1rem;
  }
  
  .footer-contact span {
    font-size: 0.7rem;
  }
}
/* Small Tablets and Large Phones */
@media (max-width: 600px) {
  .app {
    padding: 0.8rem 0;
  }
  
  .main-container {
    padding: 0.8rem;
  }
  
  .header {
    padding: 0 0.8rem;
  }
  
  .login-buttons {
    padding: 0 0.8rem;
  }
  
  .login-form-container {
    padding: 0 0.8rem;
  }
  
  .footer {
    padding: 0.8rem;
  }
  
  .logo-section {
    padding: 1rem;
  }
  
  .logo-image {
    max-width: 80px;
    max-height: 80px;
  }
}
@media (max-width: 480px) {
  .app {
    padding: 0.5rem 0;
  }
  
  .main-container {
    padding: 0.5rem;
  }
  
  .header {
    padding: 0 0.5rem;
  }
  
  .logo-section {
    padding: 1rem;
    gap: 0.8rem;
  }
  
  .logo-image {
    max-width: 60px;
    max-height: 60px;
  }
  
  .splash-logo-image {
    max-width: 120px;
    max-height: 120px;
  }
  
  .splash-logo-container::before {
    width: 140px;
    height: 140px;
  }
  
  .splash-logo-container::after {
    width: 180px;
    height: 180px;
  }
  
  .login-btn {
    padding: 0.7rem 0.8rem;
    min-height: 45px;
    gap: 0.7rem;
  }
  
  .btn-icon {
    font-size: 1.3rem;
  }
  
  .btn-content h4 {
    font-size: 0.9rem;
  }
  
  .btn-content p {
    font-size: 0.75rem;
  }
  
  .btn-arrow {
    font-size: 0.9rem;
  }
  
  .footer {
    margin-top: 1.5rem;
    padding: 0.8rem;
  }
  
  .footer-main {
    font-size: 0.75rem;
  }
  
  .footer-subtitle {
    font-size: 0.7rem;
  }
  
  .footer-contact {
    gap: 0.8rem;
    flex-direction: column;
  }
  
  .footer-contact span {
    font-size: 0.65rem;
  }
  
  /* Login Form Mobile */
  .login-form {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  
  .form-title {
    font-size: 1.3rem;
  }
  
  .parent-welcome,
  .teacher-welcome,
  .admin-welcome {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .parent-icon,
  .teacher-icon,
  .admin-icon {
    font-size: 2.5rem;
  }
  
  .icon-glow {
    width: 80px;
    height: 80px;
  }
  
  .title-line-1, .title-line-2 {
    font-size: 1.3rem;
  }
  
  .password-input, .student-code-input {
    padding: 0.8rem 2.5rem 0.8rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }
  
  .submit-btn, .parent-submit-btn, .teacher-submit-btn, .admin-submit-btn {
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: 10px;
  }
  
  .parent-submit-btn, .teacher-submit-btn, .admin-submit-btn {
    gap: 0.6rem;
  }
  
  .particle {
    font-size: 0.6rem;
  }
  
  .label-icon {
    font-size: 1rem;
  }
  
  .back-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }
  
  .form-logo-image {
    max-width: 40px;
    max-height: 40px;
  }
  
  /* Modal Mobile */
  .info-modal {
    max-width: 95%;
    margin: 1rem;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .modal-icon {
    font-size: 2.5rem;
  }
  
  .modal-close {
    font-size: 1.5rem;
    background:white;
    width: 35px;
    height: 35px;
  }
  
  .modal-content {
    padding: 0 1.5rem 1rem 1.5rem;
  }
  
  .modal-title {
    font-size: 1.3rem;
  }
  
  .modal-message {
    font-size: 0.9rem;
  }
  
  .modal-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }
  
  .modal-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
/* Very Small Phones */
@media (max-width: 360px) {
  .app {
    padding: 0.5rem 0;
  }
  
  .main-container {
    padding: 0.5rem;
  }
  
  .header {
    padding: 0 0.5rem;
  }
  
  .login-buttons {
    padding: 0 0.5rem;
  }
  
  .login-form-container {
    padding: 0 0.5rem;
  }
  
  .logo-section {
    padding: 0.8rem;
  }
  
  .logo-image {
    max-width: 60px;
    max-height: 60px;
  }
  
  .login-btn {
    padding: 0.7rem 0.8rem;
    min-height: 45px;
  }
  
  .btn-icon {
    font-size: 1.4rem;
  }
  
  .btn-content h4 {
    font-size: 0.9rem;
  }
  
  .btn-content p {
    font-size: 0.75rem;
  }
  
  /* Toast Mobile */
  .toast-notification {
    top: 15px;
    right: 15px;
    left: 15px;
    max-width: none;
    min-width: auto;
  }
  
  .toast-content {
    padding: 1rem;
    gap: 0.6rem;
  }
  
  .toast-icon {
    font-size: 1.5rem;
  }
  
  .toast-title {
    font-size: 0.9rem;
  }
  
  .toast-message {
    font-size: 0.8rem;
  }
  
  .toast-close {
    font-size: 1rem;
    width: 24px;
    height: 24px;
  }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Focus States */
.login-btn:focus {
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}
/* Login Form Styles */
.login-form-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Welcome Sections */
.parent-welcome {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-radius: 20px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 30px rgba(217, 119, 6, 0.1);
}
.teacher-welcome {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
  border-radius: 20px;
  border: 1px solid rgba(234, 88, 12, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 30px rgba(234, 88, 12, 0.1);
}
.admin-welcome {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  border-radius: 20px;
  border: 1px solid rgba(30, 64, 175, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 30px rgba(30, 64, 175, 0.1);
}
.parent-welcome::before,
.teacher-welcome::before,
.admin-welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.parent-icon-container,
.teacher-icon-container,
.admin-icon-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.parent-icon,
.teacher-icon,
.admin-icon {
  font-size: 3rem;
  animation: heartBeat 2s ease-in-out infinite, float 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.parent-icon {
  filter: drop-shadow(0 4px 8px rgba(217, 119, 6, 0.3));
}
.teacher-icon {
  filter: drop-shadow(0 4px 8px rgba(234, 88, 12, 0.3));
}
.admin-icon {
  filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.3));
}
.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  z-index: 1;
}
.parent-welcome .icon-glow {
  background: radial-gradient(circle, rgba(217, 119, 6, 0.2) 0%, transparent 70%);
}
.teacher-welcome .icon-glow {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.2) 0%, transparent 70%);
}
.admin-welcome .icon-glow {
  background: radial-gradient(circle, rgba(30, 64, 175, 0.2) 0%, transparent 70%);
}
.form-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0;
}
.title-line-1, .title-line-2 {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-gray);
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
  animation: slideInUp 0.8s ease-out;
}
.title-line-2 {
  color: var(--accent-gold);
  animation-delay: 0.2s;
  animation-fill-mode: both;
}
.login-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.back-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid var(--medium-gray);
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-soft);
}
.back-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateX(-5px) scale(1.05);
  box-shadow: var(--shadow-medium);
}
.form-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-logo-image {
  max-width: 60px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.login-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.login-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.3), transparent);
}
.form-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
}
.password-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.input-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-gray);
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
}
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.password-input {
  width: 100%;
  padding: 1.2rem 3.5rem 1.2rem 1.2rem;
  border: 2px solid var(--medium-gray);
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-gray);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: none;
  position: relative;
  font-family: 'Inter', sans-serif;
  z-index: 2;
}
/* Student Code Input Styles */
.student-code-input-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.input-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-gold), #f59e0b, var(--accent-gold));
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.student-code-input {
  width: 100%;
  padding: 1.2rem 3.5rem 1.2rem 1.2rem;
  border: 2px solid var(--medium-gray);
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-gray);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: none;
  position: relative;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}
.student-code-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}
.student-code-input:focus + .input-glow {
  opacity: 1;
  animation: glowPulse 2s ease-in-out infinite;
}
.student-code-input::placeholder {
  color: var(--text-gray);
  opacity: 0.7;
  text-transform: none;
  letter-spacing: normal;
}
.input-icon {
  position: absolute;
  right: 1rem;
  font-size: 1.3rem;
  color: var(--accent-gold);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 3;
}
.student-code-input:focus ~ .input-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.3));
}
.input-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  font-size: 0.8rem;
  opacity: 0;
  animation: particleFloat 3s ease-in-out infinite;
}
.particle-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.particle-2 {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}
.particle-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}
.student-code-input:focus ~ .input-particles .particle {
  opacity: 1;
}
.input-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  animation: slideInLeft 0.6s ease-out 0.2s both;
}
.label-icon {
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
}
.password-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}
.password-input:focus + .input-glow {
  opacity: 1;
  animation: glowPulse 2s ease-in-out infinite;
}
.password-input:focus + .password-toggle {
  color: var(--primary-blue);
  transform: scale(1.1);
}
.password-input::placeholder {
  color: var(--text-gray);
  opacity: 0.7;
}
.password-toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0.6rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
}
.password-toggle:hover {
  background: rgba(30, 64, 175, 0.1);
  transform: scale(1.15);
  color: var(--primary-blue);
}
.submit-btn {
  width: 100%;
  padding: 1.3rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: 16px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
  position: relative;
  overflow: hidden;
}
.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}
.submit-btn:hover::before {
  left: 100%;
}
.submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.4);
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}
.submit-btn:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}
/* Parent Submit Button */
.parent-submit-btn {
  width: 100%;
  padding: 1.3rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  border: none;
  border-radius: 16px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  animation: slideInUp 0.8s ease-out 0.8s both;
}
.btn-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 2s ease-in-out infinite;
  pointer-events: none;
}
.btn-text {
  position: relative;
  z-index: 2;
}
.btn-icon {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  pointer-events: none;
}
.parent-submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(217, 119, 6, 0.4);
  background: linear-gradient(135deg, #f59e0b 0%, var(--accent-gold) 100%);
}
.parent-submit-btn:hover .btn-icon {
  animation: heartBeat 1s ease-in-out infinite;
}
.parent-submit-btn:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}
.parent-submit-btn:active .btn-ripple {
  width: 300px;
  height: 300px;
  opacity: 0;
}
/* Teacher Submit Button */
.teacher-submit-btn {
  width: 100%;
  padding: 1.3rem;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
  border: none;
  border-radius: 16px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  animation: slideInUp 0.8s ease-out 0.8s both;
}
.teacher-submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(234, 88, 12, 0.4);
  background: linear-gradient(135deg, var(--secondary-orange) 0%, var(--primary-orange) 100%);
}
.teacher-submit-btn:hover .btn-icon {
  animation: heartBeat 1s ease-in-out infinite;
}
.teacher-submit-btn:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}
.teacher-submit-btn:active .btn-ripple {
  width: 300px;
  height: 300px;
  opacity: 0;
}
/* Admin Submit Button */
.admin-submit-btn {
  width: 100%;
  padding: 1.3rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  border: none;
  border-radius: 16px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  animation: slideInUp 0.8s ease-out 0.8s both;
}
.admin-submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.4);
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}
.admin-submit-btn:hover .btn-icon {
  animation: heartBeat 1s ease-in-out infinite;
}
.admin-submit-btn:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}
.admin-submit-btn:active .btn-ripple {
  width: 300px;
  height: 300px;
  opacity: 0;
}
/* Toast Notification Styles */
.toast-notification {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 16px;
  padding: 0;
  max-width: 380px;
  width: auto;
  min-width: 320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  z-index: 99999 !important;
  animation: toastSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}
.toast-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}
.toast-notification.gold::before {
  background: linear-gradient(90deg, var(--accent-gold), #f59e0b);
}
.toast-notification.orange::before {
  background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
}
.toast-notification.blue::before {
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}
.toast-notification.gray::before {
  background: linear-gradient(90deg, #6b7280, #9ca3af);
}
.toast-content {
  display: flex;
  align-items: flex-start;
  padding: 1.2rem;
  gap: 0.8rem;
  position: relative;
}
.toast-icon {
  font-size: 1.8rem;
  animation: heartBeat 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  flex-shrink: 0;
}
.toast-text {
  flex: 1;
  min-width: 0;
}
.toast-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin: 0 0 0.3rem 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.toast-message {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.4;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-gray);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.toast-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--dark-gray);
  transform: scale(1.1);
}
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 0 0 16px 16px;
  animation: toastProgress 4s linear forwards;
}
.toast-notification.gold .toast-progress {
  background: linear-gradient(90deg, var(--accent-gold), #f59e0b);
}
.toast-notification.orange .toast-progress {
  background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
}
.toast-notification.blue .toast-progress {
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}
.toast-notification.gray .toast-progress {
  background: linear-gradient(90deg, #6b7280, #9ca3af);
}
/* Error Message Styles */
.error-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  margin: 1rem 0;
  animation: slideInUp 0.3s ease-out;
}
/* Stepper Styles */
.stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 0 0 12px 0;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.step.completed {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}
.step.active {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.15);
}
.step-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e3a8a;
  background: #e0e7ff;
}
.step.completed .step-index {
  color: #065f46;
  background: #d1fae5;
}
.step.active .step-index {
  color: white;
  background: #2563eb;
}
.step-label {
  font-weight: 600;
  color: #334155;
}
.stepper-progress {
  width: 100%;
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 3px;
  margin: 0 24px 16px;
  position: relative;
  overflow: hidden;
}
.stepper-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.stepper-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.error-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.error-text {
  font-size: 0.9rem;
  color: #dc2626;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
/* Disabled Button Styles */
.admin-submit-btn:disabled,
.teacher-submit-btn:disabled,
.parent-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}
.admin-submit-btn:disabled:hover,
.teacher-submit-btn:disabled:hover,
.parent-submit-btn:disabled:hover {
  transform: none !important;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}
/* Loading Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.btn-icon:has-text('⏳') {
  animation: spin 1s linear infinite;
}
/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Admin Splash Screen Styles */
.admin-splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
  z-index: 9999;
  overflow: hidden;
}
.splash-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
/* Admin splash özel: kesin merkezleme */
.admin-splash-screen .splash-container {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  max-width: none;
}
.admin-splash-screen .splash-content {
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.splash-content {
  text-align: center;
  animation: splashSlideIn 1s ease-out;
  margin: 0 auto;
}
.splash-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: backgroundShift 8s ease-in-out infinite;
}
.splash-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}
.splash-particles .particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  animation: modernFloat 8s ease-in-out infinite;
}
.splash-particles .particle-1 {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.splash-particles .particle-2 {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}
.splash-particles .particle-3 {
  width: 3px;
  height: 3px;
  top: 80%;
  left: 40%;
  animation-delay: 2s;
}
.splash-particles .particle-4 {
  width: 5px;
  height: 5px;
  top: 30%;
  left: 70%;
  animation-delay: 3s;
}
.splash-particles .particle-5 {
  width: 4px;
  height: 4px;
  top: 70%;
  left: 10%;
  animation-delay: 4s;
}
.splash-content {
  text-align: center;
  z-index: 10;
  position: relative;
}
.splash-logo {
  text-align: center;
  animation: logoSlideIn 1s ease-out;
}
.splash-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: logoGlow 3s ease-in-out infinite alternate;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}
.splash-logo-img:hover {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
}
.splash-user-info {
  margin-top: 1rem;
}
.splash-user-name-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: userInfoSlideIn 1s ease-out 0.3s both;
}
.splash-welcome-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  animation: welcomeTextSlideIn 1s ease-out 0.6s both;
}
/* Splash Welcome Styles */
.splash-welcome {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  max-width: 500px;
  width: 90%;
  animation: welcomeSlideIn 1s ease-out;
}
.splash-welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
.splash-welcome-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.8rem 0;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}
.splash-user-name {
  color: #fbbf24;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.8);
  animation: nameGlow 2s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
}
.splash-welcome-subtitle {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.5rem 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  position: relative;
  z-index: 2;
}
.splash-welcome-icon {
  font-size: 4rem;
  animation: modernWave 1.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}
/* 3D Cube Animation */
.splash-cube-container {
  margin: 3rem 0;
  perspective: 1000px;
  display: flex;
  justify-content: center;
}
.cube {
  position: relative;
  width: 120px;
  height: 120px;
  transform-style: preserve-3d;
  animation: modernCubeRotate 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}
.cube-face {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(15px);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}
.cube-face.front {
  transform: rotateY(0deg) translateZ(60px);
}
.cube-face.back {
  transform: rotateY(180deg) translateZ(60px);
}
.cube-face.right {
  transform: rotateY(90deg) translateZ(60px);
}
.cube-face.left {
  transform: rotateY(-90deg) translateZ(60px);
}
.cube-face.top {
  transform: rotateX(90deg) translateZ(60px);
}
.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(60px);
}
.splash-loading {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: loadingSlideIn 1s ease-out;
  max-width: 300px;
  width: 90%;
}
.loading-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.loading-dots span {
  width: 12px;
  height: 12px;
  background: linear-gradient(45deg, #ffffff, #f0f0f0);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  animation: modernDotPulse 1.4s ease-in-out infinite both;
  position: relative;
}
.loading-dots span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: innerGlow 1.4s ease-in-out infinite both;
}
.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}
.loading-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  animation: modernTextFade 2s ease-in-out infinite;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}
/* Welcome Screen Styles */
.admin-welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}
.welcome-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: welcomeBackgroundShift 6s ease-in-out infinite;
}
.welcome-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}
.welcome-particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  animation: modernWelcomeFloat 5s ease-in-out infinite;
}
.welcome-particle-1 {
  width: 6px;
  height: 6px;
  top: 25%;
  left: 25%;
  animation-delay: 0s;
}
.welcome-particle-2 {
  width: 4px;
  height: 4px;
  top: 75%;
  left: 75%;
  animation-delay: 1s;
}
.welcome-particle-3 {
  width: 5px;
  height: 5px;
  top: 50%;
  left: 10%;
  animation-delay: 2s;
}
.welcome-particle-4 {
  width: 3px;
  height: 3px;
  top: 20%;
  left: 80%;
  animation-delay: 3s;
}
.welcome-content {
  text-align: center;
  z-index: 10;
  position: relative;
}
.welcome-message {
  animation: welcomeSlideIn 1s ease-out;
}
.welcome-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem 0;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.user-name-highlight {
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
  animation: nameGlow 2s ease-in-out infinite alternate;
}
.welcome-subtitle {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.welcome-icon {
  font-size: 4rem;
  animation: wave 1s ease-in-out infinite;
}
/* Animations */
@keyframes splashSlideIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logoSlideIn {
  0% { opacity: 0; transform: translateY(-30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes userInfoSlideIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes welcomeTextSlideIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 0.8; transform: translateY(0); }
}
@keyframes logoGlow {
  0% { filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4)); }
  100% { filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)); }
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
@keyframes modernWave {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(15deg) scale(1.1); }
  50% { transform: rotate(0deg) scale(1); }
  75% { transform: rotate(-10deg) scale(1.05); }
}
@keyframes loadingSlideIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes innerGlow {
  0%, 80%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.5); }
  40% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes titleSlideIn {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes subtitleSlideIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 0.8; transform: translateY(0); }
}
@keyframes modernCubeRotate {
  0% { transform: rotateX(0deg) rotateY(0deg) scale(1); }
  25% { transform: rotateX(90deg) rotateY(90deg) scale(1.1); }
  50% { transform: rotateX(180deg) rotateY(180deg) scale(1); }
  75% { transform: rotateX(270deg) rotateY(270deg) scale(1.1); }
  100% { transform: rotateX(360deg) rotateY(360deg) scale(1); }
}
@keyframes backgroundShift {
  0%, 100% { 
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  }
  50% { 
    background: radial-gradient(circle at 80% 20%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(255, 119, 198, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 60% 60%, rgba(120, 219, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  }
}
@keyframes modernFloat {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.3;
  }
  25% { 
    transform: translateY(-30px) translateX(10px) rotate(90deg) scale(1.2);
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-20px) translateX(-15px) rotate(180deg) scale(0.8);
    opacity: 0.6;
  }
  75% { 
    transform: translateY(-40px) translateX(5px) rotate(270deg) scale(1.1);
    opacity: 0.9;
  }
}
@keyframes modernDotPulse {
  0%, 80%, 100% { 
    transform: scale(0.8) translateY(0px); 
    opacity: 0.6; 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  }
  40% { 
    transform: scale(1.4) translateY(-8px); 
    opacity: 1; 
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
  }
}
@keyframes modernTextFade {
  0%, 100% { 
    opacity: 0.7; 
    transform: translateY(0px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  50% { 
    opacity: 1; 
    transform: translateY(-2px);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}
@keyframes modernWelcomeFloat {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    opacity: 0.4;
  }
  25% { 
    transform: translateY(-25px) translateX(15px) scale(1.3) rotate(90deg);
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-15px) translateX(-10px) scale(0.9) rotate(180deg);
    opacity: 0.6;
  }
  75% { 
    transform: translateY(-35px) translateX(8px) scale(1.2) rotate(270deg);
    opacity: 0.9;
  }
}
@keyframes welcomeBackgroundShift {
  0%, 100% { 
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  }
  50% { 
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  }
}
@keyframes welcomeSlideIn {
  0% { opacity: 0; transform: translateY(50px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nameGlow {
  0% { text-shadow: 0 0 20px rgba(251, 191, 36, 0.5); }
  100% { text-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 0 0 40px rgba(251, 191, 36, 0.3); }
}
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-10deg); }
}
/* Admin Dashboard Styles */
.admin-dashboard {
  min-height: 100vh;
  background: var(--light-gray);
  display: flex;
  flex-direction: column;
}
.dashboard-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  gap: 1rem;
}
.dashboard-loading p {
  color: var(--text-gray);
  font-size: 1.1rem;
  font-weight: 500;
}
/* Dashboard Header */
.dashboard-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.dashboard-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Inter', sans-serif;
}
.logo-text p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
  font-family: 'Inter', sans-serif;
}
.user-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.user-name {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.user-role {
  font-size: 0.8rem;
  opacity: 0.8;
  font-family: 'Inter', sans-serif;
}
.logout-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.logout-icon {
  font-size: 1rem;
}
/* Dashboard Main */
.dashboard-main {
  flex: 1;
  padding: 2rem 0;
}
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.welcome-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.welcome-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.welcome-section p {
  font-size: 1.1rem;
  color: var(--text-gray);
  font-family: 'Inter', sans-serif;
}
/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.dashboard-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange), var(--accent-gold));
}
.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.dashboard-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.dashboard-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}
.card-btn {
  background: var(--gradient-primary);
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  width: 100%;
}
.card-btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}
.card-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--medium-gray);
}
/* Info Section */
.info-section {
  margin-bottom: 2rem;
}
.info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.info-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--medium-gray);
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-card li:last-child {
  border-bottom: none;
}
.info-card strong {
  color: var(--dark-gray);
  font-weight: 600;
}
/* Dashboard Footer */
.dashboard-footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 1.5rem 0;
  margin-top: auto;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.footer-content p {
  margin: 0.2rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}
/* Responsive Design */
@media (max-width: 768px) {
  /* Splash Screen Mobile */
  .splash-title {
    font-size: 2rem;
  }
  
  .splash-subtitle {
    font-size: 1rem;
  }
  
  .splash-logo-img {
    width: 100px;
    height: 100px;
  }
  
  .splash-user-name-text {
    font-size: 1.2rem;
  }
  
  .splash-welcome-text {
    font-size: 0.9rem;
  }
  
  .cube {
    width: 80px;
    height: 80px;
  }
  
  .cube-face {
    width: 80px;
    height: 80px;
  }
  
  .cube-face.front {
    transform: rotateY(0deg) translateZ(40px);
  }
  
  .cube-face.back {
    transform: rotateY(180deg) translateZ(40px);
  }
  
  .cube-face.right {
    transform: rotateY(90deg) translateZ(40px);
  }
  
  .cube-face.left {
    transform: rotateY(-90deg) translateZ(40px);
  }
  
  .cube-face.top {
    transform: rotateX(90deg) translateZ(40px);
  }
  
  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(40px);
  }
  
  /* Welcome Screen Mobile */
  .welcome-title {
    font-size: 2rem;
  }
  
  .welcome-subtitle {
    font-size: 1.3rem;
  }
  
  .welcome-icon {
    font-size: 3rem;
  }
  
  /* Dashboard Mobile */
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .user-section {
    flex-direction: column;
    gap: 1rem;
  }
  
  .user-info {
    align-items: center;
  }
  
  .dashboard-container {
    padding: 0 1rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .welcome-section h2 {
    font-size: 1.5rem;
  }
  
  .dashboard-card {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  /* Extra Small Screens */
  .splash-title {
    font-size: 1.5rem;
  }
  
  .splash-subtitle {
    font-size: 0.9rem;
  }
  
  .splash-logo-img {
    width: 80px;
    height: 80px;
  }
  
  .splash-user-name-text {
    font-size: 1rem;
  }
  
  .splash-welcome-text {
    font-size: 0.8rem;
  }
  
  .cube {
    width: 60px;
    height: 60px;
  }
  
  .cube-face {
    width: 60px;
    height: 60px;
  }
  
  .cube-face.front {
    transform: rotateY(0deg) translateZ(30px);
  }
  
  .cube-face.back {
    transform: rotateY(180deg) translateZ(30px);
  }
  
  .cube-face.right {
    transform: rotateY(90deg) translateZ(30px);
  }
  
  .cube-face.left {
    transform: rotateY(-90deg) translateZ(30px);
  }
  
  .cube-face.top {
    transform: rotateX(90deg) translateZ(30px);
  }
  
  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(30px);
  }
  
  .welcome-title {
    font-size: 1.5rem;
  }
  
  .welcome-subtitle {
    font-size: 1rem;
  }
  
  .welcome-icon {
    font-size: 2.5rem;
  }
}
/* Print Styles */
@media print {
  .background-animation,
  .floating-shapes {
    display: none;
  }
  
  .app {
    background: white;
  }
}
/* Modern Admin Dashboard Styles - güncellendi yukarıda */
/* Sidebar Styles */
.dashboard-sidebar {
  width: 280px;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  box-shadow: 4px 0 25px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
}
.dashboard-sidebar.open {
  transform: translateX(0);
}
.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sidebar-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.sidebar-logo span {
  font-weight: 700;
  font-size: 1.1rem;
}
.sidebar-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
.sidebar-nav {
  padding: 1rem 0;
}
.nav-section {
  margin-bottom: 2rem;
}
.nav-section h3 {
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.nav-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-section li {
  margin: 0.25rem 0;
}
.nav-section li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.nav-section li:hover {
  background: rgba(255, 255, 255, 0.05);
}
.nav-section li.active {
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  color: white;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}
.nav-section li.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #93c5fd;
}
.nav-icon {
  font-size: 1.25rem;
  width: 20px;
  text-align: center;
}
.nav-text {
  font-weight: 500;
}
/* Modern Sidebar Styles */
.modern-dashboard-sidebar {
  width: 280px;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  box-shadow: 4px 0 25px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.modern-dashboard-sidebar.open {
  transform: translateX(0);
}
.sidebar-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modern-dashboard-sidebar .sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.modern-dashboard-sidebar .sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modern-dashboard-sidebar .logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.brand-logo-modern {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
}
.brand-logo-modern svg {
  width: 100%;
  height: 100%;
}
.sidebar-brand:hover .brand-logo-modern {
  transform: scale(1.05) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.modern-dashboard-sidebar .logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.modern-dashboard-sidebar .logo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.modern-dashboard-sidebar .logo-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.2;
}
.modern-dashboard-sidebar .sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}
.nav-group {
  margin-bottom: 2rem;
}
.nav-group-title {
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}
.nav-items {
  display: flex;
  flex-direction: column;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  margin: 0 12px 4px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  color: #4a5568;
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  border: none;
  width: calc(100% - 24px);
}
.nav-item:hover {
  background: #f7fafc;
  color: #2d3748;
  transform: translateX(4px);
}
.nav-item.active {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: #1e40af;
  border-radius: 0 2px 2px 0;
}
.nav-item .nav-icon {
  font-size: 16px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all 0.2s ease;
}
.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
  opacity: 1;
}
.nav-item .nav-text {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.025em;
  flex: 1;
}
/* Section Group Styling */
.section-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
/* Main Content - güncellendi yukarıda */
.dashboard-content {
  flex: 1;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Modern Dashboard Header */
.modern-dashboard-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Logo Section */
.header-logo {
  display: flex;
  align-items: center;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.3);
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.logo-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
/* User Section */
.header-user {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.2s ease;
}
.user-profile:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}
.user-avatar-modern {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.avatar-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}
.avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}
.avatar-status.online {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}
.user-info-modern {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.user-name-modern {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}
.user-role-modern {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}
.logout-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.logout-btn-modern:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}
.logout-icon-modern {
  font-size: 1rem;
}
.logout-text {
  font-weight: 600;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.mobile-menu-btn:hover {
  background: #f1f5f9;
}
.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: #374151;
  position: relative;
  transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #374151;
  transition: all 0.3s ease;
}
.hamburger::before {
  top: -6px;
}
.hamburger::after {
  top: 6px;
}
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
  letter-spacing: -0.025em;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}
.user-details {
  display: flex;
  flex-direction: column;
}
.user-name {
  font-weight: 600;
  color: #2563eb;
  font-size: 0.9rem;
}
.user-role {
  font-size: 0.8rem;
  color: #64748b;
}
.logout-btn {
  background: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.logout-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
}
/* Main Content Area */
.dashboard-main {
  flex: 1;
  padding: 2rem;
  background: transparent;
}
/* Dashboard Home */
.dashboard-home {
  max-width: 1200px;
  margin: 0 auto;
}
/* Current Students Info */
.current-students-info {
  margin-bottom: 2rem;
}
/* Enhanced Students Card */
.enhanced-students-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.enhanced-students-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8, #1e40af);
  background-size: 300% 100%;
  animation: gradientFlow 4s ease infinite;
}
.enhanced-students-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 80px rgba(59, 130, 246, 0.18);
}
/* Card Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.school-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}
.icon-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 22px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  opacity: 0.3;
  animation: iconPulse 2s ease infinite;
}
.header-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  margin: 0;
  letter-spacing: -0.025em;
}
.current-time {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
  font-family: 'Courier New', monospace;
}
.header-right {
  display: flex;
  align-items: center;
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.live-indicator.active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.live-indicator.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 1.5s ease infinite;
}
/* Main Stats */
.main-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.primary-stat {
  flex: 1;
}
.stat-number {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.current-count {
  font-size: 4rem;
  font-weight: 900;
  color: #1e40af;
  line-height: 1;
  letter-spacing: -0.05em;
}
.total-count {
  font-size: 2rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1;
}
.stat-label {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 500;
}
.secondary-stats {
  display: flex;
  gap: 2rem;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.stat-icon {
  font-size: 1.5rem;
}
.stat-content {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  line-height: 1;
}
.stat-desc {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}
/* Progress Bar */
.attendance-progress {
  margin-bottom: 2rem;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}
.progress-bar {
  height: 8px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 10px;
  transition: width 0.8s ease;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShine 2s ease infinite;
}
/* Recent Activity */
.recent-activity {
  margin-bottom: 2rem;
}
.activity-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}
.activity-icon {
  font-size: 1rem;
}
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(59, 130, 246, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.2s ease;
}
.activity-item:hover {
  background: rgba(59, 130, 246, 0.08);
  transform: translateX(4px);
}
.activity-icon-small {
  font-size: 0.9rem;
  flex-shrink: 0;
}
.activity-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.activity-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.2;
}
.activity-details {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 400;
}
.activity-time {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
}
.no-activity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}
.no-activity-icon {
  font-size: 2rem;
  opacity: 0.5;
}
.no-activity-text {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
/* Bugünün Dersi Olan Öğretmenler */
.today-teachers-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-top: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.today-teachers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.today-teachers-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}
.today-icon {
  font-size: 18px;
}
.today-teachers-count {
  background: #3b82f6;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.today-teachers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
}
.today-teacher-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.today-teacher-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.today-teacher-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
}
.today-teacher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.today-teacher-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.today-teacher-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}
.today-teacher-class {
  font-size: 12px;
  color: #64748b;
}
.today-teacher-time {
  font-size: 12px;
  color: #3b82f6;
  font-weight: 500;
}
.no-teachers-today {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #64748b;
}
.no-teachers-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.no-teachers-text {
  font-size: 14px;
  text-align: center;
}
/* System Status */
.system-status {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}
.status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-dot.online {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: statusPulse 2s ease infinite;
}
/* Animations */
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.1; }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); }
}
/* Responsive Design for Enhanced Students Card */
@media (max-width: 768px) {
  .enhanced-students-card {
    padding: 1.5rem;
    border-radius: 20px;
  }
  
  .card-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .header-left {
    width: 100%;
    justify-content: space-between;
  }
  
  .header-right {
    align-self: flex-end;
  }
  
  .main-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  
  .secondary-stats {
    justify-content: space-between;
    gap: 1rem;
  }
  
  .stat-item {
    flex: 1;
    padding: 0.75rem;
  }
  
  .current-count {
    font-size: 3rem;
  }
  
  .total-count {
    font-size: 1.5rem;
  }
  
  .system-status {
    flex-direction: column;
    gap: 1rem;
  }
  
  .activity-list {
    gap: 0.5rem;
  }
  
  .activity-item {
    padding: 0.5rem;
  }
}
@media (max-width: 480px) {
  .enhanced-students-card {
    padding: 1rem;
  }
  
  .school-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .header-info h3 {
    font-size: 1.2rem;
  }
  
  .current-count {
    font-size: 2.5rem;
  }
  
  .secondary-stats {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .stat-item {
    padding: 0.5rem;
  }
  
  .stat-value {
    font-size: 1.2rem;
  }
}
/* Legacy current-students-card styles (keeping for compatibility) */
.current-students-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.current-students-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6, #2563eb);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}
.current-students-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}
.current-students-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.4);
  flex-shrink: 0;
}
.current-students-content {
  flex: 1;
}
.current-students-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.current-students-numbers {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.current-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
  letter-spacing: -0.025em;
}
.total-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1;
}
.current-students-content p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 15px 0;
  font-weight: 500;
}
.system-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.1);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #2563eb;
  font-weight: 500;
}
.label-icon {
  font-size: 0.9rem;
}
.label-text {
  font-weight: 500;
}
.current-students-status {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}
.status-indicator.active {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}
.status-indicator.inactive {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
  }
}
.welcome-section {
  margin-bottom: 2rem;
}
.welcome-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.welcome-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.welcome-card p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}
.stat-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.4);
}
.stat-content h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  display: block;
  line-height: 1;
  letter-spacing: -0.025em;
}
.stat-change {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 500;
}
.quick-actions {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.quick-actions h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.action-card {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.action-card:hover {
  background: rgba(241, 245, 249, 0.9);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}
.action-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.action-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.action-card p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}
/* Management Pages */
.classes-management,
.students-management {
  max-width: 1200px;
  margin: 0 auto;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}
.header-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.header-content p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.5;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: #3b82f6;
  color: white;
}
.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}
.btn-secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.btn-secondary:hover {
  background: #e2e8f0;
}
.btn-icon {
  font-size: 1rem;
}
.filters-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}
.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}
.search-box input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  background: #f9fafb;
}
.filter-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}
.filter-select select {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
}
/* Classes Grid */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}
.class-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}
.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}
.class-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.class-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.25rem;
  letter-spacing: -0.025em;
}
.class-grade {
  background: #dbeafe;
  color: #2563eb;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.class-actions {
  display: flex;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.action-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.action-btn.edit {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.action-btn.edit:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.action-btn.delete {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.action-btn.delete:hover {
  background: rgba(255, 107, 107, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}
.action-btn.view {
  background: #dbeafe;
  color: #2563eb;
}
.action-btn.view:hover {
  background: #bfdbfe;
}
.class-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}
.stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.class-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}
/* Students Table */
.students-table-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.students-table {
  width: 100%;
  border-collapse: collapse;
}
.students-table th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}
.students-table td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #374151;
  font-size: 0.9rem;
}
.students-table tr:hover {
  background: #f8fafc;
}
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-badge.present {
  background: #d1fae5;
  color: #065f46;
}
.status-badge.absent {
  background: #fee2e2;
  color: #991b1b;
}
.table-actions {
  display: flex;
  gap: 0.5rem;
}
/* Sidebar Overlay for Mobile */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    width: 260px;
  }
  
  .dashboard-sidebar.open {
    transform: translateX(0);
  }
  
  .dashboard-content {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .page-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filters-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    min-width: auto;
  }
}
@media (max-width: 768px) {
  .dashboard-main {
    padding: 1rem;
  }
  
  .dashboard-sidebar {
    display: none !important;
  }
  
  .current-students-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .current-students-numbers {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .classes-grid {
    grid-template-columns: 1fr;
  }
  
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .students-table-container {
    overflow-x: auto;
  }
  
  .students-table {
    min-width: 600px;
  }
}
@media (max-width: 480px) {
  .dashboard-sidebar {
    width: 220px;
  }
  
  .current-students-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .current-number {
    font-size: 2rem;
  }
  
  .total-number {
    font-size: 1.25rem;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
  }
  
  .class-stats {
    grid-template-columns: 1fr;
  }
  
  .table-actions {
    flex-direction: column;
  }
}
/* Mini Avatars Section */
.current-students-avatars {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
}
.avatars-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.student-avatar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.student-avatar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.student-avatar-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.25);
}
.student-avatar-item:hover::before {
  opacity: 1;
}
.student-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
  flex-shrink: 0;
}
.student-name-tag {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}
.student-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e40af;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.student-grade {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}
/* Responsive Mini Avatars */
@media (max-width: 768px) {
  .current-students-avatars {
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .avatars-container {
    gap: 0.75rem;
  }
  
  .student-avatar-item {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
  
  .student-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  
  .student-name {
    font-size: 0.8rem;
  }
  
  .student-grade {
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  .avatars-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .student-avatar-item {
    justify-content: flex-start;
  }
}
/* Notification System */
.notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 350px;
  pointer-events: none;
}
.notification {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  pointer-events: auto;
  transform: translateX(100%);
  animation: slideInRight 0.3s ease forwards;
  position: relative;
  overflow: hidden;
}
.notification::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 3px;
          background: linear-gradient(90deg, #10b981, #059669);
          animation: progressBar 5s linear forwards;
        }
.notification-exit::before {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}
.notification-entry {
  border-left: 4px solid #10b981;
}
.notification-exit {
  border-left: 4px solid #ef4444;
}
.notification-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.notification-content {
  flex: 1;
  min-width: 0;
}
.notification-message {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 2px;
}
.notification-time {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}
.notification-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.notification-close:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
/* Modern Students Section */
.modern-students-section {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.students-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.students-header h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.students-stats {
  display: flex;
  gap: 1rem;
}
.active-count, .inactive-count {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}
.active-count {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.inactive-count {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.2);
}
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.student-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.student-card.active {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}
.student-card.inactive {
  background: rgba(255, 255, 255, 0.8);
  opacity: 0.7;
}
.student-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}
.student-card.active:hover {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}
.student-avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
  flex-shrink: 0;
  position: relative;
}
.student-card.inactive .student-avatar {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  box-shadow: 0 4px 12px rgba(156, 163, 175, 0.3);
}
.status-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}
.status-badge.online {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
}
.status-badge.offline {
  background: #6b7280;
  box-shadow: 0 0 8px rgba(107, 114, 128, 0.4);
}
.student-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.student-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.student-card.inactive .student-name {
  color: #6b7280;
}
.student-details {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.student-status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  display: inline-block;
  width: fit-content;
}
.student-card.active .student-status {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.student-card.inactive .student-status {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}
/* Student Modal */
.student-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.student-modal {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* CSV Import Modal - improved readability and modern table */
.student-modal.csv-import-modal {
  max-width: 760px;
}
.csv-import-modal .student-modal-info h3 {
  color: #0f172a; /* slate-900 */
}
.csv-import-modal .student-modal-info p {
  color: #334155; /* slate-700 */
}
.csv-import-modal .student-modal-content {
  background: #ffffff;
}
.csv-import-modal textarea {
  background: #f8fafc;
  color: #0f172a; /* dark text */
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}
.csv-import-modal table {
  border-collapse: collapse;
}
.csv-import-modal thead th {
  position: sticky;
  top: 0;
  background: #f1f5f9; /* slate-100 */
  color: #0f172a; /* ensure not white */
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}
.csv-import-modal tbody tr:nth-child(odd) {
  background: #fafafa;
}
.csv-import-modal td, .csv-import-modal th {
  color: #0f172a; /* ensure readable on white */
}
.csv-import-modal .student-modal-actions {
  background: #ffffff;
}
.csv-import-modal .student-modal-actions > div:first-child {
  color: #0f172a; /* "Toplam X kayıt hazır" vb. */
}
.csv-import-modal .action-btn.manual-entry-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border: none;
}
.csv-import-modal .action-btn.manual-entry-btn:hover:not(:disabled) {
  filter: brightness(0.95);
}
.csv-import-modal .action-btn.delete-card-btn {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.csv-import-modal .action-btn.delete-card-btn:hover {
  background: #eef2f7;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.student-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
}
.student-modal-avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.3);
  position: relative;
}
.modal-status-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid white;
}
.modal-status-badge.online {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}
.modal-status-badge.offline {
  background: #6b7280;
  box-shadow: 0 0 10px rgba(107, 114, 128, 0.4);
}
.student-modal-info {
  flex: 1;
}
.student-modal-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}
.student-modal-info p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}
.modal-status {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  display: inline-block;
}
.modal-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.modal-status.inactive {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(107, 114, 128, 0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: rgba(107, 114, 128, 0.2);
  color: #374151;
}
.student-modal-content {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
.student-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.detail-item,
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  word-break: break-word;
  overflow-wrap: break-word;
}
.detail-item:last-child,
.detail-row:last-child {
  border-bottom: none;
}
.detail-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}
.detail-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
}
.student-modal-actions {
  padding: 1.5rem;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  display: flex;
  gap: 1rem;
}
.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 0;
  word-break: break-word;
}
/* Kart Okuma Sistemi Butonu */
.card-system-btn {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}
.card-system-btn:hover {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}
.delete-card-btn {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.2);
}
.delete-card-btn:hover {
  background: rgba(107, 114, 128, 0.2);
  transform: translateY(-1px);
}
.btn-icon {
  font-size: 1rem;
}
/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 8px 0;
}
.nav-buttons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 100%;
  padding: 0 8px;
}
.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
  min-width: 60px;
}
.nav-btn:hover {
  background: rgba(59, 130, 246, 0.1);
}
.nav-btn.active {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}
.nav-icon {
  font-size: 1.2rem;
  line-height: 1;
}
.nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1;
}
.nav-btn.active .nav-label {
  color: #2563eb;
}
.menu-btn.active {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}
.menu-btn.active .nav-label {
  color: #059669;
}
/* Mobile Menu Expansion */
.mobile-menu-expansion {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1001;
  display: flex;
  align-items: flex-end;
}
.menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.menu-content {
  position: relative;
  background: white;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-height: 60vh;
  animation: slideUp 0.3s ease-out;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.menu-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.menu-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(107, 114, 128, 0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-close:hover {
  background: rgba(107, 114, 128, 0.2);
  color: #374151;
}
.menu-items {
  padding: 1rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}
.menu-item:hover {
  background: rgba(59, 130, 246, 0.1);
}
.menu-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}
.menu-icon {
  font-size: 1.5rem;
  width: 24px;
  text-align: center;
}
.menu-text {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.menu-item.active .menu-text {
  color: #2563eb;
}
/* Show All Students Button */
.show-all-students {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.show-all-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.3);
}
.show-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
}
.btn-icon {
  font-size: 1.1rem;
}
.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.show-all-btn:hover .btn-arrow {
  transform: translateX(4px);
}
/* Content Placeholder */
.content-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  border: 2px dashed rgba(59, 130, 246, 0.3);
  margin-top: 2rem;
}
.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.content-placeholder h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}
.content-placeholder p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}
/* Responsive Design */
@media (max-width: 768px) {
  .students-grid {
    grid-template-columns: 1fr;
  }
  
  .students-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .students-stats {
    width: 100%;
    justify-content: space-between;
  }
  
  .student-modal {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .student-modal-actions {
    flex-direction: column;
  }

  /* Mobile padding for content */
  .admin-dashboard {
    padding-bottom: 80px; /* Space for bottom nav */
  }

  /* Mobile modal improvements */
  .student-modal-overlay {
    padding: 0;
    align-items: flex-end;
    justify-content: center;
  }

  .student-modal {
    margin: 0;
    max-width: 100%;
    width: 100%;
    max-height: 95vh;
    border-radius: 24px 24px 0 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease-out;
  }

  @keyframes modalSlideUp {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .student-modal-header {
    padding: 1.25rem 1rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  }

  .student-modal-avatar {
    width: 50px;
    height: 50px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .student-modal-info {
    flex: 1;
    min-width: 0;
  }

  .student-modal-info h3 {
    font-size: 1.1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .student-modal-info p {
    font-size: 0.85rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .modal-close {
    position: relative;
    top: auto;
    right: auto;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .student-modal-content {
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
    max-height: calc(95vh - 200px);
  }

  .detail-item,
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
  }

  .detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .student-modal-actions {
    padding: 1rem;
    gap: 0.75rem;
    flex-direction: column;
    flex-shrink: 0;
    background: white;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  }

  .action-btn {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    min-height: 52px;
    border-radius: 12px;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.4;
  }

  .action-btn .btn-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .action-btn span:not(.btn-icon) {
    flex: 1;
    text-align: center;
  }

  .manual-entry-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    min-height: 52px;
  }

  /* Mobile Header Improvements */
  .modern-dashboard-header {
    padding: 0.5rem 0;
    min-height: 60px;
  }
  
  .header-container {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    height: auto;
    min-height: 50px;
  }

  .logo-container {
    gap: 0.5rem;
  }

  .logo-icon {
    width: 32px;
    height: 40px;
    font-size: 1.2rem;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-subtitle {
    font-size: 0.75rem;
  }

  .header-search {
    display: none;
  }
  
  .header-user {
    gap: 0.5rem;
  }

  .user-profile {
    padding: 0.3rem 0.5rem;
    gap: 0.5rem;
  }

  .user-avatar-modern {
    width: 35px;
    height: 35px;
  }

  .avatar-text {
    font-size: 0.8rem;
  }

  .user-name-modern {
    font-size: 0.85rem;
  }

  .user-role-modern {
    font-size: 0.7rem;
  }

  .logout-btn-modern {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .logout-text {
    display: none; /* Hide text on very small screens */
  }

  .logout-icon-modern {
    font-size: 1.1rem;
  }
}
/* Responsive Notifications */
@media (max-width: 768px) {
  .notification-container {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .notification {
    padding: 12px 16px;
  }
  
  .notification-message {
    font-size: 0.85rem;
  }
  
  .notification-time {
    font-size: 0.7rem;
  }
}
/* Modern Page Container */
.modern-page-container {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
/* Modern Page Header */
.page-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.page-header-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #8b5cf6);
}
.stats-summary-modern {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 200px;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.stat-icon {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.stat-content {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
}
.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-family: 'Inter', sans-serif;
}
.page-header-modern .header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.page-header-modern .header-icon {
  font-size: 3rem;
  color: #3b82f6;
}
.page-header-modern .header-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  font-family: 'Inter', sans-serif;
}
.page-header-modern .header-text p {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
  font-family: 'Inter', sans-serif;
}
/* Modern Buttons */
.btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.btn-modern.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.btn-modern.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}
.btn-modern .btn-icon {
  font-size: 1.1rem;
}
/* Modern Filters Section */
.filters-section-modern {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.search-box-modern {
  position: relative;
  flex: 1;
  min-width: 300px;
}
.search-input-modern {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  color: #1e293b !important; /* Metin rengini belirgin yap - beyaz yazı sorunu için */
}
.search-input-modern:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.search-box-modern .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #64748b;
}
.filter-select-modern {
  min-width: 200px;
}
.select-modern {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.select-modern:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.filter-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
/* Modern Grid Layouts */
.teachers-grid-modern,
.assignments-grid-modern,
.teachers-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
}
.students-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  max-width: 100%;
  overflow: hidden;
}
/* İçeride Olanlar Özeti */
.inside-students-summary {
  border: 1px solid #e2e8f0;
  background: #f0fdf4;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(16,185,129,0.12);
}
.inside-students-summary .summary-header { display:flex; align-items:center; justify-content: space-between; margin-bottom: 8px; }
.inside-students-summary .summary-title { font-weight: 900; color:#065f46; }
.inside-students-summary .summary-count { font-weight: 800; color:#047857; }
.inside-students-summary .inside-students-list { display:flex; flex-wrap: wrap; gap:8px; max-height: 180px; overflow:auto; }
.inside-students-summary .inside-chip { background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0; padding:6px 10px; border-radius:999px; font-weight:800; display:flex; gap:6px; }
.inside-students-summary .inside-empty { color:#64748b; font-weight:600; }
/* Modern Cards */
.teacher-card-modern,
.assignment-card-modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}
.student-card-modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}
/* İçeride/dışarıda net vurgular */
.student-card-modern.active {
  border-color: rgba(16,185,129,0.35);
  box-shadow: 0 8px 24px rgba(16,185,129,0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}
.student-card-modern.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #10b981, #34d399);
  box-shadow: 0 0 0 1px rgba(16,185,129,.2);
}
.student-card-modern.inactive {
  border-color: rgba(239,68,68,0.35);
  box-shadow: 0 8px 24px rgba(239,68,68,0.18);
  background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
}
.teacher-card-modern:hover,
.assignment-card-modern:hover,
.student-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
/* Card Headers */
.teacher-header,
.assignment-header,
.student-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.teacher-avatar,
.student-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}
/* Avatar rengi duruma göre */
.student-card-modern.active .student-avatar {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16,185,129,0.35);
}
.student-card-modern.inactive .student-avatar {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239,68,68,0.35);
}
.teacher-avatar span,
.student-avatar span {
  font-family: 'Inter', sans-serif;
}
.teacher-info,
.student-info {
  flex: 1;
}
.teacher-info h3,
.student-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
  font-family: 'Inter', sans-serif;
}
.teacher-info p,
.student-info p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0 0 0.25rem 0;
  font-family: 'Inter', sans-serif;
}
.teacher-id,
.student-id {
  font-size: 0.8rem;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
}
.teacher-actions,
.student-actions {
  display: flex;
  gap: 0.5rem;
}
.action-btn-modern {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.action-btn-modern:hover {
  background: #e2e8f0;
  transform: scale(1.1);
}
.action-btn-modern.edit:hover {
  background: #dbeafe;
  color: #3b82f6;
}
.action-btn-modern.view:hover {
  background: #dcfce7;
  color: #10b981;
}
.action-btn-modern.delete:hover {
  background: #fee2e2;
  color: #ef4444;
}
/* Manuel Giriş/Çıkış Butonları */
.student-manual-actions {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.manual-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
}
.manual-action-btn.entry {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.manual-action-btn.entry:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}
.manual-action-btn.exit {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.manual-action-btn.exit:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}
.manual-action-btn .btn-icon {
  font-size: 1rem;
}
.manual-action-btn .btn-text {
  font-family: 'Inter', sans-serif;
}
/* Üstte yönlendirici büyük butonlar */
.manual-actions-toolbar {
  display: flex;
  gap: 10px;
  margin: 10px 0 4px;
}
.manual-warning { font-size: 12px; color:#7f1d1d; background:#fef2f2; border:1px solid #fecaca; padding:6px 8px; border-radius:8px; margin-top:8px; }
.toolbar-btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.toolbar-btn.card-system-btn {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
  flex: 1;
}
.toolbar-btn.card-system-btn:hover {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}
/* Card Details */
.teacher-details,
.student-details {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.detail-row:last-child {
  margin-bottom: 0;
}
.detail-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.detail-value {
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.detail-value.status-present {
  color: #047857;
}
.detail-value.status-absent {
  color: #ef4444;
}
.detail-value.strong { font-size: 1.05rem; font-weight: 800; }
.detail-value.parent-code,
.detail-value.teacher-code {
  color: #0369a1;
  font-weight: 600;
  letter-spacing: 1px;
  background-color: #f0f9ff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-success {
  background-color: #10b981;
  color: white;
}
.code-info {
  font-size: 12px;
  color: #64748b;
  font-weight: normal;
  letter-spacing: normal;
}
/* Öğretmen Detay Sayfası Stilleri */
.teacher-detail-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
}
.teacher-detail-header {
  display: flex;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}
.teacher-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-right: 24px;
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}
.teacher-header-info {
  flex: 1;
}
.teacher-header-info h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}
.teacher-subject {
  font-size: 18px;
  color: #64748b;
  margin: 0 0 8px 0;
}
.teacher-number {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 12px 0;
}
.teacher-status {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #10b981;
}
.teacher-status .status-badge {
  margin-right: 8px;
}
.teacher-header-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.teacher-edit-header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  margin-bottom: 24px;
  background: linear-gradient(to right, #f0f9ff, #e0f2fe);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.tabs-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tabs-header {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}
.tab-button {
  padding: 12px 20px;
  border: none;
  background: none;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.tab-button:hover {
  color: #3b82f6;
}
.tab-button.active {
  color: #3b82f6;
}
.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 3px 3px 0 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.info-item {
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.info-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}
.info-value {
  font-size: 16px;
  color: #1e293b;
}
.classes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.class-item {
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.class-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.class-item-header {
  margin-bottom: 8px;
}
.class-item-header h5 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}
.class-grade {
  font-size: 14px;
  color: #64748b;
}
.class-item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.class-subject {
  font-size: 14px;
  color: #3b82f6;
  font-weight: 500;
}
.logs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.log-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.log-icon {
  font-size: 24px;
  margin-right: 16px;
}
.log-details {
  flex: 1;
}
.log-type {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}
.log-time {
  font-size: 14px;
  color: #64748b;
}
.log-device {
  text-align: right;
}
.log-ip {
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 4px;
}
.log-browser {
  font-size: 12px;
  color: #64748b;
}
.homeworks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.homework-item {
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.homework-header {
  margin-bottom: 12px;
}
.homework-header h5 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}
.homework-class {
  font-size: 14px;
  color: #64748b;
}
.homework-description {
  font-size: 14px;
  color: #334155;
  margin-bottom: 12px;
  line-height: 1.5;
}
.homework-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.homework-dates {
  display: flex;
  gap: 16px;
}
.homework-created,
.homework-due {
  font-size: 12px;
  color: #64748b;
}
.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px dashed #e2e8f0;
  color: #94a3b8;
  font-size: 16px;
  text-align: center;
}
.view-all-details {
  margin-top: 16px;
  text-align: center;
}
.btn-view-all-details {
  background: linear-gradient(to right, #3b82f6, #6366f1);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
  letter-spacing: 0.5px;
}
.btn-view-all-details:hover {
  background: linear-gradient(to right, #2563eb, #4f46e5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.btn-view-all-details .btn-icon {
  margin-right: 8px;
  font-size: 16px;
}
/* Assignment Specific Styles */
.assignment-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
  font-family: 'Inter', sans-serif;
}
.assignment-info p {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0 0 0.25rem 0;
  font-family: 'Inter', sans-serif;
}
.assignment-id {
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
}
.assignment-status {
  display: flex;
  align-items: center;
}
.status-badge.active {
  background: #10b981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.status-badge.completed {
  background: #3b82f6;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.assignment-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  /* Hide sidebar on mobile */
  .dashboard-sidebar,
  .modern-dashboard-sidebar {
    display: none !important;
  }
  
  /* Adjust main content for mobile */
  .dashboard-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .modern-page-container {
    padding: 1rem;
    max-width: 100%;
  }
  
  .page-header-modern {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .page-header-modern .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .page-header-modern .header-text h2 {
    font-size: 1.5rem;
  }
  
  .filters-section-modern {
    flex-direction: column;
  }
  
  .search-box-modern {
    min-width: auto;
  }
  
  .filter-row {
    flex-direction: column;
  }
  
  .teachers-grid-modern,
  .assignments-grid-modern,
  .students-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .teacher-header,
  .assignment-header,
  .student-header {
    flex-direction: column;
    text-align: center;
  }
  
  .teacher-actions,
  .student-actions,
  .assignment-actions {
    justify-content: center;
  }
}
/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}
.modal-content {
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
  position: relative;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px 16px 0 0;
  flex-shrink: 0;
  gap: 1rem;
}
.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.modal-close:hover {
  background: #f1f5f9;
  color: #ef4444;
}
.modal-body {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
/* SMS Onay Modal */
.sms-confirm-modal {
  max-width: 450px;
}
.sms-confirm-modal .modal-body {
  padding: 1.5rem;
  text-align: center;
}
.sms-confirm-modal .modal-body p {
  margin: 0.75rem 0;
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
}
.sms-confirm-modal .modal-body .sms-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fff7ed;
  border-radius: 12px;
  border: 2px solid #fed7aa;
}
.sms-modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  justify-content: flex-end;
}
.sms-modal-footer .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: 'Inter', sans-serif;
}
.sms-modal-footer .btn-secondary {
  background: #f3f4f6;
  color: #374151;
}
.sms-modal-footer .btn-secondary:hover {
  background: #e5e7eb;
}
.sms-modal-footer .btn-primary {
  background: #6b7280;
  color: white;
}
.sms-modal-footer .btn-primary:hover {
  background: #4b5563;
}
.sms-modal-footer .btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.sms-modal-footer .btn-success:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .modal-overlay {
    padding: 1rem;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-content {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 2rem);
    margin: 1rem;
    display: flex;
    flex-direction: column;
  }

  .sms-confirm-modal {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 2rem);
    margin: 1rem;
    display: flex;
    flex-direction: column;
  }

  .sms-confirm-modal .modal-header {
    padding: 1.25rem 1rem;
    flex-shrink: 0;
  }

  .sms-confirm-modal .modal-header h3 {
    font-size: 1.1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  .sms-confirm-modal .modal-body {
    padding: 1.25rem 1rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }

  .sms-confirm-modal .modal-body p {
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 0.5rem 0;
  }

  .sms-confirm-modal .modal-body .sms-question {
    font-size: 1rem;
    margin-top: 1rem;
    padding: 0.875rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  .sms-modal-footer {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    flex-shrink: 0;
    border-top: 1px solid #e5e7eb;
    background: white;
    border-radius: 0 0 16px 16px;
  }
  
  .sms-modal-footer .btn {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    min-height: 52px;
    border-radius: 12px;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.4;
  }
}
.modal-form {
  padding: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}
.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-input:invalid {
  border-color: #ef4444;
}
.error-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid #fecaca;
  font-family: 'Inter', sans-serif;
}
.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: white;
  position: sticky;
  bottom: 0;
  z-index: 10;
}
/* Password Success Styles */
.password-success {
  padding: 2rem;
  text-align: center;
}
.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.password-success h4 {
  color: #059669;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  font-family: 'Inter', sans-serif;
}
.password-success p {
  color: #6b7280;
  margin: 0 0 1rem 0;
  font-family: 'Inter', sans-serif;
}
.password-display {
  background: #f3f4f6;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  font-size: 1.2rem;
  font-family: 'Courier New', monospace;
  color: #1f2937;
}
.password-warning {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 1rem;
  color: #92400e;
  font-size: 0.9rem;
  margin: 1rem 0;
}
.form-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #6b7280;
  font-family: 'Inter', sans-serif;
}
/* Teacher Form Styles */
.teacher-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.form-section .section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3b82f6;
  font-family: 'Inter', sans-serif;
}
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}
.form-label.required::after {
  content: ' *';
  color: #ef4444;
  font-weight: 600;
}
.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.field-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #ef4444;
  font-family: 'Inter', sans-serif;
}
.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-input.error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
/* Modal Header Enhancement */
.modal-header {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  border-radius: 16px 16px 0 0;
}
.modal-header h3 {
  color: white;
  font-weight: 700;
}
.modal-close {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
/* Button Enhancements */
.btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-modern .btn-icon {
  font-size: 1rem;
}
.btn-modern.btn-primary {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}
.btn-modern.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}
.btn-modern.btn-secondary {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.btn-modern.btn-secondary:hover {
  background: #f1f5f9;
  color: #475569;
  transform: translateY(-1px);
}
.btn-modern:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
/* Teacher Form V2 Styles */
.teacher-form-v2 {
  max-width: 100%;
  margin: 0 auto;
  flex: 1;
  overflow-y: auto;
  max-height: calc(92vh - 80px);
}
.classes-selection {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.selection-info {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fafbfc;
  margin-bottom: 1.5rem;
}
.class-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.class-card:hover {
  border-color: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}
.class-card.selected {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}
.class-card {
  color: #1f2937; /* Siyah yazı rengi */
}
.class-card.selected {
  color: #1e40af; /* Seçili durumda mavi */
}
.class-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.class-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.class-grade {
  font-size: 0.8rem;
  opacity: 0.7;
}
.class-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #3b82f6;
  background: white;
  transition: all 0.2s ease;
}
.class-card.selected .class-checkbox {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}
.selected-summary {
  margin-top: 1rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 8px;
  text-align: center;
}
.selected-count {
  font-weight: 600;
  color: #1e40af;
  font-family: 'Inter', sans-serif;
}
.loading-classes {
  text-align: center;
  padding: 2rem;
  color: #64748b;
}
.loading-classes .loading-spinner {
  margin: 0 auto 1rem auto;
}
/* Enhanced Modal */
.modal-content {
  max-width: 800px;
  width: 95%;
}
/* Access Code Success Styles */
.access-code-success {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 12px;
  margin: 1rem;
}
.access-code-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.access-code-success h4 {
  color: #1e40af;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.access-code-success p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.access-codes-container {
  display: flex;
  gap: 16px;
  margin: 16px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.access-code-box {
  flex: 1;
  min-width: 200px;
}
.access-code-label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #e0f2fe;
  font-size: 14px;
}
.access-code-display {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin: 0.5rem 0 1rem 0;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}
.access-code-display.parent-code {
  background: linear-gradient(135deg, #0c4a6e, #0ea5e9);
  box-shadow: 0 4px 12px rgba(12, 74, 110, 0.3);
}
.access-code-warning {
  background: #fef3c7;
  color: #92400e;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}
/* Responsive Design */
@media (max-width: 768px) {
  .teacher-form,
  .teacher-form-v2 {
    max-width: 100%;
  }
  
  .form-section {
    padding: 1rem;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .btn-modern {
    width: 100%;
    justify-content: center;
  }
  
  .classes-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
  }
  
  .class-card {
    padding: 0.5rem;
  }
  
  .class-name {
    font-size: 0.8rem;
  }
  
  .class-grade {
    font-size: 0.7rem;
  }
}
.btn-modern.btn-secondary {
  background: #f8fafc;
  color: #64748b;
  border: 2px solid #e5e7eb;
}
.btn-modern.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #d1d5db;
  color: #374151;
}
.btn-modern:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}
/* Large Modal for Tabs */
.modal-content-large {
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
}
/* Fullscreen Modal Variants */
.modal-overlay-fullscreen {
  position: fixed;
  inset: 0;
  background: linear-gradient(115deg, rgba(59,130,246,0.2), rgba(236,72,153,0.2)), rgba(15,23,42,0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}
.modal-content-fullscreen {
  width: 100%;
  max-width: 1400px; /* Genişletildi: 1200px -> 1400px */
  height: 92vh;
  max-height: 92vh;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 30px 80px rgba(2,6,23,0.35);
  display: flex;
  flex-direction: column;
}
.modal-header-fullscreen {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  color: #fff;
  padding: 20px 24px;
}
.modal-header-fullscreen h3 {
  color: #fff;
}
.sticky-actions {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(248,250,252,0.8), rgba(255,255,255,0.95));
  backdrop-filter: saturate(140%) blur(6px);
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px; /* Daha kompakt padding */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); /* Gölge ekleyerek daha belirgin yaptım */
  z-index: 100; /* Üstte kalmasını sağla */
}
.sticky-actions .actions-right {
  display: flex;
  gap: 8px;
}
.btn-tertiary {
  background: #f1f5f9;
  color: #0f172a;
}
/* Stepper polish */
.stepper {
  background: linear-gradient(180deg, rgba(248,250,252,0.8), rgba(248,250,252,1));
  display: flex;
  justify-content: center;
  padding: 16px 0;
  gap: 8px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 10px;
  transition: all 0.3s ease;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -15px;
  width: 20px;
  height: 2px;
  background-color: #e2e8f0;
  z-index: 1;
}
.step.completed:not(:last-child)::after {
  background-color: #22c55e;
}
.step-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f5f9;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.step.active .step-index {
  background-color: #3b82f6;
  border-color: #2563eb;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}
.step.completed .step-index {
  background-color: #22c55e;
  border-color: #16a34a;
  color: white;
}
.step-label {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
}
.step.active .step-label { 
  color: #0f172a; 
  font-weight: 600;
}
/* Modal Tabs */
.modal-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  padding: 0 1rem;
  gap: 0.5rem;
}
.tab-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #64748b;
  min-width: fit-content;
}
.tab-button:hover {
  background: #e2e8f0;
  color: #475569;
}
.tab-button.active {
  background: white;
  color: #3b82f6;
  border-bottom: 2px solid #3b82f6;
  font-weight: 500;
}
.tab-icon {
  font-size: 1.1rem;
}
.tab-label {
  font-weight: 500;
}
/* Bottom Promo (WhatsApp) */
.bottom-promo {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  display: grid;
  place-items: center;
  z-index: 9999;
  pointer-events: none;
}
.bottom-promo-content {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 680px;
  width: calc(100% - 24px);
}
.bottom-promo-icon {
  font-size: 20px;
}
.bottom-promo-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  font-size: 14px;
}
.bottom-promo-action {
  margin-left: auto;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(34,197,94,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.bottom-promo-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(34,197,94,0.45);
  filter: brightness(1.03);
}
.bottom-promo-close {
  margin-left: 4px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.bottom-promo-close:hover {
  background: rgba(100,116,139,0.15);
  color: #e2e8f0;
}
@media (max-width: 520px) {
  .bottom-promo-content {
    gap: 10px;
    padding: 10px 12px;
  }
  .bottom-promo-text {
    font-size: 13px;
  }
  .bottom-promo-action {
    font-size: 12px;
    padding: 7px 10px;
  }
}
/* Tab Content */
.tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  max-height: calc(92vh - 160px); /* Daha fazla alan için yüksekliği artırdım */
  height: calc(92vh - 160px);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
  -webkit-overflow-scrolling: touch; /* iOS için daha iyi scroll deneyimi */
  overscroll-behavior: contain; /* Scroll taşması sorununu çöz */
  display: block; /* Scroll sorununu çözmek için */
}
.tab-content::-webkit-scrollbar {
  width: 8px;
}
.tab-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.tab-content::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
  border: 2px solid #f1f5f9;
}
.tab-panel {
  padding: 20px 24px; /* 24px -> 20px 24px */
  margin-bottom:300px;
  animation: fadeIn 0.3s ease-in;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 2 kolon -> 3 kolon */
  gap: 16px; /* 20px -> 16px */
  margin-bottom: 20px; /* 24px -> 20px */
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #334155;
  font-size: 0.9rem;
}
.form-input {
  width: 100%;
  padding: 8px 12px; /* Daha kompakt */
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px; /* Daha küçük font */
  transition: all 0.2s ease;
  background-color: #f8fafc;
  color: #1e293b; /* Koyu yazı rengi */
}
.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background-color: white;
}
.form-input::placeholder {
  color: #94a3b8; /* Daha koyu placeholder rengi */
}
.tab-panel h4 {
  margin: 0 0 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}
.tab-panel h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-panel h4 {
  margin: 0 0 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}
/* Form Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row .form-group:only-child {
  grid-column: 1 / -1;
}
/* Textarea */
textarea.form-input {
  resize: vertical;
  min-height: 80px;
  font-family: 'Inter', sans-serif;
}
/* Checkbox Styling */
.form-group label input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.1);
}
/* Mobile Modal Responsive */
@media (max-width: 768px) {
  .modal-content,
  .modal-content-large {
    width: 95%;
    margin: 1rem;
    max-height: 95vh;
  }
  
  .tab-content {
    max-height: calc(95vh - 180px);
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-tabs {
    padding: 0 0.5rem;
    gap: 0.25rem;
  }
  
  .tab-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .tab-label {
    display: none;
  }
  
  .tab-icon {
    font-size: 1.2rem;
  }
  
  .tab-panel {
    padding: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .btn-modern {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .modal-content-large {
    width: 98%;
    margin: 0.5rem;
    max-height: 98vh;
  }
  
  .tab-content {
    max-height: calc(98vh - 160px);
  }
  
  .modal-tabs {
    padding: 0 0.25rem;
  }
  
  .tab-button {
    padding: 0.4rem 0.5rem;
    min-width: 40px;
    justify-content: center;
  }
}
/* ===== CLASSES MANAGEMENT STYLES ===== */
.classes-management {
  padding: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.classes-management .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}
.classes-management .header-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}
.classes-management .header-content p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.5;
}
.classes-management .filters-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.classes-management .search-box {
  position: relative;
  flex: 1;
  min-width: 300px;
}
.classes-management .search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid var(--medium-gray);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--white);
  transition: all 0.3s ease;
  color: #1e293b; /* Metin rengini belirgin yap */
}
.classes-management .search-box input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.classes-management .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--text-gray);
}
.classes-management .stats-summary {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.classes-management .stat-item {
  text-align: center;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--medium-gray);
  min-width: 100px;
}
.classes-management .stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}
.classes-management .stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  font-weight: 500;
}
.classes-management .classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.75rem;
  margin: 1.5rem 0 2rem;
}
.classes-management .class-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--medium-gray);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.classes-management .class-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-blue);
}
.classes-management .class-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  border-radius: 3px;
  margin: 0 1px;
}
.classes-management .class-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.classes-management .class-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}
.classes-management .class-grade {
  font-size: 0.875rem;
  color: var(--text-gray);
  font-weight: 500;
  background: var(--light-gray);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
}
.classes-management .class-actions {
  display: flex;
  gap: 0.5rem;
}
.classes-management .action-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}
.classes-management .action-btn.edit {
  background: rgba(59, 130, 246, 0.1);
  color: var(--secondary-blue);
}
.classes-management .action-btn.edit:hover {
  background: var(--secondary-blue);
  color: var(--white);
}
.classes-management .action-btn.delete {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.classes-management .action-btn.delete:hover {
  background: #ef4444;
  color: var(--white);
}
.classes-management .class-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
  background: #f8fafc;
  padding: 0.75rem;
  border-radius: 10px;
}
.classes-management .stat {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.classes-management .stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}
.classes-management .stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.classes-management .stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.classes-management .stat-value.active {
  color: #059669;
}
.classes-management .stat-value.inactive {
  color: #dc2626;
}
.classes-management .class-description {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--light-gray);
  border-radius: 8px;
  border-left: 3px solid var(--primary-blue);
}
.classes-management .class-description p {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}
.classes-management .class-footer {
  border-top: 1px solid var(--medium-gray);
  padding-top: 1rem;
}
.classes-management .class-date {
  font-size: 0.75rem;
  color: var(--text-gray);
  text-align: center;
}
.classes-management .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  background: var(--white);
  border-radius: 16px;
  border: 2px dashed var(--medium-gray);
}
.classes-management .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.classes-management .empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}
.classes-management .empty-state p {
  color: var(--text-gray);
  font-size: 1rem;
}
.classes-management .error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.classes-management .error-icon {
  font-size: 1.25rem;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .classes-management {
    padding: 1rem;
  }
  
  .classes-management .page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .classes-management .header-content h2 {
    font-size: 1.5rem;
  }
  
  .classes-management .filters-section {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .classes-management .search-box {
    min-width: auto;
  }
  
  .classes-management .stats-summary {
    justify-content: space-around;
    gap: 0.5rem;
  }
  
  .classes-management .stat-item {
    min-width: 80px;
    padding: 0.5rem 0.75rem;
  }
  
  .classes-management .stat-number {
    font-size: 1.25rem;
  }
  
  .classes-management .classes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .classes-management .class-card {
    padding: 1rem;
  }
  
  .classes-management .class-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .classes-management .stat {
    padding: 0.5rem;
  }
  
  .classes-management .stat-value {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .classes-management .stats-summary {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .classes-management .stat-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .classes-management .stat-number {
    margin-bottom: 0;
  }
  
  .classes-management .class-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .classes-management .stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .classes-management .stat-label {
    margin-bottom: 0;
  }
}
/* Professional Section Headers */
.section { 
  margin-bottom: 24px; 
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #64748b;
  text-transform: uppercase;
  font-size: 11px;
  padding: 8px 20px 12px 20px;
  margin: 0;
  position: relative;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 50%;
  flex-shrink: 0;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, 
    #e2e8f0 0%, 
    transparent 100%);
  margin-left: 8px;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}
/* Ultra Modern Light Blue Active Indicator */
.nav-link.active::after {
  content: '';
  position: absolute;
  left: -20px;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, 
    rgba(59, 130, 246, 1) 0%, 
    rgba(37, 99, 235, 0.8) 50%, 
    rgba(29, 78, 216, 1) 100%);
  box-shadow: 
    0 0 20px rgba(59, 130, 246, 0.8),
    0 0 40px rgba(59, 130, 246, 0.4);
  animation: pulse-active 2s infinite;
}
@keyframes pulse-active {
  0%, 100% { 
    opacity: 1; 
    transform: scaleY(1); 
    box-shadow: 
      0 0 20px rgba(59, 130, 246, 0.8),
      0 0 40px rgba(59, 130, 246, 0.4);
  }
  50% { 
    opacity: 0.9; 
    transform: scaleY(1.1); 
    box-shadow: 
      0 0 24px rgba(59, 130, 246, 1),
      0 0 48px rgba(59, 130, 246, 0.6);
  }
}
/* Ultra Modern Chip Badge - Updated */
.nav-link .chip {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.2);
  color: #cbd5e1;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}
.nav-link .chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.6s ease;
}
.nav-link:hover .chip::before {
  left: 100%;
}
.nav-link:hover .chip {
  background: rgba(99, 102, 241, 0.3);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}
.nav-link.active .chip {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
/* Öğretmen Ekleme Modal Hata ve Başarı Mesajları */
.error-message {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #f87171;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 8px 25px rgba(248, 113, 113, 0.15);
}
.error-message .error-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.error-message .error-content h4 {
  color: #dc2626;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}
.error-message .error-content p {
  color: #991b1b;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}
.access-code-success {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 20px;
  margin: 1rem 0;
}
.access-code-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.access-code-success h4 {
  color: #166534;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.access-code-success p {
  color: #15803d;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.access-code-display {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #22c55e;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
  color: #15803d;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.access-code-display .code-label {
  color: #166534;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.access-code-display .code-value {
  color: #15803d;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.access-code-info {
  margin: 1.5rem 0;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.access-code-info .info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border-left: 4px solid #22c55e;
}
.access-code-info .info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.access-code-info .info-text {
  color: #166534;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}
/* Modern Öğretmen Splash Screen Stilleri */
.teacher-splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.splash-container {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
}
.splash-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  animation: slideUp 0.6s ease-out;
}
.splash-header {
  margin-bottom: 3rem;
}
.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.modern-logo {
  position: relative;
}
.logo-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 10px 25px rgba(249, 115, 22, 0.3),
    0 0 0 4px rgba(249, 115, 22, 0.1);
  animation: pulse 2s ease-in-out infinite;
}
.logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.brand-info h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.025em;
}
.brand-info span {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.splash-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.modern-spinner {
  position: relative;
  width: 60px;
  height: 60px;
}
.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}
.spinner-ring:nth-child(1) {
  border-top-color: #f97316;
  animation-delay: 0s;
}
.spinner-ring:nth-child(2) {
  border-right-color: #ea580c;
  animation-delay: 0.2s;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
}
.spinner-ring:nth-child(3) {
  border-bottom-color: #fb923c;
  animation-delay: 0.4s;
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
}
.loading-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}
.loading-dots {
  display: flex;
  gap: 0.2rem;
}
.loading-dots span {
  animation: dotPulse 1.4s ease-in-out infinite;
}
.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}
.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
/* Animasyonlar */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 10px 25px rgba(249, 115, 22, 0.3),
      0 0 0 4px rgba(249, 115, 22, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 
      0 15px 35px rgba(249, 115, 22, 0.4),
      0 0 0 8px rgba(249, 115, 22, 0.15);
  }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes dotPulse {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  30% {
    opacity: 1;
    transform: scale(1.2);
  }
}
/* Öğretmen Dashboard Stilleri */
.teacher-dashboard {
  min-height: 100vh;
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  font-family: 'Inter', sans-serif;
}
.teacher-header {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.3);
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.header-left .logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-icon {
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.5rem;
  backdrop-filter: blur(10px);
}
.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}
.logo-text span {
  font-size: 0.9rem;
  opacity: 0.9;
}
.header-center .time-display {
  text-align: center;
}
.current-time {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.current-date {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.teacher-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
.teacher-avatar {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.teacher-name {
  font-weight: 600;
  font-size: 1rem;
}
.teacher-subject {
  font-size: 0.8rem;
  opacity: 0.9;
}
.logout-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.teacher-nav {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 2rem;
}
.nav-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 0.5rem;
}
.nav-tab {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  color: #6b7280;
  font-weight: 500;
}
.nav-tab:hover {
  background: #fef3c7;
  color: #ea580c;
}
.nav-tab.active {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}
.tab-icon {
  font-size: 1.2rem;
}
.teacher-main {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.welcome-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.welcome-section h2 {
  color: #ea580c;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.welcome-section p {
  color: #6b7280;
  font-size: 1.1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
}
.stat-card.primary {
  border-left: 4px solid #ea580c;
}
.stat-card.secondary {
  border-left: 4px solid #f97316;
}
.stat-card.accent {
  border-left: 4px solid #d97706;
}
.stat-card.success {
  border-left: 4px solid #22c55e;
}
.stat-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border-radius: 12px;
  padding: 1rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-content h3 {
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.stat-number {
  color: #ea580c;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
}
.quick-actions {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.quick-actions h3 {
  color: #ea580c;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.action-btn {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border: none;
  padding: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  color: #ea580c;
  font-weight: 600;
}
.action-btn:hover {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}
.action-icon {
  font-size: 2rem;
}
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.class-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ea580c;
}
.class-header {
  margin-bottom: 1rem;
}
.class-header h3 {
  color: #ea580c;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.class-grade {
  color: #6b7280;
  font-size: 0.9rem;
}
.class-info p {
  color: #374151;
  margin-bottom: 0.5rem;
}
.class-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.btn-primary, .btn-secondary {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-primary {
  background: #ea580c;
  color: white;
}
.btn-primary:hover {
  background: #dc2626;
}
.btn-secondary {
  background: #f3f4f6;
  color: #374151;
}
.btn-secondary:hover {
  background: #e5e7eb;
}
/* Modern Öğretmen Dashboard Stilleri */
.modern-teacher-dashboard {
  min-height: 100vh;
  width: 100vw;
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/* Ana İçerik Arama Bölümü */
.search-section {
 
    width: 100%;
    display: flex;
    border-bottom: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;

}
.search-container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.search-input-wrapper-main {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon-main {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: #9ca3af;
  z-index: 1;
}
.search-input-main {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.9rem;
  background: #f9fafb;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.search-input-main:focus {
  outline: none;
  border-color: #f97316;
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.search-input-main::placeholder {
  color: #9ca3af;
  font-size: 0.85rem;
}
/* Modern Dashboard Ana Sayfa Stilleri */
.modern-dashboard-home {
  padding: 2rem 1.5rem 2.5rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
}
/* Desktop: modern-dashboard-home ve arama konteynerini tam genişliğe yay */
@media (min-width: 1200px) {
  .search-container-main,
  .modern-dashboard-home {
    max-width: 100%;
    width: 100%;
  }
}
/* Hero Welcome Section */
.hero-welcome-section {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.welcome-content {
  position: relative;
  z-index: 1;
}
.welcome-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.welcome-greeting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.typewriter-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fef3c7;
  margin-bottom: 0.5rem;
  min-height: 1.5rem;
}
.cursor {
  animation: blink 1s infinite;
  color: #fef3c7;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.teacher-label {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.welcome-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.teacher-first-name {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.teacher-last-name {
  color: #fef3c7;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.teacher-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.5rem;
}
.badge-icon {
  font-size: 1.1rem;
}
.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.95;
}
/* Quick Stats Section */
.quick-stats-section {
  margin-bottom: 2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.stat-card-modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #ea580c);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.stat-card-modern:hover::before {
  transform: scaleX(1);
}
.stat-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}
.stat-card-modern.highlight {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
}
.stat-icon-modern {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}
.stat-card-modern.highlight .stat-icon-modern {
  background: linear-gradient(135deg, #10b981, #059669);
}
.stat-content-modern {
  flex: 1;
}
.stat-number-modern {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label-modern {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.stat-description-modern {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}
/* Quick Actions Section */
.quick-actions-section {
  margin-bottom: 2rem;
}
.section-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title-modern::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 2px;
}
.actions-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.action-card-modern {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.action-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f97316, #ea580c);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.action-card-modern:hover::before {
  opacity: 0.05;
}
.action-card-modern:hover {
  border-color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(249, 115, 22, 0.15);
}
.action-icon-modern {
  width: 50px;
  height: 50px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.action-card-modern:hover .action-icon-modern {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  transform: scale(1.05);
}
.action-content-modern {
  flex: 1;
  position: relative;
  z-index: 1;
}
.action-content-modern h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}
.action-content-modern p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}
.action-arrow {
  font-size: 1.25rem;
  color: #9ca3af;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.action-card-modern:hover .action-arrow {
  color: #f97316;
  transform: translateX(4px);
}
/* Classes Overview Section */
.classes-overview-section {
  margin-bottom: 2rem;
}
.classes-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.class-card-modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.class-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}
.class-header-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.class-icon-modern {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}
.class-info-modern {
  flex: 1;
}
.class-name-modern {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}
.class-details-modern {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}
.class-status-modern {
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.class-status-modern.active {
  background: #dcfce7;
  color: #166534;
}
.class-status-modern.inactive {
  background: #f3f4f6;
  color: #6b7280;
}
.class-stats-modern {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.class-stat-item {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
}
.class-stat-item .stat-label {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.class-stat-item .stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}
/* Öğrenciler Sayfası Stilleri */
/* Modern Students Page Styles */
.modern-students-page {
  padding: 0;
  background: #fefbf9;
  min-height: 100vh;
}
.students-hero-section {
  background: linear-gradient(135deg, #ffedd5 0%, #fdba74 100%);
  padding: 5rem 2rem;
  color: #111827;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.hero-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.pattern-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.pattern-dot.dot-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.pattern-dot.dot-2 {
  top: 30%;
  right: 15%;
  animation-delay: 1s;
}
.pattern-dot.dot-3 {
  bottom: 40%;
  left: 20%;
  animation-delay: 2s;
}
.pattern-dot.dot-4 {
  bottom: 30%;
  right: 25%;
  animation-delay: 3s;
}
.pattern-dot.dot-5 {
  top: 60%;
  left: 5%;
  animation-delay: 4s;
}
.pattern-dot.dot-6 {
  top: 70%;
  right: 10%;
  animation-delay: 5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); opacity: 0.1; }
  50% { transform: translateY(-20px); opacity: 0.3; }
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-header {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}
.hero-icon-container {
  flex-shrink: 0;
}
.hero-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-icon {
  font-size: 5rem;
  opacity: 0.9;
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 3;
}
.icon-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.ring-1 {
  width: 100px;
  height: 100px;
  animation-delay: 0s;
}
.ring-2 {
  width: 120px;
  height: 120px;
  animation-delay: 0.5s;
}
.ring-3 {
  width: 140px;
  height: 140px;
  animation-delay: 1s;
}
.hero-text-content {
  flex: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}
.badge-icon {
  font-size: 1.2rem;
}
.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #7c2d12;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 0 0 1rem 0;
  line-height: 1.1;
}
.title-main {
  display: block;
  color: #111827;
}
.title-accent {
  display: block;
  background: linear-gradient(135deg, #f97316, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.6em;
  font-weight: 700;
  margin-top: 0.5rem;
}
.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.stat-card:hover::before {
  opacity: 1;
}
.stat-card.primary::before {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.stat-card.secondary::before {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}
.stat-card.tertiary::before {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.stat-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon {
  font-size: 2.5rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}
.stat-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  z-index: 1;
}
.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111827;
  line-height: 1;
}
.stat-label {
  font-size: 1rem;
  color: #7c2d12;
  font-weight: 600;
}
.stat-description {
  font-size: 0.85rem;
  color: rgb(0 0 0 / 70%);
  font-weight: 400;
  line-height: 1.3;
}
.hero-stat-card.energy-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 200px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.hero-stat-card.energy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hero-stat-card.energy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border-color: #f97316;
}
.hero-stat-card.energy-card:hover::before {
  opacity: 1;
}
.hero-stat-card.energy-card.highlight {
  border-color: #f97316;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.15);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02), rgba(249, 115, 22, 0.01));
}
.hero-stat-card.energy-card.highlight::before {
  opacity: 1;
}
.stat-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stat-card .stat-icon-modern {
  font-size: 2rem;
  opacity: 0.9;
  background: linear-gradient(135deg, #f97316, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}
.icon-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  z-index: 1;
}
.hero-stat-card .stat-content-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero-stat-card .stat-number-modern {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}
.hero-stat-card .stat-label-modern {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}
.hero-stat-card .stat-description {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.3;
}
/* Modern Loading Styles */
.modern-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 2rem;
}
.loading-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.loading-spinner-modern {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(249, 115, 22, 0.2);
  border-top: 4px solid #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loading-dots {
  display: flex;
  gap: 0.5rem;
}
.loading-dots span {
  width: 8px;
  height: 8px;
  background: #f97316;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-text {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}
/* Modern Students Content */
.modern-students-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
/* Mini Class Cards */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.mini-class-card {
  background: #fff7ed;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.08);
  border: 1px solid #fed7aa;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}
.mini-class-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mini-class-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.mini-class-card:hover::before {
  opacity: 1;
}
.mini-class-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #f1f5f9;
}
.mini-class-icon {
  flex-shrink: 0;
}
.icon-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
  position: relative;
  z-index: 2;
}
.mini-class-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mini-class-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
  background: linear-gradient(135deg, #1e293b, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mini-class-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mini-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}
.mini-status-dot.active {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}
.mini-status-dot.inactive {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}
.mini-status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.mini-class-stats {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}
.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.mini-stat-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}
.mini-stat-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  text-align: center;
}
.mini-students-preview {
  padding: 1.5rem;
  background: white;
}
.students-count {
  margin-bottom: 1rem;
}
.count-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}
.students-avatars {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.mini-avatar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
}
.mini-avatar.inactive {
  opacity: 0.4;
}
.mini-avatar.active {
  opacity: 1;
  transform: scale(1.05);
}
.avatar-circle {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
  position: relative;
}
.mini-avatar.active .avatar-circle {
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.mini-avatar-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.mini-avatar-name {
  font-size: 0.6rem;
  font-weight: 500;
  color: #64748b;
  text-align: center;
  max-width: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-avatar.active .mini-avatar-name {
  color: #1e293b;
  font-weight: 600;
}
.mini-avatar-status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.mini-avatar-status.online {
  background: #10b981;
}
.mini-avatar-status.offline {
  background: #ef4444;
}
.mini-avatar-status.unknown {
  background: #6b7280;
}
.more-students {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.more-students-circle {
  width: 36px;
  height: 36px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.more-students-text {
  font-size: 0.6rem;
  font-weight: 500;
  color: #64748b;
  text-align: center;
}
/* Students Grid */
.modern-students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}
.student-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}
.student-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.student-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.student-card:hover::before {
  opacity: 1;
}
.student-card-content {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.student-avatar-container {
  flex-shrink: 0;
}
.student-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-circle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  z-index: 2;
}
.avatar-initials {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.status-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 3;
}
.status-badge.online {
  background: #10b981;
}
.status-badge.offline {
  background: #ef4444;
}
.status-badge.unknown {
  background: #6b7280;
}
.student-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.student-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.student-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  background: linear-gradient(135deg, #1e293b, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.student-id {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  background: #f8fafc;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.student-status {
  display: flex;
  align-items: center;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.status-indicator.at-school {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.status-indicator.outside-school {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}
.status-indicator.unknown {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
  box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}
.status-icon {
  font-size: 1.1rem;
}
.status-text {
  font-weight: 600;
}
.student-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.action-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.action-btn.primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.action-btn.secondary {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.action-btn:hover {
  transform: scale(1.1);
}
.action-btn.primary:hover {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.action-btn.secondary:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}
.action-btn svg {
  width: 20px;
  height: 20px;
}
.modern-student-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.modern-student-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modern-student-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateX(6px);
  border-color: #f97316;
}
.modern-student-card:hover::before {
  opacity: 1;
}
.student-card-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.student-avatar-section {
  position: relative;
  flex-shrink: 0;
}
.student-avatar-modern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-circle-modern {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  position: relative;
  z-index: 2;
}
.avatar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  border: 2px solid rgba(249, 115, 22, 0.2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  z-index: 1;
}
.avatar-text-modern {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.status-indicator-modern {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 3;
}
.status-indicator-modern.online {
  background: #10b981;
}
.status-indicator-modern.offline {
  background: #ef4444;
}
.status-indicator-modern.unknown {
  background: #6b7280;
}
.status-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}
.student-info-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.student-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.student-name-modern {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, #1e293b, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.student-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05));
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  flex-shrink: 0;
}
.student-badge .badge-icon {
  font-size: 0.8rem;
}
.student-badge .badge-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: #f97316;
}
.student-details-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.detail-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.detail-icon {
  font-size: 0.9rem;
  opacity: 0.7;
}
.detail-label {
  color: #64748b;
  font-weight: 500;
}
.detail-value {
  color: #1e293b;
  font-weight: 600;
}
.student-actions-section {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.action-btn-modern {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.action-btn-modern.primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.action-btn-modern.secondary {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.action-btn-modern:hover {
  transform: scale(1.1);
}
.action-btn-modern.primary:hover {
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}
.action-btn-modern.secondary:hover {
  background: #f97316;
  color: white;
  border-color: #f97316;
}
.action-btn-modern svg {
  width: 18px;
  height: 18px;
}
.status-text {
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
}
.status-text.at-school {
  background: #dcfce7;
  color: #166534;
}
.status-text.outside-school {
  background: #fef2f2;
  color: #991b1b;
}
.status-text.unknown {
  background: #f3f4f6;
  color: #374151;
}
/* Modern No Students */
.modern-no-students {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  gap: 2rem;
}
.no-students-animation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-students-icon {
  font-size: 4rem;
  opacity: 0.6;
  animation: float 3s ease-in-out infinite;
}
.empty-state-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.decoration-circle {
  position: absolute;
  border: 2px solid rgba(249, 115, 22, 0.2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.decoration-circle:nth-child(1) {
  width: 100px;
  height: 100px;
  top: -50px;
  left: -50px;
  animation-delay: 0s;
}
.decoration-circle:nth-child(2) {
  width: 80px;
  height: 80px;
  top: -40px;
  left: -40px;
  animation-delay: 0.5s;
}
.decoration-circle:nth-child(3) {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  animation-delay: 1s;
}
.no-students-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}
.no-students-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.no-students-description {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}
.no-students-actions {
  margin-top: 1rem;
}
/* Legacy Students Page Styles (keeping for compatibility) */
.students-page {
  padding: 1.5rem;
  background: #f8fafc;
  min-height: 100vh;
}
.students-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 2rem;
}
.page-title-section {
  flex: 1;
}
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}
.students-stats {
  display: flex;
  gap: 1rem;
}
.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 150px;
}
.stat-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 12px;
  color: white;
}
.stat-info {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.students-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.class-section {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.class-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
}
.class-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}
.class-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.class-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.class-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.class-details {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.class-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.025em;
}
.class-stats {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}
.class-status {
  display: flex;
  align-items: center;
}
.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge.active {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.status-badge.inactive {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}
.students-grid {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.student-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
}
.student-card:hover {
  border-color: #f97316;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
  transform: translateY(-2px);
}
.student-avatar {
  position: relative;
  flex-shrink: 0;
}
.avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
}
.status-indicator.online {
  background: #22c55e;
}
.status-indicator.offline {
  background: #ef4444;
}
.status-indicator.unknown {
  background: #6b7280;
}
.student-info {
  flex: 1;
  min-width: 0;
}
.student-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.student-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
}
.student-id {
  font-size: 0.75rem;
  color: #64748b;
  font-family: 'Courier New', monospace;
}
.student-status {
  font-size: 0.875rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.student-actions {
  flex-shrink: 0;
}
.action-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
}
.action-btn:hover {
  background: #f97316;
  color: white;
  transform: scale(1.05);
}
.action-btn svg {
  width: 16px;
  height: 16px;
}
.no-students {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.no-students-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.no-students h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}
.no-students p {
  color: #64748b;
  margin: 0;
}
.loading-container {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e2e8f0;
  border-top: 4px solid #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Basit Sınıf Kartları Stilleri */
.classes-section-simple {
  margin: 1.5rem 0;
}
.section-header-simple {
  margin-bottom: 1rem;
}
.section-header-simple h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}
.loading-container-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #6b7280;
}
.loading-spinner-simple {
  width: 24px;
  height: 24px;
  border: 2px solid #f3f4f6;
  border-top: 2px solid #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.5rem;
}
.simple-classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.simple-class-card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}
.simple-class-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.simple-class-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.class-icon-simple {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 8px;
  color: white;
}
.class-info-simple {
  flex: 1;
}
.class-name-simple {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}
.class-details-simple {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}
.class-status-simple {
  flex-shrink: 0;
}
.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}
.status-badge.active {
  background: #dcfce7;
  color: #166534;
}
.status-badge.inactive {
  background: #f3f4f6;
  color: #6b7280;
}
.simple-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}
.stat-item-simple {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}
.stat-icon-simple {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}
.stat-text-simple {
  font-size: 0.85rem;
  color: #374151;
  font-weight: 500;
}
.students-list-simple {
  margin-top: 0.75rem;
}
.students-title-simple {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.students-grid-simple {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
}
.student-item-simple {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  background: #f9fafb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.student-item-simple:hover {
  background: #f3f4f6;
}
.student-avatar-simple {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}
.student-name-simple {
  font-size: 0.75rem;
  color: #374151;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.more-students {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  background: #e5e7eb;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}
.no-classes-simple {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}
.no-classes-icon-simple {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.no-classes-simple h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem 0;
}
.no-classes-simple p {
  font-size: 0.9rem;
  margin: 0;
}
/* Modern Teacher Header */
.modern-teacher-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
/* Left Section */
.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hamburger-icon span {
  width: 20px;
  height: 2px;
  background: #374151;
  border-radius: 1px;
  transition: all 0.3s ease;
}
.brand-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo {
  height: 60px;
  width: auto;
  filter: none;
  background: white;
  padding: 4px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.brand-info {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.2;
}
.brand-subtitle {
  font-size: 0.65rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Center Section */
.header-center {
  flex: 1;
  max-width: 500px;
  margin: 0 2rem;
}
.search-container {
  width: 100%;
}
.search-input-wrapper {
  position: relative;
  width: 100%;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #9ca3af;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  font-size: 0.875rem;
  color: #374151;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.search-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.search-input::placeholder {
  color: #9ca3af;
}
/* Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
/* User Profile */
.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}
/* Compact profile texts to avoid overflow */
.user-profile .profile-info {
  max-width: 220px;
  overflow: hidden;
}
.user-profile .profile-name,
.user-profile .profile-role {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-profile:hover {
  background: rgba(249, 115, 22, 0.05);
}
.profile-avatar {
  position: relative;
}
.avatar-circle {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.avatar-text {
  line-height: 1;
}
.status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}
.status-indicator.online {
  background: #10b981;
}
.profile-info {
  display: flex;
  flex-direction: column;
}
.profile-name { font-size: 0.9rem; font-weight: 600; color:#1f2937; line-height:1.2; }
.profile-role { font-size: 0.72rem; color:#6b7280; font-weight:500; }
.profile-menu {
  position: relative;
}
.profile-dropdown-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
}
.profile-dropdown-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}
.profile-dropdown-btn.active {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}
.dropdown-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: all 0.2s ease;
}
.profile-dropdown-btn.active .dropdown-icon {
  transform: rotate(180deg);
}
.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  min-width: 240px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}
.profile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.dropdown-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}
.dropdown-avatar {
  position: relative;
}
.dropdown-avatar-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.dropdown-avatar-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.dropdown-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dropdown-user-name {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}
.dropdown-user-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
.dropdown-item:hover {
  background: rgba(249, 115, 22, 0.05);
  color: #f97316;
}
.dropdown-item.logout-item {
  color: #ef4444;
}
.dropdown-item.logout-item:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}
.dropdown-item-icon {
  width: 18px;
  height: 18px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropdown-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0;
}
/* Dashboard Body */
.dashboard-body {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 70px);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}
/* Desktop Sidebar */
/* Ultra Modern Desktop Sidebar */
.modern-desktop-sidebar {
  width: 280px;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.98) 50%,
    rgba(241, 245, 249, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  box-shadow: 
    8px 0 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.modern-desktop-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    #f97316 0%, 
    #ea580c 25%, 
    #dc2626 50%, 
    #b91c1c 75%, 
    #991b1b 100%
  );
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.modern-desktop-sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.02) 0%, 
    transparent 50%, 
    rgba(234, 88, 12, 0.02) 100%
  );
  pointer-events: none;
}
/* Ultra Modern Sidebar Header */
.sidebar-header {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(248, 250, 252, 0.8) 100%
  );
  backdrop-filter: blur(10px);
  position: relative;
}
.sidebar-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(249, 115, 22, 0.3) 50%, 
    transparent 100%
  );
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.sidebar-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 25px rgba(249, 115, 22, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.sidebar-logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 255, 255, 0.2) 50%, 
    transparent 70%
  );
  animation: shimmer 3s ease-in-out infinite;
}
.sidebar-logo-img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}
.sidebar-brand-info {
  flex: 1;
}
.sidebar-brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #1f2937;
}
.sidebar-brand-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
/* Ultra Modern Sidebar Navigation */
.modern-sidebar-nav {
  flex: 1;
  padding: 1.5rem 0;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}
.nav-section {
  padding: 0 1.5rem;
}
.nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
  position: relative;
}
.nav-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 12px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 2px;
}
.modern-nav-item {
  width: 100%;
  background: none;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
}
.modern-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}
.modern-nav-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.03) 0%, 
    transparent 50%, 
    rgba(234, 88, 12, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}
.modern-nav-item:hover::before {
  width: 5px;
}
.modern-nav-item:hover::after {
  opacity: 1;
}
.modern-nav-item:hover {
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.08) 0%, 
    rgba(234, 88, 12, 0.05) 100%
  );
  transform: translateX(6px) translateY(-1px);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
}
.modern-nav-item.active::before {
  width: 5px;
}
.modern-nav-item.active::after {
  opacity: 1;
}
.modern-nav-item.active {
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.12) 0%, 
    rgba(234, 88, 12, 0.08) 100%
  );
  transform: translateX(6px) translateY(-1px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.2);
}
.nav-item-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
}
.nav-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.1) 0%, 
    rgba(234, 88, 12, 0.08) 100%
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.nav-item-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px;
}
.modern-nav-item:hover .nav-item-icon {
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.2) 0%, 
    rgba(234, 88, 12, 0.15) 100%
  );
  transform: scale(1.08) rotate(2deg);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}
.modern-nav-item:hover .nav-item-icon::before {
  opacity: 0.1;
}
.modern-nav-item.active .nav-item-icon {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: scale(1.08) rotate(2deg);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}
.modern-nav-item.active .nav-item-icon::before {
  opacity: 0;
}
.icon-wrapper {
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}
.modern-nav-item:hover .icon-wrapper {
  transform: scale(1.1);
}
.modern-nav-item.active .icon-wrapper {
  transform: scale(1.1);
  opacity: 1;
}
.nav-item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.nav-item-label {
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
}
.nav-item-desc {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.3;
  font-weight: 500;
  transition: all 0.3s ease;
}
.modern-nav-item:hover .nav-item-label {
  color: #1f2937;
  transform: translateX(2px);
}
.modern-nav-item:hover .nav-item-desc {
  color: #6b7280;
}
.modern-nav-item.active .nav-item-label {
  color: #ea580c;
  font-weight: 800;
  transform: translateX(2px);
}
.modern-nav-item.active .nav-item-desc {
  color: #f97316;
  font-weight: 600;
}
.nav-item-indicator {
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  margin-right: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav-item-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.modern-nav-item.active .nav-item-indicator::before {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}
/* Ultra Modern Sidebar Footer */
.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(248, 250, 252, 0.8) 100%
  );
  backdrop-filter: blur(10px);
  position: relative;
}
.sidebar-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(249, 115, 22, 0.3) 50%, 
    transparent 100%
  );
}
.sidebar-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.08) 0%, 
    rgba(234, 88, 12, 0.05) 100%
  );
  border-radius: 16px;
  border: 1px solid rgba(249, 115, 22, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.sidebar-user-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.02) 0%, 
    transparent 50%, 
    rgba(234, 88, 12, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar-user-info:hover::before {
  opacity: 1;
}
.sidebar-user-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.25);
}
.sidebar-user-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 
    0 4px 15px rgba(249, 115, 22, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.sidebar-user-info:hover .sidebar-user-avatar {
  transform: scale(1.05);
  box-shadow: 
    0 6px 20px rgba(249, 115, 22, 0.5),
    0 0 0 3px rgba(255, 255, 255, 0.3);
}
.user-avatar-text {
  line-height: 1;
}
.sidebar-user-details {
  flex: 1;
  position: relative;
  z-index: 1;
}
.sidebar-user-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.sidebar-user-role {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-label {
  font-size: 1rem;
}
/* Main Content */
.main-content {
  background: #fefbf9;
  flex: 1;
  padding: 0;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
}
.teacher-dashboard-content {
  max-width: 1200px;
  margin: 0 auto;
}
/* Classes Section */
.classes-section {
  margin: 2rem 0;
}
.section-header {
  margin-bottom: 2rem;
  text-align: center;
}
.section-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}
.section-header p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
/* Modern Classes Grid */
.modern-classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .modern-classes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .modern-class-card {
    border-radius: 16px;
  }
  
  .class-card-header {
    padding: 0.75rem 1rem 0.5rem;
    gap: 0.5rem;
  }
  
  .class-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    color: white;
  }
  
  .class-title {
    font-size: 1rem;
  }
  
  .class-subtitle {
    font-size: 0.75rem;
  }
  
  .class-stats-modern {
    padding: 0.5rem 1rem;
  }
  
  .stats-row {
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .stat-modern {
    padding: 0.5rem;
    gap: 0.3rem;
  }
  
  .stat-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    background: rgba(249, 115, 22, 0.15);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.2);
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.6rem;
  }
  
  .students-present {
    padding: 0.5rem 1rem;
  }
  
  .students-header {
    margin-bottom: 0.5rem;
  }
  
  .students-title {
    font-size: 0.8rem;
  }
  
  .students-count {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
  }
  
  .student-labels {
    gap: 0.3rem;
  }
  
  .student-label {
    padding: 0.25rem 0.4rem;
    gap: 0.25rem;
  }
  
  .student-avatar {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
  
  .student-name {
    font-size: 0.65rem;
  }
  
  .class-footer {
    padding: 0.5rem 1rem;
  }
  
  .attendance-summary {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .attendance-item {
    gap: 0.3rem;
  }
  
  .attendance-icon {
    font-size: 0.8rem;
  }
  
  .attendance-text {
    font-size: 0.7rem;
  }
}
.class-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.9) 100%
  );
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.class-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
}
.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(249, 115, 22, 0.2);
}
.class-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.class-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}
.class-title h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}
.class-name {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}
.class-stats {
  margin-bottom: 1.5rem;
}
.stat-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background: rgba(249, 115, 22, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-align: center;
}
.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}
.stat-value.attendance {
  color: #10b981;
}
.stat-value.current {
  color: #3b82f6;
}
.stat-value.rate {
  color: #f97316;
}
.class-progress {
  margin-top: 1rem;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}
.progress-text {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
  display: block;
}
/* Loading States */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #6b7280;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(249, 115, 22, 0.1);
  border-top: 3px solid #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* No Classes State */
.no-classes {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(248, 250, 252, 0.6) 100%
  );
  border-radius: 20px;
  border: 2px dashed rgba(249, 115, 22, 0.2);
}
.no-classes-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.no-classes h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem 0;
}
.no-classes p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}
/* Modern Class Card */
.modern-class-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(248, 250, 252, 0.95) 100%
  );
  border-radius: 20px;
  padding: 0;
  box-shadow: 
    0 2px 16px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.modern-class-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
}
.modern-class-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(249, 115, 22, 0.15);
}
/* Class Card Header */
.class-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.08);
}
.class-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.class-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
  position: relative;
  z-index: 2;
  color: white;
}
.class-status-indicator {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.3);
  animation: pulse 2s ease-in-out infinite;
}
.class-info {
  flex: 1;
}
.class-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.2rem 0;
  line-height: 1.2;
}
.class-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
}
.class-capacity {
  background: rgba(249, 115, 22, 0.08);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(249, 115, 22, 0.15);
}
.capacity-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #f97316;
}
/* Modern Stats */
.class-stats-modern {
  padding: 0.75rem 1.25rem;
}
.stats-row {
  display: flex;
  gap: 0.5rem;
}
.stat-modern {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  background: rgba(249, 115, 22, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(249, 115, 22, 0.08);
  transition: all 0.3s ease;
}
.stat-modern:hover {
  background: rgba(249, 115, 22, 0.08);
  transform: translateY(-1px);
}
.stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: rgba(249, 115, 22, 0.15);
  color: #ea580c;
  border: 1px solid rgba(249, 115, 22, 0.2);
}
.stat-icon.at-school {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.stat-icon.outside {
  background: rgba(107, 114, 128, 0.15);
  color: #4b5563;
  border: 1px solid rgba(107, 114, 128, 0.2);
}
.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1;
}
.stat-number.at-school {
  color: #10b981;
}
.stat-number.outside {
  color: #6b7280;
}
.stat-label {
  font-size: 0.65rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Students Present Section */
.students-present {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(249, 115, 22, 0.08);
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.04) 0%, 
    rgba(34, 197, 94, 0.02) 100%
  );
}
.students-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.students-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #10b981;
}
.students-count {
  font-size: 0.7rem;
  color: #059669;
  font-weight: 500;
  background: rgba(16, 185, 129, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
}
.student-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.student-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  transition: all 0.3s ease;
}
.student-label:hover {
  background: rgba(16, 185, 129, 0.12);
  transform: translateY(-1px);
}
.student-avatar {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.25);
}
.student-name {
  font-size: 0.7rem;
  font-weight: 500;
  color: #065f46;
}
/* Class Footer */
.class-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(249, 115, 22, 0.08);
  background: rgba(249, 115, 22, 0.02);
}
.attendance-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.attendance-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.attendance-icon {
  font-size: 0.9rem;
}
.attendance-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}
/* Animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
.welcome-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.welcome-section h2 {
  font-size: 2rem;
  color: #ea580c;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.welcome-section p {
  color: #64748b;
  font-size: 1.1rem;
  margin: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
.stat-icon {
  font-size: 2.5rem;
  color: #f97316;
}
.stat-info h3 {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ea580c;
  margin: 0;
}
.quick-actions {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.quick-actions h3 {
  color: #ea580c;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.action-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}
.btn-icon {
  font-size: 1.2rem;
}
/* Modern Mobile Bottom Navigation */
.modern-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0.5rem 0.5rem;
  z-index: 100;
  box-sizing: border-box;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}
.modern-mobile-nav-item {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 500;
  position: relative;
  min-height: 60px;
}
.modern-mobile-nav-item:hover {
  background: rgba(249, 115, 22, 0.08);
  color: #ea580c;
  transform: translateY(-2px);
}
.modern-mobile-nav-item.active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(234, 88, 12, 0.15) 100%);
  color: #ea580c;
  transform: translateY(-2px);
}
.modern-mobile-nav-item.menu-item.active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(234, 88, 12, 0.2) 100%);
}
.mobile-nav-icon-container {
  width: 32px;
  height: 32px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.modern-mobile-nav-item:hover .mobile-nav-icon-container {
  background: rgba(249, 115, 22, 0.2);
  transform: scale(1.1);
}
.modern-mobile-nav-item.active .mobile-nav-icon-container {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.mobile-nav-icon {
  font-size: 1.1rem;
  transition: all 0.3s ease;
  color: #6b7280;
}
.modern-mobile-nav-item.active .mobile-nav-icon {
  color: white;
}
.mobile-nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  transition: all 0.3s ease;
}
.modern-mobile-nav-item.active .mobile-nav-label {
  color: #ea580c;
  font-weight: 700;
}
.mobile-nav-indicator {
  position: absolute;
  top: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #f97316;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.6);
}
/* Mobile Bottom Menu Modal */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}
.mobile-bottom-menu {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mobile-menu-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
}
.menu-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu-header-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.menu-header-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}
.menu-header-text p {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}
.menu-close-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-close-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}
.menu-close-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.mobile-menu-content {
  flex: 1;
  padding: 1rem 1.5rem 1.5rem;
  overflow-y: auto;
}
.menu-section {
  margin-bottom: 1rem;
}
.menu-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.menu-items-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu-item {
  background: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  text-align: left;
  width: 100%;
  position: relative;
}
.mobile-menu-item:hover {
  background: rgba(249, 115, 22, 0.05);
  transform: translateX(4px);
}
.mobile-menu-item.active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(234, 88, 12, 0.1) 100%);
  transform: translateX(4px);
}
.menu-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.mobile-menu-item:hover .menu-item-icon {
  background: rgba(249, 115, 22, 0.2);
  transform: scale(1.05);
}
.mobile-menu-item.active .menu-item-icon {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.menu-item-icon span {
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.mobile-menu-item.active .menu-item-icon span {
  filter: brightness(0) invert(1);
}
.menu-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.menu-item-label {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.menu-item-desc {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.2;
  font-weight: 500;
}
.mobile-menu-item.active .menu-item-label {
  color: #ea580c;
  font-weight: 700;
}
.mobile-menu-item.active .menu-item-desc {
  color: #f97316;
}
.menu-item-indicator {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.menu-item-indicator svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}
/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.mobile-sidebar-overlay.open .mobile-sidebar {
  transform: translateX(0);
}
.mobile-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.1);
  margin-bottom: 1rem;
}
.mobile-sidebar-header h3 {
  color: #ea580c;
  margin: 0;
  font-size: 1.2rem;
}
.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
}
.mobile-sidebar-item {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  color: #64748b;
  text-align: left;
  width: 100%;
}
.mobile-sidebar-item:hover {
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
}
.mobile-sidebar-item.active {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}
.mobile-sidebar-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}
.mobile-sidebar-label {
  font-size: 1rem;
}
/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-center {
    display: none;
  }
  
  
  .profile-info {
    display: none;
  }
  
  .modern-desktop-sidebar {
    display: none;
  }
  
  .modern-mobile-bottom-nav {
    display: flex;
  }
  
  /* Modern Teacher Header - Mobile Responsive */
  .modern-teacher-header {
    padding: 0.5rem 0;
    min-height: 55px;
    background: linear-gradient(135deg, #ffffff 0%, #fef7f0 100%);
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.1);
  }
  
  .header-container {
    padding: 0 0.5rem;
    justify-content: space-between;
    align-items: center;
    height: auto;
    min-height: 45px;
  }
  
  .header-left {
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
  }
  
  .mobile-menu-toggle {
    padding: 0.3rem;
    flex-shrink: 0;
  }
  
  .hamburger-icon {
    width: 18px;
    height: 14px;
  }
  
  .hamburger-icon span {
    height: 2px;
    background: #f97316;
  }
  
  .brand-section {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.3rem;
    min-width: 0;
    flex: 1;
  }
  
  .brand-logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* Şifre Seçenekleri Stilleri */
  .password-type-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
  }

  .radio-option:hover {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.02);
  }

  .radio-option input[type="radio"] {
    display: none;
  }

  .radio-option input[type="radio"]:checked + .radio-label {
    color: #f97316;
  }

  .radio-option input[type="radio"]:checked {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.05);
  }

  .radio-option:has(input[type="radio"]:checked) {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.05);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  }

  .radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    color: #374151;
    transition: color 0.3s ease;
  }

  .radio-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
  }

  .radio-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .radio-text strong {
    font-weight: 600;
    font-size: 0.95rem;
  }

  .radio-text small {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .brand-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f97316;
  }
  
  .brand-subtitle {
    display: none;
  }
  
  .header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 2;
    margin: 0 0.5rem;
  }
  
  .search-container {
    width: 100%;
    max-width: 200px;
  }
  
  .search-input-wrapper {
    background: rgba(249, 115, 22, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: 12px;
    padding: 0.4rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .search-input-wrapper:focus-within {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  }
  
  .search-icon {
    width: 16px;
    height: 16px;
    color: #f97316;
  }
  
  .search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.8rem;
    color: #1f2937;
    outline: none;
  }
  
  .search-input::placeholder {
    color: #9ca3af;
    font-size: 0.75rem;
  }
  
  .header-right {
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
  }
  
  .profile-avatar .avatar-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  }
  
  .avatar-text {
    font-size: 0.7rem;
    color: white;
  }
  
  .profile-dropdown-btn {
    padding: 0.4rem;
  }
  
  .dropdown-icon {
    width: 14px;
    height: 14px;
    color: #6b7280;
  }
  
  .mobile-menu-overlay {
    display: flex;
  }
  
  .main-content {
    padding: 1rem;
    padding-bottom: 80px;
    display: flex;
    justify-content: center;
        
  }
  
  .header-container {
    padding: 0 1rem;
    height: 60px;
  }
  
  .brand-title {
    font-size: 0.9rem;
  }
  
  .brand-subtitle {
    font-size: 0.6rem;
    display: none;
  }
  
  .header-right {
    flex-shrink: 0;
  }
  
  .user-profile {
    padding: 0.3rem 0.5rem;
    gap: 0.5rem;
  }
  
  .profile-avatar {
    width: 32px;
    height: 32px;
  }
  
  .avatar-circle {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }
  
  .profile-name {
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  .profile-role {
    font-size: 0.7rem;
  }
  
  .profile-dropdown {
    min-width: 200px;
    right: -10px;
  }
  
  .dropdown-header {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .dropdown-avatar-circle {
    width: 40px;
    height: 40px;
  }
  
  .dropdown-avatar-text {
    font-size: 1rem;
  }
  
  .dropdown-user-name {
    font-size: 0.9rem;
  }
  
  .dropdown-user-role {
    font-size: 0.75rem;
  }
  
  .profile-dropdown-btn {
    display: none;
  }
  
  /* Ana İçerik Arama - Mobil Responsive */
  .search-section {
    padding: 0.5rem 0;
  }
  
  .search-input-main {
    padding: 0.6rem 0.8rem 0.6rem 2.2rem;
    font-size: 0.85rem;
  }
  
  .search-icon-main {
    left: 0.8rem;
    width: 16px;
    height: 16px;
  }
  
  .search-input-main::placeholder {
    font-size: 0.8rem;
  }
  
  /* Öğrenciler Sayfası - Mobil Responsive */
  /* Modern Students Page Mobile */
  .modern-students-page {
    padding: 0;
  }
  
  .students-hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-icon {
    font-size: 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-stat-card {
    min-width: auto;
    padding: 1rem;
  }
  
  .hero-stat-card .stat-number-modern {
    font-size: 1.5rem;
  }
  
  .modern-students-content {
    padding: 1rem;
    gap: 1.5rem;
  }
  
  .modern-class-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .class-header-left {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .class-stats-modern {
    justify-content: center;
    gap: 1rem;
  }
  
  .students-hero-section {
    padding: 3rem 1rem;
    min-height: 400px;
  }
  
  .hero-header {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .hero-icon {
    font-size: 4rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.5rem;
  }
  
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
    max-width: none;
  }
  
  .mini-class-card {
    margin-bottom: 0;
  }
  
  .mini-class-header {
    padding: 1rem;
  }
  
  .mini-class-stats {
    padding: 0.75rem 1rem;
  }
  
  .mini-students-preview {
    padding: 1rem;
  }
  
  .modern-students-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .student-card-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .student-name-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .student-actions {
    align-self: center;
  }
  
  .modern-no-students {
    padding: 2rem 1rem;
  }
  
  .no-students-icon {
    font-size: 3rem;
  }
  
  .no-students-title {
    font-size: 1.25rem;
  }
  
  .no-students-description {
    font-size: 0.9rem;
  }

  /* Legacy Students Page Mobile */
  .students-page {
    padding: 1rem;
  }
  
  .students-page-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .students-stats {
    flex-direction: column;
    width: 100%;
  }
  
  .stat-card {
    min-width: auto;
    padding: 1rem;
  }
  
  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.25rem;
  }
  
  .class-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  
  .class-info {
    width: 100%;
  }
  
  .class-status {
    align-self: flex-end;
  }
  
  .students-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .student-card {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .avatar-circle {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  
  .student-name {
    font-size: 0.9rem;
  }
  
  .student-details {
    gap: 0.125rem;
  }
  
  .student-id {
    font-size: 0.7rem;
  }
  
  .student-status {
    font-size: 0.8rem;
  }
  
  .action-btn {
    width: 32px;
    height: 32px;
  }
  
  .action-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .no-students {
    padding: 2rem 1rem;
  }
  
  .no-students-icon {
    font-size: 3rem;
  }
  
  .no-students h3 {
    font-size: 1.25rem;
  }
  
  .loading-container {
    padding: 2rem 1rem;
  }
  
  /* Modern Dashboard - Mobil Responsive */
  .modern-dashboard-home {
    padding: 1rem;
  }
  
  .hero-welcome-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .welcome-main {
    gap: 1.5rem;
  }
  
  
  .typewriter-text {
    font-size: 1rem;
  }
  
  .teacher-label {
    font-size: 0.8rem;
  }
  
  .welcome-title {
    font-size: 1.8rem;
    align-items: center;
  }
  
  .teacher-badge {
    padding: 0.5rem 1rem;
    margin-top: 0.75rem;
  }
  
  .badge-text {
    font-size: 0.8rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card-modern {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .stat-icon-modern {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .stat-number-modern {
    font-size: 1.5rem;
  }
  
  .stat-description-modern {
    font-size: 0.7rem;
  }
  
  .section-title-modern {
    font-size: 1.25rem;
  }
  
  .actions-grid-modern {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .action-card-modern {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .action-icon-modern {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .action-content-modern h3 {
    font-size: 1rem;
  }
  
  .action-content-modern p {
    font-size: 0.8rem;
  }
  
  .classes-grid-modern {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .class-card-modern {
    padding: 1rem;
  }
  
  .class-header-modern {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .class-icon-modern {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .class-name-modern {
    font-size: 1rem;
  }
  
  .class-details-modern {
    font-size: 0.8rem;
  }
  
  .class-stats-modern {
    gap: 0.5rem;
  }
  
  .class-stat-item {
    padding: 0.5rem;
  }
  
  .class-stat-item .stat-label {
    font-size: 0.7rem;
  }
  
  .class-stat-item .stat-value {
    font-size: 1rem;
  }
  
  /* Basit Sınıf Kartları - Mobil Responsive */
  .simple-classes-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .simple-class-card {
    padding: 0.75rem;
  }
  
  .simple-class-header {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .class-icon-simple {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
  
  .class-name-simple {
    font-size: 0.9rem;
  }
  
  .class-details-simple {
    font-size: 0.8rem;
  }
  
  .simple-stats {
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.4rem 0;
  }
  
  .stat-text-simple {
    font-size: 0.8rem;
  }
  
  .students-grid-simple {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.4rem;
  }
  
  .student-item-simple {
    padding: 0.2rem;
    gap: 0.4rem;
  }
  
  .student-avatar-simple {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
  
  .student-name-simple {
    font-size: 0.7rem;
  }
  
  .more-students {
    font-size: 0.7rem;
    padding: 0.2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .welcome-section h2 {
    font-size: 1.5rem;
  }
  
  .welcome-section p {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
  }
  
  .teacher-info {
    display: none;
  }
  
  .logo-text h1 {
    font-size: 1.2rem;
  }
  
  .logo-text span {
    font-size: 0.8rem;
  }
}
/* Toast Bildirimi Stilleri */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10000;
  animation: slideInRight 0.3s ease-out;
  min-width: 300px;
  max-width: 500px;
}
.toast-notification.success {
  border-left: 4px solid #10b981;
}
.toast-notification.error {
  border-left: 4px solid #ef4444;
}
.toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.toast-message {
  flex: 1;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.4;
}
.toast-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}
.toast-close:hover {
  background: #f3f4f6;
  color: #374151;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* Modal Genişliği */
.modal-content-extra-large {
  max-width: 95vw;
  width: 1400px;
  max-height: 90vh;
  overflow-y: auto;
}
/* Zorunlu Alan Vurgusu */
.required-field {
  color: #ef4444;
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}
.required-input {
  border-left: 3px solid #fbbf24 !important;
}
.required-input:focus {
  border-left-color: #f59e0b !important;
}
/* Modern Öğrenciler Sayfası - Grid Tablo Sistemi */
.modern-students-page {
  padding: 2rem;
  background: #f9fafb;
  min-height: calc(100vh - 200px);
}
.students-page-header {
  margin-bottom: 2rem;
}
.students-page-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}
.students-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.students-stats .stat-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.students-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 0.5rem;
}
.students-stats .stat-label {
  display: block;
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}
.students-grid-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.class-table-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.class-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border-bottom: 2px solid #fed7aa;
}
.class-table-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.class-table-title .class-icon {
  font-size: 2rem;
}
.class-table-title h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}
.class-table-stats {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.class-stat-badge {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  color: #7c2d12;
  font-size: 0.9rem;
}
.class-status-badge {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.class-status-badge.active {
  background: #dcfce7;
  color: #166534;
}
.class-status-badge.inactive {
  background: #fee2e2;
  color: #991b1b;
}
.students-table-wrapper {
  overflow-x: auto;
}
.students-table {
  width: 100%;
  border-collapse: collapse;
}
.students-table thead {
  background: #f9fafb;
}
.students-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e5e7eb;
}
.students-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s;
}
.students-table tbody tr:hover {
  background: #f9fafb;
}
.students-table tbody tr.at-school {
  background: #f0fdf4;
}
.students-table tbody tr.outside-school {
  background: #fef2f2;
}
.students-table td {
  padding: 1rem;
  vertical-align: middle;
}
.student-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.student-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar-text {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}
.status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
}
.status-indicator.online {
  background: #10b981;
}
.status-indicator.offline {
  background: #ef4444;
}
.student-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
}
.student-number {
  color: #6b7280;
  font-weight: 500;
}
.status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}
.status-badge.at-school {
  background: #dcfce7;
  color: #166534;
}
.status-badge.outside-school {
  background: #fee2e2;
  color: #991b1b;
}
.class-name {
  color: #6b7280;
  font-weight: 500;
}
/* E-OKUL Notlar Sekmesi */
.eokul-notes-section {
  padding: 2rem;
  background: #f9fafb;
  min-height: calc(100vh - 200px);
}
.eokul-notes-section .section-header {
  margin-bottom: 2rem;
}
.eokul-notes-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}
.eokul-notes-section .section-header p {
  color: #6b7280;
  font-size: 1rem;
}
.view-toggle-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.view-toggle-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}
.view-toggle-btn:hover {
  border-color: #f97316;
  color: #f97316;
  background: #fff7ed;
}
.view-toggle-btn.active {
  border-color: #f97316;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  color: #7c2d12;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}
.student-search-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.search-input-wrapper {
  position: relative;
  margin-bottom: 2rem;
}
.student-search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s;
}
.student-search-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.clear-search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #374151;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}
.note-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s;
}
.note-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.note-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.note-student-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
}
.note-student-details {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}
.note-date {
  font-size: 0.9rem;
  color: #9ca3af;
  font-weight: 500;
}
.note-text {
  margin-bottom: 1rem;
  color: #374151;
  line-height: 1.6;
}
.note-image {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}
.note-image img {
  width: 100%;
  height: auto;
  display: block;
}
.note-footer {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.note-upload-date {
  font-size: 0.85rem;
  color: #9ca3af;
}
.parents-with-notes-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.parents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.parent-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.parent-card:hover {
  border-color: #f97316;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
  transform: translateY(-2px);
}
.parent-card-header {
  margin-bottom: 1rem;
}
.parent-student-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
}
.parent-student-details {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}
.parent-card-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .teacher-header {
    padding: 0.75rem 1rem;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .teacher-nav {
    padding: 0 1rem;
    overflow-x: auto;
  }

  .nav-container {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .teacher-main {
    padding: 1rem;
  }

  .teacher-dashboard-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .classes-grid-modern,
  .students-grid-modern {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .student-card-modern {
    padding: 1rem;
  }

  .student-card-modern .student-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .student-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .manual-actions-toolbar {
    grid-template-columns: 1fr;
  }
}
.parent-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.stat-icon {
  font-size: 1.5rem;
}
.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f97316;
}
.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
}
.parent-card-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.view-notes-btn {
  color: #f97316;
  font-weight: 600;
  font-size: 0.9rem;
}
/* Responsive */
@media (max-width: 768px) {
  .modern-students-page {
    padding: 1rem;
  }

  .students-stats {
    grid-template-columns: 1fr;
  }

  .class-table-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .students-table {
    font-size: 0.85rem;
  }

  .students-table th,
  .students-table td {
    padding: 0.75rem 0.5rem;
  }

  .notes-grid,
  .parents-grid {
    grid-template-columns: 1fr;
  }

  .view-toggle-buttons {
    flex-direction: column;
  }
}/* Modern Dashboard Header - Yeni Tasarım */
.modern-dashboard-header {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 1rem 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Arama Bölümü */
.header-search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  background-color: white;
  transition: all 0.2s ease;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
}

/* Arama Sonuçları */
.search-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
}

.search-result-group {
  padding: 0.5rem 0;
}

.search-result-group-title {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #f8fafc;
}

.search-result-item {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-result-item:hover {
  background-color: #f1f5f9;
}

.search-result-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0f2fe;
  color: #0284c7;
  border-radius: 8px;
  font-size: 1rem;
}

.search-result-content {
  flex: 1;
}

.search-result-title {
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.search-result-description {
  font-size: 0.85rem;
  color: #64748b;
}

.search-no-results {
  padding: 1.5rem;
  text-align: center;
  color: #64748b;
}

/* Kullanıcı Bölümü */
.header-user {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-action-button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #64748b;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.header-action-button:hover {
  background-color: #f8fafc;
  color: #3b82f6;
  border-color: #bfdbfe;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #ef4444;
  color: white;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 2px solid white;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-profile:hover {
  background-color: #f1f5f9;
}

.user-avatar-modern {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}

.avatar-status.online {
  background-color: #10b981;
}

.user-info-modern {
  display: flex;
  flex-direction: column;
}

.user-name-modern {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.user-role-modern {
  font-size: 0.8rem;
  color: #64748b;
}

/* Çıkış Butonu */
.logout-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.logout-btn-modern:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #ef4444;
}

.logout-icon-modern {
  font-size: 1.1rem;
}

.logout-text {
  display: block;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .header-container {
    padding: 0.5rem 1rem;
  }
  
  .header-search {
    display: none;
  }
  
  .header-actions {
    gap: 0.5rem;
  }
  
  .user-info-modern {
    display: none;
  }
}

/* Mobil menü butonu */
.mobile-menu-toggle {
  display: none;
}

/* Modern Arama Stilleri */
.search-input-modern {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input-modern::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-input-modern:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.search-icon-modern {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 1;
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 1;
}

.search-clear-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

/* Modern Arama Sonuçları */
.search-results-modern {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 8px;
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-item-modern:hover {
  background: rgba(59, 130, 246, 0.1);
}

.search-result-item-modern:last-child {
  border-bottom: none;
}

/* Logo Stilleri */
.brand-logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
}

/* User Profile Stilleri */
.user-profile {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.user-profile:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.user-avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: none;
  transition: all 0.3s ease;
}

.user-profile:hover .user-avatar-image {
  transform: scale(1.05);
}

.user-info-modern {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-name-modern {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}

.user-role-modern {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    color: #64748b;
  }
  
  .mobile-menu-toggle:hover {
    background-color: #f8fafc;
    color: #3b82f6;
  }
}
/* Card Management Styles */
.card-management {
  padding: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card-management .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.card-management .header-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.card-management .header-content p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.5;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card-stats .stat-item {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex: 1;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.card-stats .stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.card-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.card-stats .stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.filters-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #f8fafc;
  transition: all 0.3s ease;
  color: #1e293b;
}

.search-box input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #64748b;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.filter-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.cards-table-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.cards-table {
  width: 100%;
  border-collapse: collapse;
}

.cards-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  text-align: left;
  padding: 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid #e2e8f0;
}

.cards-table td {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.95rem;
}

.cards-table tr:last-child td {
  border-bottom: none;
}

.cards-table tr:hover {
  background: #f8fafc;
}

.student-info {
  display: flex;
  flex-direction: column;
}

.student-name {
  font-weight: 500;
  color: #1e293b;
}

.student-number {
  font-size: 0.8rem;
  color: #64748b;
}

.not-assigned {
  color: #94a3b8;
  font-style: italic;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.action-btn.view {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.action-btn.view:hover {
  background: rgba(59, 130, 246, 0.2);
}

.action-btn.assign {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.action-btn.assign:hover {
  background: rgba(139, 92, 246, 0.2);
}

.empty-table {
  text-align: center;
  padding: 2rem !important;
  color: #94a3b8;
  font-style: italic;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-content.small {
  max-width: 500px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #1e293b;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f1f5f9;
  color: #ef4444;
}

.modal-body {
  padding: 1.5rem;
}

.card-details {
  margin-bottom: 2rem;
}

.card-details h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: #1e293b;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.detail-value {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 500;
}

.detail-value.active {
  color: #10b981;
}

.detail-value.inactive {
  color: #ef4444;
}

.assign-section {
  margin-bottom: 2rem;
}

.assign-section h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: #1e293b;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.assign-section p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

.student-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 1rem;
  color: #1e293b;
  background: #f8fafc;
}

.student-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.scan-history {
  margin-bottom: 1rem;
}

.scan-history h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: #1e293b;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.scans-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.scans-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem;
  font-size: 0.8rem;
  border-bottom: 1px solid #e2e8f0;
}

.scans-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}

.scan-type {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.scan-type.entry {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.scan-type.exit {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.no-scans {
  text-align: center;
  padding: 2rem;
  color: #94a3b8;
  font-style: italic;
}

.loading-spinner.small {
  width: 24px;
  height: 24px;
  border-width: 3px;
  margin: 1rem auto;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-help {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.5rem;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .card-stats {
    flex-wrap: wrap;
  }
  
  .card-stats .stat-item {
    flex: 1 0 calc(50% - 0.5rem);
  }
  
  .filters-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .cards-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .card-stats .stat-item {
    flex: 1 0 100%;
  }
}
/* Modern Student and Teacher Lists */

/* Common List Styles */
.modern-list-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.modern-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(to right, #f8fafc, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
}

.modern-list-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.modern-list-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.modern-list-search {
  position: relative;
  min-width: 300px;
}

.modern-list-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  background: white;
  transition: all 0.2s ease;
  color: #1e293b;
}

.modern-list-search input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modern-list-search .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1rem;
}

.modern-list-filters {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.modern-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.modern-filter-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: white;
  color: #1e293b;
  font-size: 0.9rem;
  min-width: 150px;
}

.modern-filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.modern-filter-button {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: white;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modern-filter-button:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.modern-filter-button.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* Table Styles */
.modern-table {
  width: 100%;
  border-collapse: collapse;
}

.modern-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  color: #64748b;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modern-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.95rem;
}

.modern-table tr:last-child td {
  border-bottom: none;
}

.modern-table tr:hover {
  background: #f8fafc;
}

/* Student/Teacher Card Styles */
.modern-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.modern-person-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.modern-person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.modern-person-header {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.modern-person-avatar {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
  position: relative;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.modern-person-info {
  flex: 1;
}

.modern-person-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

.modern-person-details {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modern-person-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.modern-person-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modern-stat-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.modern-stat-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

.modern-person-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.modern-person-status {
  font-size: 0.85rem;
  font-weight: 500;
}

.modern-status-active {
  color: #10b981;
}

.modern-status-inactive {
  color: #ef4444;
}

.modern-person-actions {
  display: flex;
  gap: 0.5rem;
}

.modern-action-button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.modern-action-button:hover {
  background: #f1f5f9;
  color: #3b82f6;
  border-color: #bfdbfe;
}

.modern-action-button.edit:hover {
  color: #3b82f6;
}

.modern-action-button.delete:hover {
  color: #ef4444;
}

.modern-action-button.view:hover {
  color: #8b5cf6;
}

/* Badges */
.modern-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.modern-badge-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.modern-badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.modern-badge-red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.modern-badge-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.modern-badge-yellow {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Pagination */
.modern-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.modern-page-info {
  font-size: 0.85rem;
  color: #64748b;
}

.modern-page-controls {
  display: flex;
  gap: 0.5rem;
}

.modern-page-button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modern-page-button:hover {
  background: #f1f5f9;
  color: #3b82f6;
  border-color: #bfdbfe;
}

.modern-page-button.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.modern-page-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .modern-list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .modern-list-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  
  .modern-list-search {
    min-width: 100%;
  }
  
  .modern-list-filters {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .modern-filter-group {
    width: 100%;
  }
  
  .modern-filter-select {
    flex: 1;
  }
  
  .modern-table {
    display: block;
    overflow-x: auto;
  }
}
.btn-view-all-details {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.btn-view-all-details .btn-icon {
  margin-right: 8px;
}

.btn-view-all-details:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.btn-manual-entry {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  margin-top: 10px !important;
}

.btn-manual-exit {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  margin-top: 10px !important;
}
/* Yeni Raporlar Sayfası Stilleri */
.new-reports-container {
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
  background: #f8fafc;
  min-height: 100vh;
}

/* Header */
.reports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content h1 {
  margin: 0;
  color: #1e293b;
  font-size: 28px;
  font-weight: 700;
}

.header-content p {
  margin: 5px 0 0 0;
  color: #64748b;
  font-size: 16px;
}

.refresh-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* İstatistik Kartları */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-card.primary {
  border-left-color: #3b82f6;
}

.stat-card.secondary {
  border-left-color: #8b5cf6;
}

.stat-card.success {
  border-left-color: #10b981;
}

.stat-card.info {
  border-left-color: #06b6d4;
}

.stat-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
}

.stat-card.secondary .stat-icon {
  background: rgba(139, 92, 246, 0.1);
}

.stat-card.success .stat-icon {
  background: rgba(16, 185, 129, 0.1);
}

.stat-card.info .stat-icon {
  background: rgba(6, 182, 212, 0.1);
}

.stat-content h3 {
  margin: 0 0 8px 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

/* Öğrenci İstatistikleri */
.student-stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.student-stat-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.student-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.student-stat-card.most-active {
  border-top: 4px solid #f59e0b;
}

.student-stat-card.least-active {
  border-top: 4px solid #ef4444;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 18px;
  font-weight: 600;
}

.period-badge {
  background: #e2e8f0;
  color: #64748b;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.student-info {
  text-align: center;
}

.student-name {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.student-details {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.student-number {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.student-grade {
  background: #dbeafe;
  color: #1e40af;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.activity-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
}

.count-number {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}

.count-label {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

/* Grafikler */
.charts-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.chart-container {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chart-container h3 {
  margin: 0 0 20px 0;
  color: #1e293b;
  font-size: 18px;
  font-weight: 600;
}

.no-chart-data {
  text-align: center;
  color: #64748b;
  padding: 40px;
  font-style: italic;
}

/* Loading ve Error States */
.reports-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #64748b;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e2e8f0;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.reports-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  color: #64748b;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.reports-error h3 {
  margin: 0 0 8px 0;
  color: #ef4444;
  font-size: 20px;
}

.reports-error p {
  margin: 0 0 20px 0;
  font-size: 16px;
}

.retry-btn {
  background: #ef4444;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.retry-btn:hover {
  background: #dc2626;
}

.reports-no-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  color: #64748b;
}

.no-data-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.reports-no-data h3 {
  margin: 0 0 8px 0;
  color: #1e293b;
  font-size: 20px;
}

.reports-no-data p {
  margin: 0;
  font-size: 16px;
}

.no-data {
  text-align: center;
  color: #64748b;
  font-style: italic;
  padding: 20px;
}

/* Son Güncelleme */
.last-update {
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .new-reports-container {
    padding: 15px;
  }
  
  .reports-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .stats-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .student-stats-section {
    grid-template-columns: 1fr;
  }
  
  .charts-section {
    grid-template-columns: 1fr;
  }
  
  .chart-container {
    min-width: 0;
  }
}
/* Nöbetçi Öğretmen Yönetimi Stilleri */
.duty-management-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #1e293b;
}

/* Header Section */
.duty-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.header-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.9;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Message */
.message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-left: 4px solid #047857;
}

.message.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-left: 4px solid #b91c1c;
}

/* Schedule Grid */
.duty-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Day Card */
.duty-day-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

.duty-day-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.day-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.day-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-info, .btn-add-teacher {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-info {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-info:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-add-teacher {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-add-teacher:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
}

/* Teachers List */
.teachers-list {
    padding: 1.5rem;
    min-height: 200px;
    color: #1e293b;
}

/* Location Slots */
.location-slot {
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    background: #f8fafc;
}

.location-slot h4 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.no-teacher-slot {
    text-align: center;
    padding: 1rem;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

.no-teacher-slot p {
    margin: 0;
    font-size: 0.9rem;
}

.teacher-duty-item {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    color: #1e293b;
}

.teacher-duty-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.teacher-select select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: #1e293b;
}

.teacher-select select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.duty-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.duty-details select,
.duty-details input {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
    color: #1e293b;
}

.duty-details select:focus,
.duty-details input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.time-inputs {
    display: flex;
    gap: 0.5rem;
}

.time-inputs input {
    flex: 1;
}

.btn-remove {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-remove:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
}

/* No Teachers State */
.no-teachers {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.no-teachers p {
    color: #64748b;
}

.no-teachers p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.btn-add-first {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-first:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
}

/* Actions */
.duty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-save-schedule, .btn-refresh {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-save-schedule {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-save-schedule:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

.btn-save-schedule:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-refresh {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.btn-refresh:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
}

/* Loading */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: #64748b;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-teacher-item {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.teacher-info h4 {
    margin: 0 0 0.25rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.teacher-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.duty-info {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.duty-info span {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.notes {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fef3c7;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #92400e;
}

/* Week Group Section (Cumartesi için) */
.week-group-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #bae6fd;
}

.week-group-title {
    margin: 0 0 1rem 0;
    color: #0c4a6e;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7dd3fc;
}

.week-info {
    font-size: 0.85rem;
    font-weight: 500;
    color: #0369a1;
    opacity: 0.8;
    font-style: italic;
}

.week-group-section .location-slot {
    margin-bottom: 1rem;
    background: white;
    border: 1px solid #bae6fd;
}

.week-group-section .location-slot h5 {
    margin: 0 0 0.75rem 0;
    color: #0c4a6e;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .duty-management-container {
        padding: 1rem;
    }
    
    .duty-schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .day-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .day-actions {
        justify-content: center;
    }
    
    .duty-details {
        grid-template-columns: 1fr;
    }
    
    .duty-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .duty-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}/* Modern Card Management Styles */

.modern-card-management {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

/* Modern Page Header */
.modern-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.header-text h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e40af;
  margin: 0;
  letter-spacing: -0.025em;
}

.header-text p {
  color: #64748b;
  margin: 0.5rem 0 0 0;
  font-size: 1rem;
}

.modern-add-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.modern-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* Error Message */
.modern-error-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  margin-bottom: 2rem;
  color: #dc2626;
}

.error-icon {
  font-size: 1.2rem;
}

.error-text {
  font-weight: 500;
}

/* Modern Stats Grid */
.modern-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #1e40af;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

/* Modern Filters */
.modern-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.search-container {
  flex: 1;
  max-width: 400px;
}

.search-input-wrapper {
  position: relative;
}

.modern-search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.modern-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
  color: #3b82f6;
}

.filter-tab.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-color: transparent;
}

.tab-icon {
  font-size: 1rem;
}

.tab-text {
  font-size: 0.9rem;
}

/* Modern Cards Grid */
.modern-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.modern-card-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modern-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.modern-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

/* Card Visual */
.card-visual {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.card-id {
  flex: 1;
}

.card-uid {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
  font-family: 'Courier New', monospace;
}

.card-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.card-status-indicator.active .status-dot {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.card-status-indicator.inactive .status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

/* Card Info */
.card-info {
  margin-bottom: 1.5rem;
}

.card-student {
  margin-bottom: 1rem;
}

.assigned-student {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.student-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.student-details {
  flex: 1;
}

.student-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.student-number {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.unassigned-student {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.unassigned-icon {
  font-size: 1.2rem;
}

.unassigned-text {
  color: #d97706;
  font-weight: 500;
}

.card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.stat-value {
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 600;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 0.75rem;
}

.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  height: 150px;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.action-btn.primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.action-btn.secondary {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.action-btn.secondary:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.action-btn.danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.action-btn.danger:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1rem;
}

.btn-text {
  font-size: 0.8rem;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: #94a3b8;
  font-size: 1rem;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-card-management {
    padding: 1rem;
  }
  
  .modern-page-header {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  
  .header-content {
    justify-content: center;
  }
  
  .modern-filters {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-container {
    max-width: none;
  }
  
  .filter-tabs {
    justify-content: center;
  }
  
  .modern-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .card-actions {
    flex-direction: column;
  }
  
  .action-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .modern-page-header {
    padding: 1.5rem;
  }
  
  .header-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .header-text h1 {
    font-size: 1.5rem;
  }
  
  .modern-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .modern-card-item {
    padding: 1rem;
  }
}

/* Kart Atama Tipi Seçici */
.assign-type-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.assign-type-selector label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
}

.assign-type-selector label:hover {
  color: #3b82f6;
}

.assign-type-selector input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.assign-type-selector input[type="radio"]:checked + span {
  color: #3b82f6;
  font-weight: 600;
}

/* Öğretmen Seçici */
.teacher-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

.teacher-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.teacher-select option {
  padding: 0.5rem;
}/* Modern Soft Next Lesson Card */
.next-lesson-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(148, 163, 184, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.next-lesson-card:hover {
  box-shadow: 0 8px 30px rgba(148, 163, 184, 0.12);
  border-color: #cbd5e1;
}

.next-lesson-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #a78bfa 0%, #c084fc 50%, #e879f9 100%);
  border-radius: 20px 20px 0 0;
}

.next-lesson-header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.next-lesson-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #475569;
}

.next-lesson-icon {
  font-size: 22px;
  color: #8b5cf6;
}

.next-lesson-time-badge {
  background: linear-gradient(135deg, #ddd6fe 0%, #e0e7ff 100%);
  color: #5b21b6;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #c4b5fd;
}

.next-lesson-time-badge.today {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border-color: #86efac;
}

.next-lesson-time-badge.future {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border-color: #93c5fd;
}

.next-lesson-content {
  padding: 24px;
  position: relative;
}

.next-lesson-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.lesson-main-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lesson-subject {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.lesson-class-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lesson-class {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #f59e0b;
}

.lesson-room {
  background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
  color: #0c4a6e;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #0288d1;
}

.lesson-time-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lesson-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.time-icon {
  font-size: 16px;
  color: #6b7280;
}

.time-until {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

.time-label {
  font-weight: 500;
}

.time-value {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #d1d5db;
}

/* Sonraki Dersler Listesi */
.upcoming-lessons-list {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.upcoming-lessons-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.upcoming-title-icon {
  font-size: 18px;
  color: #8b5cf6;
}

.upcoming-lessons-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upcoming-lesson-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.upcoming-lesson-list-item:hover {
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.upcoming-lesson-time-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  gap: 2px;
}

.upcoming-time {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.upcoming-duration {
  font-size: 11px;
  color: #6b7280;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.upcoming-lesson-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upcoming-subject {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

.upcoming-class {
  font-size: 13px;
  color: #64748b;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 500;
  width: fit-content;
}

.upcoming-lesson-day {
  display: flex;
  align-items: center;
}

.day-badge {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.day-badge.today {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border: 1px solid #86efac;
}

.day-badge.future {
  background: linear-gradient(135deg, #ddd6fe 0%, #e0e7ff 100%);
  color: #5b21b6;
  border: 1px solid #c4b5fd;
}

/* Ödev Durumu Bölümü */
.homework-status-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.homework-status-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.homework-title-icon {
  font-size: 18px;
  color: #f59e0b;
}

.homework-status-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.homework-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.homework-status-item:hover {
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.homework-class-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.homework-class-name {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

.homework-class-students {
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
}

.homework-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.homework-badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.homework-badge.overdue {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1px solid #fecaca;
}

.homework-badge.due-today {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  color: #ea580c;
  border: 1px solid #fdba74;
}

.homework-badge.due-tomorrow {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  border: 1px solid #fcd34d;
}

.homework-badge.due-soon {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0284c7;
  border: 1px solid #7dd3fc;
}

.homework-badge.no-homework {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Ödev Kontrol Edildi Butonu */
.action-btn.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: 1px solid #047857;
  transition: all 0.2s ease;
}

.action-btn.success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.action-btn.success:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Tamamlandı Badge */
.completed-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
}

.completed-icon {
  font-size: 16px;
}

.completed-text {
  font-size: 13px;
}

/* Tamamlanan Ödev Kartları */
.homework-card.completed-homework {
  opacity: 0.7;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #cbd5e1;
  position: relative;
}

.homework-card.completed-homework::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 12px 12px 0 0;
}

.homework-card.completed-homework .homework-title h3 {
  color: #64748b;
  text-decoration: line-through;
}

.homework-card.completed-homework .homework-description {
  color: #94a3b8;
}

.homework-card.completed-homework .homework-details {
  opacity: 0.8;
}

.homework-card.completed-homework .homework-actions {
  opacity: 0.6;
}

.homework-card.completed-homework .homework-actions .action-btn {
  pointer-events: none;
  opacity: 0.5;
}

/* Tamamlandı Status Badge */
.homework-status-badge.completed {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #16a34a;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}

/* Tamamlandı Time Status */
.homework-time-status.completed {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Ödev Detay Butonu */
.homework-detail-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: 1px solid #1d4ed8;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.homework-detail-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.homework-detail-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Ödev Detay Modalı */
.homework-detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.homework-detail-modal {
  background: white;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.homework-detail-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px 16px 0 0;
}

.homework-detail-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.homework-detail-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.homework-detail-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.homework-detail-modal-content {
  padding: 24px;
}

.homework-detail-section {
  margin-bottom: 32px;
}

.homework-detail-section:last-child {
  margin-bottom: 0;
}

.homework-detail-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}

.homework-detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.homework-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.homework-detail-label {
  font-weight: 600;
  color: #374151;
  min-width: 120px;
}

.homework-detail-value {
  color: #1e293b;
  text-align: right;
  flex: 1;
}

.homework-detail-timing {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.homework-detail-timing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.homework-detail-timing-label {
  font-weight: 600;
  color: #374151;
}

.homework-detail-timing-value {
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
}

.homework-detail-timing-value.overdue {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.homework-detail-timing-value.due-today {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fdba74;
}

.homework-detail-timing-value.normal {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.homework-detail-status {
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.homework-detail-status.completed {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.homework-detail-status.active {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.homework-detail-status.cancelled {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.homework-detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.homework-detail-stat {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.homework-detail-stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.homework-detail-stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.homework-detail-students {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.homework-detail-students-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.homework-detail-student {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}

.homework-detail-student:last-child {
  border-bottom: none;
}

.homework-detail-student-name {
  font-weight: 500;
  color: #1e293b;
}

.homework-detail-student-status {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  min-width: 100px;
}

.homework-detail-student-status.submitted {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.homework-detail-student-status.late {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fdba74;
}

.homework-detail-student-status.pending {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.homework-detail-student-grade {
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  min-width: 60px;
}

.upcoming-lesson-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.upcoming-lesson-item:hover {
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.upcoming-lesson-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #a78bfa 0%, #c084fc 100%);
}

.upcoming-lesson-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  gap: 2px;
}

.upcoming-time {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.upcoming-duration {
  font-size: 11px;
  color: #6b7280;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.upcoming-lesson-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upcoming-subject {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

.upcoming-class {
  font-size: 13px;
  color: #64748b;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 500;
  width: fit-content;
}

.upcoming-lesson-status {
  display: flex;
  align-items: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
}

.status-dot.upcoming {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.2);
}

.status-dot.current {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Loading Spinner */
.next-lesson-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 3rem 2rem;
  color: #64748b;
  font-size: 1rem;
  font-weight: 500;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-top: 2px solid #8b5cf6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .next-lesson-card {
    padding: 20px;
    margin: 20px 0;
  }
  
  .next-lesson-content {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .lesson-time-info {
    text-align: left;
    width: 100%;
  }
  
  .next-lesson-title {
    font-size: 16px;
  }
  
  .lesson-subject {
    font-size: 18px;
  }
}

/* Teacher Homeworks Styles */

.teacher-homeworks-container {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: calc(100vh - 200px);
  height: auto;
  overflow-y: auto;
}

.teacher-homeworks-container.main-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 3rem 2rem;
}

/* Main Menu */
.homeworks-main-menu {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.main-menu-header {
  text-align: center;
  margin-bottom: 3rem;
}

.main-menu-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}

.main-menu-header p {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
}

.main-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.main-menu-btn {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  width: 100%;
}

.main-menu-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

.main-menu-btn.primary {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  border-color: #ff6b35;
}

.main-menu-btn.primary:hover {
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.main-menu-btn.secondary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-color: #3b82f6;
}

.main-menu-btn.secondary:hover {
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.btn-icon-large {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  flex-shrink: 0;
}

.btn-content {
  flex: 1;
}

.btn-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.btn-content p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

.btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.btn-arrow.rotated {
  transform: rotate(180deg);
}

.sub-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sub-menu-btn {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

.sub-menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.sub-btn-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 12px;
  flex-shrink: 0;
}

.sub-btn-content {
  flex: 1;
}

.sub-btn-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

.sub-btn-content p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.sub-btn-arrow {
  font-size: 1.2rem;
  color: #64748b;
}

.back-btn {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 1rem;
}

.back-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(-2px);
}

/* Header */
.homeworks-header {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.homeworks-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.header-title h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-title p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
}

.add-homework-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1rem 2rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.add-homework-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-icon {
  font-size: 1.2rem;
}

/* Filters */
.homeworks-filters {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  min-width: 150px;
}

.filter-select:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Stats */
.homeworks-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  border-left: 4px solid #ff6b35;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 12px;
  color: white;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Homeworks List */
.homeworks-list {
  margin-top: 2rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: #374151;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: #6b7280;
  margin-bottom: 2rem;
}

.create-first-btn {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.create-first-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Homeworks Grid */
.homeworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
}

.homework-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid #f3f4f6;
}

.homework-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.homework-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.homework-title h3 {
  color: #1f2937;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.homework-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.homework-type {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.homework-difficulty {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.05);
}

.status-badge {
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.homework-content {
  padding: 1.5rem;
}

.homework-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.homework-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  color: #374151;
  font-weight: 600;
}

.homework-footer {
  padding: 1.5rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.homework-dates {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.date-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.date-label {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-value {
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
}

.date-value.overdue {
  color: #ef4444;
  font-weight: 700;
}

.homework-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
}

.stat-icon {
  font-size: 1.1rem;
}

.stat-value {
  font-weight: 600;
  color: #374151;
}

.homework-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.action-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.action-btn.primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.action-btn.secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.action-btn.secondary:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

/* Banners */
.overdue-banner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ef4444;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.due-soon-banner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f59e0b;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Loading and Error States */
.loading-container, .error-container {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #ff6b35;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-container h3 {
  color: #ef4444;
  margin-bottom: 0.5rem;
}

.retry-button {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.retry-button:hover {
  background: #e55a2b;
  transform: translateY(-2px);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  animation: fadeIn 0.3s ease-out;
  backdrop-filter: blur(8px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-content.large {
  max-width: 800px;
}

.modal-content.extra-large {
  max-width: 1200px;
  max-height: 95vh;
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-radius: 28px 28px 0 0;
}

.modal-header h2 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-close {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 107, 53, 0.1);
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.2);
  color: #ff6b35;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .modal-header {
    padding: 1rem;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
  }
  
  .modal-header h2 {
    font-size: 1.25rem;
  }
  
  .modal-close {
    padding: 0.5rem;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.25rem;
  }
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Form Styles */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  background: #f8fafc;
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.form-section-title {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff6b35;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.form-group label::before {
  content: '';
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 50%;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .form-group {
    margin-bottom: 1.25rem;
    gap: 0.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
}

.form-input, .form-textarea, .form-select {
  padding: 1rem 1.25rem;
  border: 2px solid rgba(229, 231, 235, 0.6);
  border-radius: 16px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.8);
  color: #374151;
  backdrop-filter: blur(10px);
  font-weight: 500;
  min-height: 48px;
  animation: slideInFromLeft 0.5s ease-out;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15), 0 4px 20px rgba(255, 107, 53, 0.1);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  color: #374151;
}

.form-input:hover, .form-textarea:hover, .form-select:hover {
  border-color: rgba(255, 107, 53, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .form-input, .form-textarea, .form-select {
    padding: 0.875rem 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 44px; /* Better touch target */
    border-radius: 12px;
  }
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #9ca3af;
}

.form-select option {
  color: #374151;
  background: white;
}

/* Modern Date Input Styles */
input[type="datetime-local"] {
  position: relative;
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

input[type="datetime-local"]:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

input[type="datetime-local"]:hover {
  border-color: #d1d5db;
}

/* Date input icon */
.form-group:has(input[type="datetime-local"]) {
  position: relative;
}

.form-group:has(input[type="datetime-local"])::after {
  content: "📅";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.2rem;
  opacity: 0.6;
}

/* Modern Homework Modal */
.modern-homework-modal {
  max-width: 900px;
  width: 95vw;
  max-height: 95vh;
  overflow-y: auto;
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(30px);
  animation: modalSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  margin: 1rem;
}

/* Mobile-first responsive modal */
@media (max-width: 768px) {
  .modern-homework-modal {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
  }
}

/* Stepper Modal Styles */
.stepper-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 0;
  animation: fadeIn 0.3s ease-out;
  backdrop-filter: blur(8px);
}

.stepper-modal-content {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  animation: slideInFromBottom 0.4s ease-out;
}

@media (min-width: 769px) {
  .stepper-modal-content {
    animation: fadeInScale 0.4s ease-out;
  }
}

@media (max-width: 768px) {
  .stepper-modal-content {
    animation: none;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
  }
}

@media (min-width: 769px) {
  .stepper-modal-overlay {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5vh;
  }
  
  .stepper-modal-content {
    width: 80vw;
    max-width: 800px;
    min-width: 600px;
    height: 80vh;
    min-height: 600px;
    max-height: 700px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    top: 0;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
  }
  
  .stepper-modal-content.fullscreen-modal {
    width: 95vw;
    max-width: 1400px;
    height: 90vh;
    min-height: 700px;
    max-height: 90vh;
    border-radius: 24px;
  }
  
  .stepper-modal-overlay.fullscreen {
    padding: 2rem;
  }
}

/* Fullscreen Modal Styles */
.stepper-modal-overlay.fullscreen {
  padding: 0;
}

.stepper-modal-content.fullscreen-modal {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (min-width: 769px) {
  .stepper-modal-content.fullscreen-modal {
    width: 95vw;
    max-width: 1400px;
    height: 90vh;
    min-height: 700px;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  
  .stepper-modal-overlay.fullscreen {
    padding: 2rem;
  }
}

@media (min-width: 1200px) {
  .stepper-modal-overlay {
    padding-top: 3vh;
  }
  
  .stepper-modal-content {
    width: 70vw;
    max-width: 900px;
    height: 75vh;
    max-height: 800px;
  }
}

/* Stepper Header */
.stepper-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  padding: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

@media (max-width: 768px) {
  .stepper-header {
    padding: 1rem 1.5rem;
  }
}

.stepper-progress {
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 3px;
  transition: width 0.4s ease;
  animation: none;
}

@media (max-width: 768px) {
  .progress-fill {
    animation: none;
    transition: width 0.3s ease;
  }
}

.step-indicators {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-indicator.active {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  transform: scale(1.1);
}

.step-indicator.current {
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

.step-number {
  font-weight: 700;
  font-size: 1rem;
}

.stepper-title h2 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .stepper-title h2 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
}

.step-description {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .step-description {
    font-size: 0.9rem;
  }
}

.stepper-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 107, 53, 0.1);
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-close:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.2);
  color: #ff6b35;
  transform: scale(1.1);
}

/* Stepper Body */
.stepper-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .stepper-body {
    padding: 1rem;
    padding-bottom: 0;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .stepper-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Step Content */
.step-content {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.5s ease-out;
}

@media (max-width: 768px) {
  .step-content {
    max-width: 100%;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .step-content {
    max-width: 700px;
    margin: 0 auto;
  }
}

.step-header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .step-header {
    margin-bottom: 1.5rem;
  }
}

.step-header h3 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

@media (max-width: 768px) {
  .step-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
}

.step-header p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .step-header p {
    font-size: 0.9rem;
  }
}

/* Target Selection */
.target-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .target-type-selector {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .target-type-selector {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}

.target-option {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 2px solid rgba(255, 107, 53, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
}

@media (max-width: 768px) {
  .target-option {
    padding: 2rem 1.5rem;
    min-height: 100px;
    border-radius: 20px;
  }
}

.target-option:hover {
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.1);
}

.target-option.selected {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
  border-color: #ff6b35;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
  transform: scale(1.02);
}

.option-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 12px;
  color: white;
}

@media (max-width: 768px) {
  .option-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }
}

.option-content h4 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.option-content p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .option-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .option-content p {
    font-size: 1rem;
  }
}

/* Class and Student Selection */
.class-selection,
.student-selection {
  margin-top: 2rem;
}

.class-selection h4,
.student-selection h4 {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.class-grid,
.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .class-grid,
  .student-grid {
    grid-template-columns: 1fr;
    max-height: 500px;
    padding: 0.75rem;
    gap: 1rem;
  }
}

@media (min-width: 769px) {
  .class-grid,
  .student-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    max-height: 500px;
    padding: 1rem;
    gap: 1rem;
  }
}

.class-card,
.student-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 2px solid rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.class-card:hover,
.student-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.1);
}

.class-card.selected,
.student-card.selected {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
  border-color: #ff6b35;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

@media (max-width: 768px) {
  .class-card,
  .student-card {
    padding: 1.5rem;
    min-height: 100px;
    border-radius: 16px;
  }
}

.class-name {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.class-info {
  color: #6b7280;
  font-size: 0.9rem;
}

.student-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .student-avatar {
    width: 50px;
    height: 50px;
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
}

.student-name {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.student-number {
  color: #6b7280;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .student-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .student-number {
    font-size: 0.9rem;
    font-weight: 500;
  }
}

/* Class Selection for Students */
.class-selection-for-students {
  margin-bottom: 2rem;
}

.class-selection-for-students h4 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

@media (max-width: 768px) {
  .class-selection-for-students {
    margin-bottom: 1.5rem;
  }
  
  .class-selection-for-students h4 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
  }
}

/* Students from Class */
.students-from-class {
  margin-top: 1.5rem;
}

.students-from-class h4 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

@media (max-width: 768px) {
  .students-from-class {
    margin-top: 1rem;
  }
  
  .students-from-class h4 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
  }
}

/* No Students Message */
.no-students-message {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-radius: 16px;
  border: 2px dashed rgba(255, 107, 53, 0.2);
  backdrop-filter: blur(10px);
}

.no-students-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.no-students-message h4 {
  color: #374151;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.no-students-message p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
}

.refresh-students-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.refresh-students-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Student Search Styles */
.student-search-container {
  margin-bottom: 1.5rem;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 0.5rem;
}

.student-search-input {
  width: 100%;
  padding: 1rem 1.25rem;
  padding-right: 3rem;
  border: 2px solid rgba(255, 107, 53, 0.2);
  border-radius: 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .student-search-input {
    padding: 1.25rem 1.5rem;
    padding-right: 3.5rem;
    font-size: 1.1rem;
    border-radius: 20px;
  }
}

.student-search-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 107, 53, 0.1);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ff6b35;
  font-size: 0.9rem;
}

.clear-search-btn:hover {
  background: rgba(255, 107, 53, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.search-results-info {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem;
  background: rgba(255, 107, 53, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

/* No Search Results */
.no-search-results {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-radius: 16px;
  border: 2px dashed rgba(255, 107, 53, 0.2);
  backdrop-filter: blur(10px);
}

.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.no-search-results h4 {
  color: #374151;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.no-search-results p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
}

/* Selected Students Info */
.selected-students-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.selected-students-info h5 {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.selected-students-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.selected-student-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.remove-student-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 0.8rem;
}

.remove-student-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Date Selection */
.date-selection {
  max-width: 500px;
  margin: 0 auto;
}

.date-presets {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.date-preset-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 2px solid rgba(255, 107, 53, 0.1);
  color: #64748b;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-preset-btn:hover {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-color: #ff6b35;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.date-input-section {
  margin-bottom: 2rem;
}

.date-input-section label {
  display: block;
  color: #374151;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.date-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(229, 231, 235, 0.6);
  border-radius: 16px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.8);
  color: #374151;
  backdrop-filter: blur(10px);
  min-height: 48px;
}

.date-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15), 0 4px 20px rgba(255, 107, 53, 0.1);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.scoring-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
  backdrop-filter: blur(10px);
}

.scoring-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.scoring-item label {
  display: block;
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.scoring-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(229, 231, 235, 0.6);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  color: #374151;
  min-height: 44px;
}

.scoring-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Homework Details */
.homework-details {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1f2937;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.label-icon {
  font-size: 1.3rem;
  opacity: 0.8;
}

.detail-input,
.detail-textarea,
.modern-input,
.modern-textarea {
  width: 100%;
  padding: 1.5rem 1.75rem;
  border: 2px solid rgba(229, 231, 235, 0.6);
  border-radius: 20px;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  backdrop-filter: blur(10px);
  min-height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.detail-textarea,
.modern-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.detail-input:focus,
.detail-textarea:focus,
.modern-input:focus,
.modern-textarea:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Modern Select Styles */
.modern-select {
  width: 100%;
  padding: 1.5rem 1.75rem;
  border: 2px solid rgba(229, 231, 235, 0.6);
  border-radius: 20px;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  backdrop-filter: blur(10px);
  min-height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.modern-select:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.modern-select option {
  padding: 1rem;
  font-size: 1rem;
}

.detail-input:focus,
.detail-textarea:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15), 0 4px 20px rgba(255, 107, 53, 0.1);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.homework-type-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 107, 53, 0.15);
  backdrop-filter: blur(20px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  margin-top: 1rem;
}

.type-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .type-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .homework-type-section {
    padding: 1.5rem;
  }
  
  .homework-details {
    padding: 1.5rem;
    max-width: 100%;
  }
  
  .detail-label {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .label-icon {
    font-size: 1.1rem;
  }
  
  .detail-input,
  .detail-textarea,
  .modern-input,
  .modern-textarea,
  .modern-select {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    min-height: 55px;
  }
  
  .detail-textarea,
  .modern-textarea {
    min-height: 120px;
  }
}

.type-item label {
  display: block;
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.type-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(229, 231, 235, 0.6);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  color: #374151;
  min-height: 44px;
}

.type-select:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* File Upload Section */
.file-upload-section {
  max-width: 600px;
  margin: 0 auto;
}

.file-option-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.file-option {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 2px solid rgba(255, 107, 53, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
}

.file-option:hover {
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.1);
}

.file-option.selected {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
  border-color: #ff6b35;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
  transform: scale(1.02);
}

/* Stepper Actions */
.stepper-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(226, 232, 240, 0.8) 100%);
  border-top: 1px solid rgba(255, 107, 53, 0.1);
  backdrop-filter: blur(20px);
  position: sticky;
  bottom: 0;
  z-index: 10;
}

@media (max-width: 768px) {
  .stepper-actions {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    border-top: 1px solid rgba(255, 107, 53, 0.1) !important;
    box-shadow: none !important;
    z-index: auto !important;
    padding: 1rem !important;
    gap: 0.75rem !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  
  .stepper-btn {
    min-height: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    flex: 1 !important;
    max-width: 45% !important;
    display: block !important;
    visibility: visible !important;
    border-radius: 16px !important;
  }
}

@media (min-width: 769px) {
  .stepper-actions {
    position: sticky;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    gap: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .stepper-btn {
    min-height: 48px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    flex: 1;
    max-width: 45%;
  }
}

.stepper-btn {
  padding: 1rem 2rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
}

.stepper-btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.stepper-btn-primary:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.stepper-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.stepper-btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  color: #6b7280;
  border: 2px solid rgba(255, 107, 53, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.stepper-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-color: rgba(255, 107, 53, 0.2);
  color: #374151;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.modern-homework-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.5), rgba(255, 107, 53, 0.3));
  border-radius: 28px 28px 0 0;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.modern-form-container {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .modern-form-container {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .modern-form-container {
    padding: 0.75rem;
    gap: 0.75rem;
  }
}

.form-section.essential {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

.form-section.essential::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 20px 20px 0 0;
}

.form-section.essential:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.form-section.optional {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  animation: slideInFromRight 0.6s ease-out 0.2s both;
}

.form-section.optional:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .form-section.essential,
  .form-section.optional {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 16px;
  }
}

.form-section.optional::before {
  content: "⚙️";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.2rem;
  opacity: 0.6;
}

.form-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.form-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.form-section.essential .form-section-title {
  color: #1f2937;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-section.optional .form-section-title {
  color: #6b7280;
}

@media (max-width: 768px) {
  .form-section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    gap: 0.5rem;
  }
}

/* Collapsible Section */
.collapsible-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.collapsible-header:hover {
  background: rgba(255, 107, 53, 0.05);
  border-radius: 8px;
  padding: 0.5rem;
  margin: 0 -0.5rem 1rem -0.5rem;
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.collapsible-content.expanded {
  max-height: 1000px;
}

.collapsible-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.collapsible-icon.expanded {
  transform: rotate(180deg);
}

/* Modern Button Styles */
.modern-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.modern-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.modern-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.modern-btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  color: #6b7280;
  border: 2px solid rgba(255, 107, 53, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  min-height: 48px;
}

.modern-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-color: rgba(255, 107, 53, 0.2);
  color: #374151;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .modern-btn,
  .modern-btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    min-height: 44px;
    border-radius: 12px;
    width: 100%;
  }
}

/* Date Presets */
.date-presets {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.date-preset-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 2px solid rgba(255, 107, 53, 0.1);
  color: #64748b;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-preset-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.date-preset-btn:hover::before {
  left: 100%;
}

.date-preset-btn:hover {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-color: #ff6b35;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.date-preset-btn.active {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-color: #ff6b35;
  color: white;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .date-presets {
    gap: 0.375rem;
    margin-bottom: 0.75rem;
  }
  
  .date-preset-btn {
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
    border-radius: 10px;
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  .date-presets {
    gap: 0.25rem;
  }
  
  .date-preset-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    min-height: 36px;
  }
}

/* Enhanced Date Input */
.date-input-container {
  position: relative;
}

.date-input-container input[type="datetime-local"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  color: #374151;
  transition: all 0.3s ease;
  cursor: pointer;
}

.date-input-container input[type="datetime-local"]:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
  transform: translateY(-1px);
}

.date-input-container::after {
  content: "📅";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.2rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.date-input-container:focus-within::after {
  opacity: 1;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(226, 232, 240, 0.8) 100%);
  border-top: 1px solid rgba(255, 107, 53, 0.1);
  border-radius: 0 0 24px 24px;
  margin-top: 2rem;
  backdrop-filter: blur(20px);
  position: sticky;
  bottom: 0;
  z-index: 10;
}

@media (max-width: 768px) {
  .modal-actions {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    border-radius: 0;
    margin-top: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    animation: slideInFromBottom 0.4s ease-out;
  }
  
  .date-presets {
    justify-content: center;
  }
  
  /* Mobile touch improvements */
  .modern-homework-modal {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  
  .form-input, .form-textarea, .form-select {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  /* Better touch targets for mobile */
  .modal-close,
  .modern-btn,
  .modern-btn-secondary,
  .date-preset-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  
  /* Mobile-specific improvements */
  .modal-body {
    padding-bottom: 120px; /* Space for fixed actions */
  }
  
  /* Prevent zoom on input focus */
  input[type="text"],
  input[type="number"],
  input[type="datetime-local"],
  textarea,
  select {
    font-size: 16px !important;
  }
  
  /* Better scroll behavior */
  .modern-form-container {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
  }
  
  /* Mobile keyboard handling */
  .modal-overlay {
    align-items: flex-start;
    padding-top: 60px;
  }
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Class-based Homework Organization */
.class-homework-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.homeworks-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.class-homework-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 20px 20px 0 0;
}

.class-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f1f5f9;
}

.homeworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

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

.class-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.class-stats {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.class-stat {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.homework-time-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.time-status-remaining {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border: 1px solid #bbf7d0;
}

.time-status-overdue {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  color: #dc2626;
  border: 1px solid #fecaca;
}

.time-status-urgent {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  border: 1px solid #fde68a;
}

/* Homework Card Improvements */
.homework-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.homework-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.homework-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.homework-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.homework-title h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.homework-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.homework-type {
  background: #3b82f6;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.homework-difficulty {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.homework-content {
  margin-bottom: 1rem;
}

.homework-description {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.homework-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.homework-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.homework-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.action-btn.primary {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.action-btn.secondary {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.action-btn.secondary:hover {
  background: #e2e8f0;
  color: #374151;
}

/* Student Completion Tracking */
.student-completion-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.completion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.completion-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.completion-stats {
  display: flex;
  gap: 0.75rem;
}

.completion-stat {
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.completion-stat.completed {
  background: #dcfce7;
  color: #166534;
}

.completion-stat.pending {
  background: #fef3c7;
  color: #d97706;
}

.student-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.student-list {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
}

.student-list-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.student-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.student-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.student-name {
  font-weight: 500;
  color: #374151;
}

.complete-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.complete-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.complete-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Detailed Pagination */
.detailed-pagination {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.pagination-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}

.pagination-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  background: #f8fafc;
  color: #64748b;
}

.pagination-tab:hover {
  background: #e2e8f0;
  color: #374151;
}

.pagination-tab.active {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  border-color: #ff6b35;
}

.pagination-content {
  min-height: 200px;
}

.student-ranking {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.ranking-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
}

.ranking-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ranking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.ranking-item:last-child {
  border-bottom: none;
}

.ranking-name {
  font-weight: 500;
  color: #374151;
}

.ranking-count {
  background: #ff6b35;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Tüm Öğretmenlerin Ödevleri - Görüntüleme Modu */
.all-teachers-homeworks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
}

.homework-card.view-only {
  opacity: 1;
  background: white;
  border: 2px solid #e2e8f0;
}

.homework-card.view-only:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.homework-teacher-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #bae6fd;
}

.teacher-label {
  font-weight: 600;
  color: #0369a1;
  font-size: 0.9rem;
}

.teacher-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
}

.teacher-subject {
  color: #64748b;
  font-size: 0.9rem;
  font-style: italic;
}

.homework-status-badge.my-homework {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #f59e0b;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}

.view-only-footer {
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 16px 16px;
}

.homework-info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  justify-content: center;
}

.info-icon {
  font-size: 1.2rem;
}

/* Tarih Durumu Göstergeleri */
.homework-date-status {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.date-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  width: fit-content;
}

.date-status-badge.overdue {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1px solid #fecaca;
}

.date-status-badge.urgent {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  color: #ea580c;
  border: 1px solid #fdba74;
}

.date-status-badge.approaching {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  border: 1px solid #fcd34d;
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  font-weight: 600;
}

.detail-value.overdue {
  color: #dc2626;
  font-weight: 700;
}

.detail-value.urgent {
  color: #ea580c;
  font-weight: 700;
}

.status-icon {
  margin-left: 0.5rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .student-lists {
    grid-template-columns: 1fr;
  }
  
  .pagination-tabs {
    flex-wrap: wrap;
  }
  
  .student-ranking {
    grid-template-columns: 1fr;
  }
  
  .main-menu-buttons {
    gap: 1rem;
  }
  
  .main-menu-btn {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  
  .btn-icon-large {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }
  
  .btn-content h3 {
    font-size: 1.25rem;
  }
  
  .btn-content p {
    font-size: 0.9rem;
  }
  
  .all-teachers-homeworks {
    grid-template-columns: 1fr;
  }
}

.form-input.error, .form-textarea.error, .form-select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.error-message {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.loading-text {
  color: #6b7280;
  font-size: 0.8rem;
  font-style: italic;
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 107, 53, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.8) 100%);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  flex: 1;
  min-width: 200px;
}

.radio-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
  transition: left 0.5s;
}

.radio-label:hover::before {
  left: 100%;
}

.radio-label:hover {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
  border-color: rgba(255, 107, 53, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.1);
}

.radio-label input[type="radio"] {
  margin: 0;
  width: 20px;
  height: 20px;
  accent-color: #ff6b35;
}

.radio-label input[type="radio"]:checked + .radio-text {
  color: #ff6b35;
  font-weight: 700;
}

.radio-label:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
  border-color: #ff6b35;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
  transform: scale(1.02);
}

.radio-text {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .radio-label {
    min-width: auto;
    padding: 0.875rem 1.25rem;
    min-height: 44px;
  }
}

/* Student Selection */
.student-selection {
  max-height: 200px;
  overflow-y: auto;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  background: white;
}

.student-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.student-checkbox:hover {
  background: #f3f4f6;
}

.student-checkbox input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
}

.student-name {
  font-weight: 500;
  color: #374151;
}

.no-students {
  color: #6b7280;
  font-style: italic;
  text-align: center;
  padding: 1rem;
}

/* File Upload Styles */
.file-upload-area {
  margin-top: 1rem;
}

.file-upload-zone {
  position: relative;
  border: 2px dashed rgba(255, 107, 53, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.8) 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.file-upload-zone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.file-upload-zone:hover {
  border-color: #ff6b35;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.file-upload-zone:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .file-upload-zone {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.upload-icon {
  font-size: 3rem;
  color: #6b7280;
}

.upload-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.upload-text strong {
  color: #374151;
  font-size: 1.1rem;
}

.upload-text span {
  color: #6b7280;
  font-size: 0.9rem;
}

.upload-info {
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.upload-limit {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 600;
}

.upload-progress {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0f9ff;
  border-radius: 8px;
  border: 1px solid #bae6fd;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  width: 0%;
  animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.uploaded-files {
  margin-top: 1.5rem;
}

.uploaded-files h4 {
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.file-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.file-icon {
  font-size: 1.5rem;
}

.file-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.file-name {
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
}

.file-size {
  color: #6b7280;
  font-size: 0.8rem;
}

.file-remove {
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.file-remove:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

/* Homework Detail Modal */
.homework-detail-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-section h3 {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff6b35;
}

.content-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #374151;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
}

.detail-row .detail-label {
  color: #6b7280;
  font-weight: 600;
  font-size: 0.9rem;
}

.detail-row .detail-value {
  color: #1f2937;
  font-weight: 600;
}

/* Submissions Modal Styles */
.submissions-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.homework-info-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.homework-info-header h3 {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.info-label {
  color: #6b7280;
  font-weight: 600;
  font-size: 0.9rem;
}

.info-value {
  color: #1f2937;
  font-weight: 600;
}

.submissions-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.submissions-list h3 {
  color: #1f2937;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff6b35;
}

.submissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
}

.submission-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.submission-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.submission-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.student-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.student-details h4 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.student-details p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

.submission-status {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.graded {
  background: #10b981;
  color: white;
}

.status-badge.pending {
  background: #f59e0b;
  color: white;
}

.late-badge {
  background: #ef4444;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
}

.submission-content {
  padding: 1.5rem;
}

.submission-text h5 {
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.submission-text p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.submission-files {
  margin-top: 1rem;
}

.submission-files h5 {
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-link {
  color: #3b82f6;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.file-link:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.submission-footer {
  padding: 1.5rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submission-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.submission-date, .submission-score {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.submission-score {
  color: #10b981;
  font-weight: 600;
}

.submission-actions {
  display: flex;
  gap: 0.75rem;
}

.grade-btn, .view-grade-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.grade-btn {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
}

.grade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.view-grade-btn {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.view-grade-btn:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.teacher-feedback {
  padding: 1.5rem;
  background: #fef3c7;
  border-top: 1px solid #f59e0b;
}

.teacher-feedback h5 {
  color: #92400e;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.teacher-feedback p {
  color: #78350f;
  line-height: 1.6;
  margin: 0;
}

.no-submissions {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 15px;
  border: 2px dashed #d1d5db;
}

.no-submissions-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.no-submissions h3 {
  color: #374151;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.no-submissions p {
  color: #6b7280;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .teacher-homeworks-container {
    padding: 1rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .header-title h1 {
    font-size: 2rem;
  }
  
  .homeworks-filters {
    flex-direction: column;
    gap: 1rem;
  }
  
  .homeworks-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .homeworks-grid {
    grid-template-columns: 1fr;
  }
  
  .homework-dates {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .homework-stats {
    justify-content: space-around;
  }
  
  .homework-actions {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .radio-group {
    flex-direction: column;
  }
  
  .student-selection {
    max-height: 150px;
  }
  
  .submissions-grid {
    grid-template-columns: 1fr;
  }
  
  .submission-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .submission-status {
    align-items: flex-start;
  }
  
  .submission-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .modal-content.extra-large {
    max-width: calc(100vw - 2rem);
  }
  
  .modal-header, .modal-body, .modal-footer {
    padding: 1rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .submissions-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .homeworks-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
  }
  
  .homework-meta {
    justify-content: center;
  }
}
.optic-reader { display: flex; flex-direction: column; gap: 16px; }
.optic-stepper { display: flex; gap: 12px; flex-wrap: wrap; }
.optic-stepper .step { display:flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid #e5e7eb; border-radius:8px; background:#fff; }
.optic-stepper .step.active { border-color:#2563eb; box-shadow:0 4px 10px rgba(37,99,235,.12); }
.optic-stepper .step.done { border-color:#10b981; }
.optic-stepper .step .step-index { width:24px; height:24px; border-radius:50%; background:#f3f4f6; display:flex; align-items:center; justify-content:center; font-weight:600; }
.optic-step { display:flex; flex-direction:column; gap:16px; }
.optic-step .card { background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:16px; }
.form-input { width:100%; border:1px solid #d1d5db; border-radius:8px; padding:10px 12px; }
.form-textarea { width:100%; border:1px solid #d1d5db; border-radius:8px; padding:10px 12px; }
.btn-modern { padding:10px 14px; border:1px solid #d1d5db; border-radius:10px; background:#fff; cursor:pointer; }
.btn-modern.btn-primary { background:#2563eb; color:#fff; border-color:#2563eb; }
.btn-modern.btn-secondary { background:#111827; color:#fff; border-color:#111827; }
.btn-modern.btn-danger { background:#ef4444; color:#fff; border-color:#ef4444; }
.btn-small { padding:6px 10px; font-size:12px; }
.header-inline { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.muted { color:#6b7280; font-size:14px; }
.answer-key-editor .row { display:flex; gap:8px; }
.answer-key-editor .subject-list { display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.answer-key-editor .subject-item { display:flex; align-items:center; justify-content:space-between; padding:8px; border:1px solid #e5e7eb; border-radius:8px; }
.fmt-preview { max-height:240px; overflow:auto; background:#0b1020; color:#d1e8ff; padding:12px; border-radius:8px; }


/* Evaluation Selection Styles */
.evaluation-selection-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem;
}

.evaluation-selection-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.evaluation-selection-content h2 {
  font-size: 2rem;
  color: #1e40af;
  margin-bottom: 1rem;
}

.evaluation-selection-content > p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

.evaluation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.evaluation-option-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 3px solid transparent;
  border-radius: 20px;
  padding: 2.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.evaluation-option-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #3b82f6;
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.25);
}

.option-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

.evaluation-option-card h3 {
  font-size: 1.5rem;
  color: #1e40af;
  margin-bottom: 1rem;
  font-weight: 700;
}

.evaluation-option-card p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Optic Redirect Styles */
.optic-redirect-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem;
}

.optic-redirect-content {
  max-width: 500px;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.optic-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.optic-redirect-content h2 {
  font-size: 2rem;
  color: #1e40af;
  margin-bottom: 1rem;
}

.optic-redirect-content > p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.optic-redirect-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Student Search Styles */
.student-search-container {
  position: relative;
  margin-top: 2rem;
}

.student-search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: white;
}

.student-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.student-search-results {
  margin-top: 1rem;
  max-height: 400px;
  overflow-y: auto;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
}

.student-search-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.2s ease;
}

.student-search-item:hover {
  background: #f9fafb;
  transform: translateX(4px);
}

.student-search-item:last-child {
  border-bottom: none;
}

.student-search-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.student-search-info {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.no-results {
  padding: 2rem;
  text-align: center;
  color: #9ca3af;
  font-style: italic;
}

.search-more {
  padding: 1rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  background: #f9fafb;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: #1e40af;
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: #ef4444;
  transform: scale(1.1);
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-body p {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-link {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #6b7280;
}

.modal-link strong {
  color: #1e40af;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Student Evaluation Modal Styles */
.evaluation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  padding: 1rem;
  overflow-y: auto;
}

.evaluation-modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 20px;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(59, 130, 246, 0.2);
  position: relative;
}

.evaluation-modal-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
}

@media (min-width: 769px) {
  .evaluation-modal-overlay {
    align-items: center;
    padding: 2rem;
  }
}

.evaluation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.evaluation-header h2 {
  color: #1e40af;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.close-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.step.active {
  opacity: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
}

.step.active .step-label {
  color: #3b82f6;
}

/* Step Content */
.step-content {
  min-height: 400px;
}

.step-content h3 {
  color: #1e40af;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

/* Classes Grid */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.class-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 15px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.class-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 8px;
}

.class-info {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.student-count {
  color: #059669;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Evaluation Progress */
.evaluation-progress {
  margin-bottom: 30px;
  text-align: center;
}

.evaluation-progress span {
  font-weight: 600;
  color: #374151;
  font-size: 1.1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Student Evaluation */
.student-evaluation {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
  border-radius: 15px;
  padding: 30px;
  border: 2px solid rgba(59, 130, 246, 0.1);
}

.student-info {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.student-info h3 {
  color: #1e40af;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.student-info p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Evaluation Categories */
.evaluation-categories {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.evaluation-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.evaluation-category label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

/* Yorum Alanı */
.evaluation-notes-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(59, 130, 246, 0.1);
}

.notes-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.evaluation-notes-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s;
  background: white;
  color: #1f2937;
}

.evaluation-notes-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.evaluation-notes-input::placeholder {
  color: #9ca3af;
}

.student-note-summary {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.star {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  filter: grayscale(1);
  opacity: 0.5;
}

.star.active {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

.star:hover {
  transform: scale(1.2);
}

.star:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

/* Navigation */
.evaluation-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.nav-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.prev-btn {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
}

.prev-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.next-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.next-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Evaluation Summary */
.evaluation-summary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
  border-radius: 15px;
  padding: 30px;
  border: 2px solid rgba(59, 130, 246, 0.1);
  margin-bottom: 30px;
}

.evaluation-summary p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #374151;
}

.students-summary {
  margin-top: 20px;
}

.students-summary h4 {
  color: #1e40af;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.student-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.student-name {
  font-weight: 600;
  color: #374151;
}

.scores {
  display: flex;
  gap: 15px;
}

.scores span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
}

/* Confirmation Actions */
.confirmation-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.back-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.save-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.save-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Loading Spinner */
.loading-spinner {
  text-align: center;
  font-size: 1.2rem;
  color: #3b82f6;
  padding: 40px;
}

/* Error Message */
.error-message {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  color: #dc2626;
  font-weight: 600;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .evaluation-modal-content {
    width: 95%;
    padding: 20px;
    max-height: 95vh;
  }
  
  .classes-grid {
    grid-template-columns: 1fr;
  }
  
  .evaluation-navigation {
    flex-direction: column;
  }
  
  .confirmation-actions {
    flex-direction: column;
  }
  
  .student-summary {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .scores {
    justify-content: center;
  }
}

/* Evaluations List Styles */
.evaluations-list-container {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.evaluations-list-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.back-btn-modern {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-btn-modern:hover {
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.evaluations-list-header h2 {
  font-size: 2rem;
  color: #1e40af;
  margin: 0;
}

.evaluations-section {
  margin-bottom: 3rem;
}

.evaluations-section.new-evaluations-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 1.5rem;
  border-radius: 16px;
  border: 2px solid #fbbf24;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.section-title {
  font-size: 1.5rem;
  color: #1e40af;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.new-count-badge,
.total-count-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.new-count-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.evaluations-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
}

.evaluation-item-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: visible;
}

.evaluation-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
}

.evaluation-item-card.is-new {
  border: 2px solid #fbbf24;
  background: linear-gradient(to right, #fef3c7 0%, rgba(255, 255, 255, 0.98) 5%);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.evaluation-item-card.new-evaluation {
  border: 2px solid #fbbf24;
  background: linear-gradient(to right, #fef3c7 0%, rgba(255, 255, 255, 0.98) 5%);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.new-evaluation-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4);
  z-index: 10;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.evaluation-item-card.other-teacher {
  border-left: 4px solid #fbbf24;
}

.evaluation-item-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.evaluation-item-student h4 {
  font-size: 1.25rem;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.student-number,
.student-class {
  font-size: 0.9rem;
  color: #6b7280;
  margin-right: 1rem;
}

.evaluation-item-actions {
  display: flex;
  gap: 0.5rem;
}

.comment-btn,
.delete-btn-small {
  background: transparent;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.comment-btn:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.delete-btn-small:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.evaluation-item-teacher {
  margin-bottom: 1rem;
}

.teacher-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.evaluation-item-scores {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.score-badge {
  background: #f3f4f6;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.score-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.score-value {
  font-weight: 700;
  color: #1e40af;
  font-size: 1rem;
}

.evaluation-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.read-status {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.read-status.read {
  background: #d1fae5;
  color: #065f46;
}

.read-status.unread {
  background: #fee2e2;
  color: #991b1b;
}

.evaluation-item-notes {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
}

.comments-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e5e7eb;
}

.comments-list {
  margin-bottom: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.comment-item {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-weight: 600;
  color: #1e40af;
  font-size: 0.9rem;
}

.comment-date {
  font-size: 0.75rem;
  color: #9ca3af;
}

.comment-text {
  color: #374151;
  line-height: 1.6;
  font-size: 0.9rem;
}

.no-comments {
  text-align: center;
  color: #9ca3af;
  font-style: italic;
  padding: 1rem;
}

.add-comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.add-comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

.add-comment-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-comment-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-end;
}

.submit-comment-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.submit-comment-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #9ca3af;
  font-style: italic;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Parent Dashboard Comment Styles */
.evaluation-comments {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0f9ff;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.evaluation-comments strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #1e40af;
  font-size: 0.95rem;
}

.comment-item-parent {
  background: white;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.comment-author-parent {
  font-weight: 600;
  color: #1e40af;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

/* Yorumlarda Öğretmen ve Ders Bilgisi */
.comment-teacher-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.comment-teacher-icon,
.comment-subject-icon {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.comment-teacher-name {
  font-weight: 600;
  color: #1e40af;
  font-size: 0.9rem;
}

.comment-separator {
  color: #9ca3af;
  margin: 0 0.25rem;
}

.comment-teacher-subject {
  font-weight: 600;
  color: #7c3aed;
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border-radius: 6px;
}

.comment-text-parent {
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.comment-date-parent {
  font-size: 0.75rem;
  color: #9ca3af;
}

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

  .comment-teacher-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .comment-teacher-name,
  .comment-teacher-subject {
    font-size: 0.85rem;
  }

  .comment-separator {
    display: none;
  }
  
  .evaluation-item-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .evaluation-item-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
/* Parent Dashboard Styles - Full Screen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global reset for parent dashboard */
body.parent-dashboard-active,
html.parent-dashboard-active {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow-x: hidden !important;
}

body.parent-dashboard-active #root,
html.parent-dashboard-active #root {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
}

.parent-dashboard {
  min-height: 100vh;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animated background particles */
.parent-dashboard::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(10px) translateX(-10px);
  }
}

/* Header - Tamamen Gizli (Tüm ekranlarda) */
.parent-header {
  display: none !important; /* Tüm ekranlarda gizli */
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(249, 115, 22, 0.2));
}

.header-brand h1 {
  margin: 0;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.header-brand span {
  font-size: 0.7rem;
  color: #666;
  white-space: nowrap;
  font-weight: 500;
  display: block;
  line-height: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.student-info {
  text-align: right;
  display: none; /* Mobilde gizle */
}

@media (min-width: 768px) {
  .student-info {
    display: block;
  }
}

.student-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.student-class {
  font-size: 0.75rem;
  color: #f97316;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  font-weight: 600;
  line-height: 1.2;
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.logout-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Layout */
.parent-layout {
  display: flex;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  padding-top: 0 !important; /* Header yok */
  padding-bottom: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  align-items: stretch;
  overflow: hidden;
}

/* Sidebar Navigation */
.parent-sidebar {
  width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
  padding: 2rem 0;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  border-right: 1px solid rgba(249, 115, 22, 0.1);
}

/* Sidebar Logo ve Brand */
.parent-sidebar::before {
  content: '';
  display: block;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.1);
  margin-bottom: 1rem;
}

.parent-sidebar .sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}

.parent-sidebar .sidebar-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.parent-sidebar .sidebar-logo-text h1 {
  font-size: 1.1rem;
  margin: 0;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.parent-sidebar .sidebar-logo-text span {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}

.sidebar-student-info {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}

.sidebar-student-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.sidebar-student-class {
  font-size: 0.8rem;
  color: #f97316;
  font-weight: 600;
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(249, 115, 22, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.sidebar-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.sidebar-logout-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.sidebar-logout-icon {
  font-size: 1.2rem;
}

.sidebar-logout-label {
  flex: 1;
  text-align: left;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #4b5563;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

.nav-item:hover {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  transform: translateX(4px);
}

.nav-item.active {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.nav-item.active:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.nav-item.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.nav-item.disabled:hover {
  background: transparent;
  transform: none;
}

.nav-badge {
  font-size: 0.7rem;
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  margin-left: auto;
}

.nav-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
}

.nav-label {
  flex: 1;
}

/* Content */
.parent-content {
  flex: 1;
  margin-left: 280px; /* Sidebar width */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 1.5rem;
  padding-top: 1.5rem !important; /* Üstten küçük padding */
  padding-bottom: 1.5rem;
  width: calc(100% - 280px);
  height: 100vh;
  max-height: 100vh;
  min-width: 0;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.add-note-btn {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #f97316;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10;
  position: relative;
}

.add-note-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
  background: #fff7ed;
}

/* Loading */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: white;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Grades Section */
.grades-section {
  color: white;
  position: relative;
  padding-top: 0; /* Üstten boşluk yok */
}

.grades-section.disabled-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2rem;
}

.coming-soon-message {
  text-align: center;
  max-width: 500px;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.coming-soon-message h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 1rem;
  font-weight: 700;
}

.coming-soon-message p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-back {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.parent-content > .welcome-screen,
.parent-content > .grades-section,
.parent-content > .evaluations-section {
  margin-top: 0 !important; /* Üstten boşluk yok */
  margin-bottom: 0 !important;
  padding-top: 0 !important; /* Padding yok */
  padding-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.list-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: white;
}

.grades-grid,
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.grade-card,
.note-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.grade-card:hover,
.note-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.grade-header,
.note-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.grade-header h4,
.note-header h4 {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
  font-weight: 600;
}

.grade-date,
.note-date {
  font-size: 0.875rem;
  color: #666;
}

.grade-body,
.note-body {
  color: #333;
}

.grade-description {
  margin: 0.5rem 0;
  color: #666;
  font-size: 0.9rem;
}

.grade-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.score-value {
  color: #f97316;
}

.score-max {
  color: #999;
  font-size: 1.2rem;
}

.score-percentage {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
}

.letter-grade {
  background: #f97316;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.grade-status {
  color: #999;
  font-style: italic;
}

.teacher-feedback {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  color: #333;
  font-size: 0.9rem;
}

.grade-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
  font-size: 0.875rem;
  color: #666;
}

.grade-images {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.grade-image,
.note-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.grade-image:hover,
.note-image:hover {
  transform: scale(1.05);
}

.grade-image img,
.note-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.note-grade {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.grade-label {
  color: #666;
  font-weight: 500;
}

.grade-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
}

.note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

.note-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.delete-note-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-note-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.delete-note-btn:active {
  transform: scale(0.95);
}

.note-text {
  margin: 1rem 0;
  color: #333;
  line-height: 1.6;
}

/* Evaluations Section */
.evaluations-section {
  color: white;
  padding-top: 0; /* Üstten boşluk yok */
}

.evaluation-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.stat-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f97316;
  display: block;
  margin: 0.5rem 0;
}

.stat-label {
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
}

.evaluations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.evaluation-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.evaluation-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.evaluation-card.unread {
  border: 3px solid #f97316;
  background: rgba(255, 247, 237, 0.98);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.2);
}

.evaluation-card.read {
  opacity: 0.85;
}

.evaluation-card.latest-evaluation {
  margin-bottom: 2rem;
  padding: 2.5rem;
  transform: scale(1.05);
  border: 3px solid #f97316;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 12px 48px rgba(249, 115, 22, 0.25);
}

.evaluation-card.latest-evaluation.unread {
  border: 4px solid #f97316;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 237, 213, 0.98) 100%);
  box-shadow: 0 16px 56px rgba(249, 115, 22, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 16px 56px rgba(249, 115, 22, 0.3);
  }
  50% {
    box-shadow: 0 20px 64px rgba(249, 115, 22, 0.4);
  }
}

.evaluation-badge {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.unread-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.latest-badge {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.evaluation-header-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.unread-indicator {
  color: #f97316;
  font-size: 1.5rem;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.read-indicator {
  color: #10b981;
  font-size: 1.2rem;
}

.evaluation-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.evaluation-header h4 {
  margin: 0;
  color: #333;
  font-weight: 600;
}

/* Öğretmen ve Ders Bilgisi - Daha Belirgin */
.teacher-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.teacher-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.teacher-icon,
.subject-icon {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.teacher-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.teacher-subject {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.evaluation-scores {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.score-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.score-label {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.score-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star {
  font-size: 1.25rem;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.star.active {
  opacity: 1;
  transform: scale(1.1);
}

.score-value {
  margin-left: 0.5rem;
  font-weight: 600;
  color: #f97316;
}

.evaluation-notes {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  color: #333;
  font-size: 0.9rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-state p {
  font-size: 1.1rem;
  margin: 0;
}

/* Info Message */
.info-message {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.info-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.info-content {
  text-align: center;
  color: #333;
}

.info-content h4 {
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  color: #f97316;
  font-weight: 700;
}

.info-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0.75rem 0;
  color: #444;
}

.info-subtext {
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
  margin-top: 1rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

.note-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  color: #333;
}

.form-group input.readonly-input {
  background: #f5f5f5;
  cursor: not-allowed;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  background: #ffffff;
}

.form-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
}

.image-preview {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  max-width: 300px;
}

.image-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-cancel,
.btn-submit {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-cancel {
  background: #f0f0f0;
  color: #666;
}

.btn-cancel:hover {
  background: #e0e0e0;
}

.btn-submit {
  background: #f97316;
  color: white;
}

.btn-submit:hover:not(:disabled) {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Saving Overlay Modal */
.saving-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.saving-modal {
  background: white;
  border-radius: 24px;
  padding: 3rem 4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.saving-spinner {
  width: 64px;
  height: 64px;
  border: 5px solid rgba(249, 115, 22, 0.2);
  border-top-color: #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.saving-modal p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f97316;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.saving-modal small {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  margin-right: 0.75rem;
  z-index: 1001;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #f97316;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(4px);
}

/* Welcome Screen */
.welcome-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 0px);
  padding: 1.5rem;
  padding-top: 1.5rem;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  animation: fadeIn 0.5s ease;
}

.welcome-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.welcome-header {
  margin-bottom: 3rem;
}

.welcome-header h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.welcome-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.navigation-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.nav-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.nav-card:hover::before {
  left: 100%;
}

.nav-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  border-color: #f97316;
}

.nav-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-card.disabled:hover {
  transform: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.nav-card.disabled::before {
  display: none;
}

.nav-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.nav-card.primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.98) 100%);
}

.nav-card.secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 240, 230, 0.98) 100%);
}

.nav-card-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.nav-card.secondary .nav-card-icon {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.nav-card-content {
  flex: 1;
}

.nav-card-content h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.nav-card-content p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.5;
}

.nav-card-arrow {
  font-size: 2rem;
  color: #f97316;
  transition: transform 0.3s ease;
}

.nav-card:hover .nav-card-arrow {
  transform: translateX(8px);
}

.welcome-footer {
  margin-top: 2rem;
}

.welcome-hint {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-style: italic;
}

/* Yeni Badge Stilleri */
.new-badge-grade {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 0.4rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  z-index: 10;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
  }
}

.grade-card.new-grade,
.note-card.new-note {
  border: 2px solid #3b82f6;
  background: linear-gradient(to right, #eff6ff 0%, white 10%);
  position: relative;
}

/* Responsive */
@media (max-width: 1024px) {
  .parent-sidebar {
    width: 260px;
  }

  .parent-content {
    margin-left: 260px;
    width: calc(100% - 260px);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  /* Header - Tüm ekranlarda gizli */
  .parent-header {
    display: none !important;
  }

  .parent-layout {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden;
  }

  .parent-sidebar {
    width: 280px;
    left: -280px;
    top: 0;
    height: 100vh;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .parent-sidebar.open {
    left: 0;
  }

  .sidebar-overlay {
    display: block;
    top: 0;
  }

  .parent-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem;
    padding-top: 1rem !important; /* Üstten küçük padding */
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    height: calc(100vh - 0px);
    max-height: calc(100vh - 0px);
    box-sizing: border-box;
  }
  
  .parent-content > .welcome-screen,
  .parent-content > .grades-section,
  .parent-content > .evaluations-section {
    padding-top: 0 !important; /* Mobilde padding yok */
    padding-bottom: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Bottom Navigation Menu */
  .parent-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(249, 115, 22, 0.05);
    border-top: 1px solid rgba(249, 115, 22, 0.1);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
    min-height: 60px;
  }

  .bottom-nav-item:hover {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
  }

  .bottom-nav-item.active {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(234, 88, 12, 0.15) 100%);
    color: #f97316;
    font-weight: 600;
  }

  .bottom-nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
  }

  .bottom-nav-item.disabled:hover {
    background: transparent;
  }

  .bottom-nav-badge {
    position: absolute;
    top: -8px;
    right: 8px;
    font-size: 0.6rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
    white-space: nowrap;
  }

  .bottom-nav-icon {
    font-size: 1.5rem;
    line-height: 1;
  }

  .bottom-nav-label {
    font-size: 0.7rem;
    line-height: 1;
    white-space: nowrap;
  }

  /* Mobilde hamburger menü butonu için özel konum */
  .mobile-menu-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .welcome-header h2 {
    font-size: 2rem;
  }

  .welcome-subtitle {
    font-size: 1rem;
  }

  .nav-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav-card-icon {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }

  .nav-card-content h3 {
    font-size: 1.25rem;
  }

  .nav-card-content p {
    font-size: 0.9rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .grades-section {
    padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px));
  }

  .grades-section .add-note-btn {
    position: fixed !important;
    left: 50% !important;
    bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 2rem) !important;
    max-width: 360px !important;
    border-radius: 999px !important;
    font-size: 1.1rem !important;
    padding: 1rem 2rem !important;
    justify-content: center !important;
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45) !important;
    background: white !important;
    color: #f97316 !important;
    z-index: 1100 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .grades-section .add-note-btn span:first-child {
    font-size: 1.25rem;
  }

  .grades-grid,
  .notes-grid,
  .evaluations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .evaluation-card.latest-evaluation {
    padding: 1.5rem;
    transform: scale(1);
  }

  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 28px 28px 0 0;
    padding: 1.75rem 1.5rem 2rem;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
  }

  .saving-modal {
    padding: 2rem 2.5rem;
    min-width: 280px;
  }

  .saving-spinner {
    width: 48px;
    height: 48px;
  }

  .saving-modal p {
    font-size: 1.1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .grades-grid,
  .notes-grid,
  .evaluations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .evaluation-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .evaluation-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .teacher-info {
    align-items: flex-start;
    width: 100%;
  }

  .teacher-info-item {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }

  .teacher-name,
  .teacher-subject {
    font-size: 0.85rem;
  }

  .grade-images {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .evaluation-stats {
    grid-template-columns: 1fr;
  }

  .teacher-info-item {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
  }

  .teacher-name,
  .teacher-subject {
    font-size: 0.8rem;
  }

  .teacher-icon,
  .subject-icon {
    font-size: 0.9rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-cancel,
  .btn-submit {
    width: 100%;
  }
}

/* ============================================
   YENİ DEĞERLENDİRME TASARIMI
   ============================================ */

/* Genel Durum Özeti */
.evaluation-overall-status {
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.overall-status-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.overall-status-icon {
  font-size: 3rem;
}

.overall-status-text {
  flex: 1;
}

.overall-status-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.overall-status-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.overall-status-scores {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.overall-score-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.overall-score-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.overall-score-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

/* Ders Filtreleme */
.subject-filter-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-label {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.subject-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.subject-filter-btn {
  padding: 0.75rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.subject-filter-btn:hover {
  border-color: #667eea;
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.subject-filter-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Modern Değerlendirme Listesi */
.evaluations-list-modern {
  width: 100%;
}

.evaluations-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.evaluation-card-modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  cursor: pointer;
}

.evaluation-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #e5e7eb;
}

.evaluation-card-modern.unread {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(to right, #eff6ff 0%, white 10%);
}

.evaluation-card-modern.latest {
  border: 2px solid #667eea;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

/* Durum Badge */
.evaluation-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.evaluation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.evaluation-card-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.evaluation-date-modern {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.latest-badge-modern {
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.unread-badge-modern {
  padding: 0.35rem 0.75rem;
  background: #3b82f6;
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.evaluation-avg-score {
  font-size: 1rem;
  font-weight: 700;
}

/* Öğretmen Bilgisi */
.evaluation-teacher-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 12px;
}

.teacher-info-modern,
.subject-info-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.teacher-icon-modern,
.subject-icon-modern {
  font-size: 1.1rem;
}

.teacher-name-modern {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
}

.subject-name-modern {
  font-size: 0.95rem;
  font-weight: 600;
  color: #7c3aed;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border-radius: 8px;
}

/* Puanlar */
.evaluation-scores-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.score-item-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score-label-modern {
  min-width: 80px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.score-bar-container {
  flex: 1;
  height: 32px;
  background: #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.score-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.75rem;
  transition: width 0.5s ease;
  min-width: 60px;
}

.score-value-modern {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Notlar */
.evaluation-notes-modern {
  margin-top: 1rem;
  padding: 1rem;
  background: #fef3c7;
  border-radius: 12px;
  border-left: 4px solid #f59e0b;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #78350f;
}

.evaluation-notes-modern strong {
  color: #92400e;
}

/* Yorumlar */
.evaluation-comments-modern {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0f9ff;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.evaluation-comments-modern strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #1e40af;
  font-size: 0.95rem;
}

.comment-item-modern {
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid #e5e7eb;
}

.comment-author-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e40af;
}

.comment-teacher-icon-modern {
  font-size: 0.9rem;
}

.comment-teacher-name-modern {
  color: #1f2937;
  font-weight: 700;
}

.comment-separator-modern {
  color: #9ca3af;
}

.comment-subject-modern {
  color: #7c3aed;
  padding: 0.15rem 0.5rem;
  background: #f3f4f6;
  border-radius: 6px;
}

.comment-text-modern {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.comment-date-modern {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .evaluation-overall-status {
    padding: 1rem;
  }

  .overall-status-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .overall-status-icon {
    font-size: 2.5rem;
  }

  .overall-status-value {
    font-size: 1.5rem;
  }

  .subject-filter-buttons {
    gap: 0.5rem;
  }

  .subject-filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .evaluation-card-modern {
    padding: 1rem;
  }

  .evaluation-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .evaluation-status-badge {
    position: static;
    margin-bottom: 0.75rem;
    display: inline-block;
  }

  .score-item-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .score-label-modern {
    min-width: auto;
  }

  .score-bar-container {
    width: 100%;
  }
}

/* Yeni Kriterler Stilleri */
.evaluation-criteria-modern {
  margin-top: 1rem;
  padding: 1.25rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.criteria-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.criterion-item-modern {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.criterion-item-modern:hover {
  border-color: #f97316;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.1);
}

.criterion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.criterion-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  flex: 1;
}

.criterion-score {
  font-size: 1rem;
  font-weight: 700;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
}

.criterion-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  align-items: center;
  min-height: 24px;
}

.star-rating-display {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.criterion-stars .star,
.star-rating-display .star {
  font-size: 1.5rem;
  line-height: 1;
  transition: all 0.2s ease;
  display: inline-block;
  color: #d1d5db;
}

.criterion-stars .star.filled,
.star-rating-display .star.filled {
  color: #fbbf24;
  filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

.criterion-stars .star.half,
.star-rating-display .star.half {
  color: #fbbf24;
  opacity: 0.7;
  filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.2));
}

.criterion-stars .star.empty,
.star-rating-display .star.empty {
  color: #d1d5db;
  opacity: 0.5;
}

.criterion-bar-container {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.criterion-bar {
  height: 100%;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

@media (max-width: 768px) {
  .evaluation-criteria-modern {
    padding: 1rem;
  }

  .criterion-item-modern {
    padding: 0.75rem;
  }

  .criterion-label {
    font-size: 0.85rem;
  }

  .criterion-stars .star {
    font-size: 1.1rem;
  }
}

.analysis-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.analysis-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: calc(100vh - 0px);
  padding: 16px;
  background: #0a0f1c; /* yüksek kontrast kurumsal zemin */
  color: #e5e7eb;
  transform: translate(var(--pxshift-x, 0px), var(--pxshift-y, 0px));
  position: relative;
  overflow: hidden;
}

.analysis-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: 14px;
  background: #0b1220;
  border: 1px solid #1f2937; /* daha belirgin, kurumsal çerçeve */
}
.hero-title { font-size: 22px; font-weight: 800; color: #ffffff; }
.hero-subtitle { font-size: 13px; color: #cbd5e1; margin-top: 4px; }
.big-clock { font-size: 72px; font-weight: 900; letter-spacing: 1px; color:#ffffff; text-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.big-status { margin-top: 10px; font-size: 22px; font-weight: 900; color:#ffffff;  }
.big-status-detail { color:#e2e8f0; font-weight:800; }
.live-indicator { display:flex; align-items:center; gap:8px; color:#34d399; font-weight:800; }
.live-indicator .dot { width:10px; height:10px; border-radius:9999px; background:#34d399; box-shadow:0 0 0 0 rgba(52,211,153,0.7); animation:pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow:0 0 0 0 rgba(52,211,153,0.7);} 70% { box-shadow:0 0 0 10px rgba(52,211,153,0);} 100% { box-shadow:0 0 0 0 rgba(52,211,153,0);} }
.hero-right { display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.hero-right-top { display:flex; align-items:center; gap:10px; }
.fullscreen-btn { background:#111827; color:#f1f5f9; border:1px solid #334155; border-radius:8px; padding:8px 12px; cursor:pointer; z-index:2; position:relative; }
.fullscreen-btn:hover { background:#0b1220; }
.clock-panel { text-align:right; }
.clock-time { font-size:30px; font-weight:900; color:#0f172a; }
.clock-date { font-size:16px; color:#cbd5e1; }
.lesson-state { margin-top:6px; font-size:14px; color:#e5e7eb; }
.lesson-status { font-weight:900; color:#2563eb; }
.lesson-detail { color:#cbd5e1; }
.lesson-remaining { margin-top:6px; font-size:16px; color:#34d399; font-weight:900; }

.analysis-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.analysis-stat-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #111827; /* düz koyu panel */
  border: 1px solid #1f2937;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.analysis-stat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(90deg, #2563eb, #10b981, #f59e0b);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: cardBorder 8s linear infinite;
}
.analysis-stat-card { position: relative; overflow: hidden; }
@keyframes cardBorder { to { background-position: 300% 0; } }
.analysis-stat-card .stat-icon { font-size: 24px; }
.analysis-stat-card .stat-title { font-size: 12px; color: #cbd5e1; font-weight: 800; }
.analysis-stat-card .stat-value { font-size: 32px; color: #ffffff; font-weight: 900; letter-spacing: 0.5px; text-shadow: none; }
.analysis-stat-card .stat-subtitle { font-size: 12px; color: #94a3b8; margin-top: 4px; }
.analysis-stat-card.color-orange { border-top: 3px solid #f59e0b; }
.analysis-stat-card.color-blue { border-top: 3px solid #3b82f6; }
.analysis-stat-card.color-green { border-top: 3px solid #10b981; }
.analysis-stat-card.color-purple { border-top: 3px solid #8b5cf6; }
.analysis-stat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08); }

/* canlı ışıltı efekti */
.analysis-stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0% { left: -40%; } 60% { left: 140%; } 100% { left: 140%; } }

.analysis-lists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: calc(100vh - 16px - 70px - 120px);
  min-height: 360px;
}

/* Program Şeridi */
.schedule-strip {
  display: flex;
  width: 100%;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #334155;
  background: #0f172a;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.24);
}
.schedule-segment {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #cbd5e1;
  border-right: 1px solid rgba(148,163,184,0.2);
}
.schedule-segment.break { background: #0b1220; }
.schedule-segment.lesson { background: #0f172a; }
.schedule-segment.active { outline: 2px solid #3b82f6; z-index: 1; }
.schedule-segment .seg-label { opacity: 0.9; }
.schedule-segment .seg-now { position: absolute; bottom: 2px; right: 4px; font-size: 10px; color: #22c55e; font-weight: 900; }

.analysis-list {
  display: flex;
  flex-direction: column;
  background: #0b1220; /* koyu liste kartı */
  border: 1px solid #1f2937;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.5);
  height: 100%;
}
/* Swiper kesintisiz yavaş akış: linear timing */
.analysis-list .swiper-wrapper { transition-timing-function: linear !important; }
.analysis-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #0f172a;
  border-bottom: 1px solid #334155;
}
.analysis-list .header-left { display:flex; align-items:center; gap:10px; }
.analysis-list .header-icon { font-size: 18px; }
.analysis-list .header-title { font-size: 15px; font-weight: 900; color:#ffffff; }

.analysis-list .header-count {
  font-size: 12px;
  font-weight: 900;
  color:#e2e8f0;
  background:#111827;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid #334155;
}

.list-scroll {
  overflow: auto;
  padding: 8px;
  flex: 1;
}
.list-scroll.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.list-scroll.grid-two .list-row.card { border: 1px solid rgba(51,65,85,0.6); border-radius: 10px; }
.list-scroll.grid-two .row-main { align-items: flex-start; }
.list-scroll.marquee-vertical {
  --marquee-duration: 40s;
  --marquee-gap: 12px;
  overflow: hidden;
  position: relative;
  will-change: transform;
}
.list-scroll.marquee-vertical .marquee-track {
  display: flex;
  flex-direction: column;
  gap: var(--marquee-gap);
  animation: marqueeY var(--marquee-duration) linear infinite;
  will-change: transform;
}
.list-scroll.marquee-vertical:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeY {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.list-row {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(51,65,85,0.6);
  transition: background-color .2s ease;
}
.list-row:hover { background-color: rgba(30,41,59,0.45); }
.list-row.today-teacher { 
  background: linear-gradient(90deg, rgba(6,78,59,0.35), rgba(6,78,59,0)); 
  position: relative;
}
.list-row.today-teacher::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #10b981, #22c55e);
  box-shadow: 0 0 14px rgba(34,197,94,0.6);
  animation: pulseBar 2s ease-in-out infinite;
}
@keyframes pulseBar { 0%,100% { opacity: 0.7 } 50% { opacity: 1 } }
.list-row:last-child { border-bottom: none; }
.row-main { display:flex; align-items:center; gap:10px; }
.row-main .avatar { width:28px; height:28px; border-radius:50%; background:#1f2937; color:#e5e7eb; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; border:1px solid #334155; }
.row-main .avatar.with-image { position: relative; overflow: hidden; }
.row-main .avatar.with-image img { width:100%; height:100%; object-fit: cover; display:block; }
.row-main .avatar.with-image .avatar-fallback { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.row-main .info { display:flex; flex-direction:column; gap:4px; }
.row-main .name { font-size:14px; font-weight:900; color:#f8fafc; }
.row-main .meta { display:flex; align-items:center; gap:6px; }
.badge { font-size:11px; padding:4px 9px; border-radius:999px; border:1px solid transparent; color:#f8fafc; }
.badge.subject { background:#1e3a8a; color:#dbeafe; }
.badge.classes { background:#3b0764; color:#f5d0fe; }
.badge.today { background:#064e3b; color:#a7f3d0; font-weight:800; }
.badge.class { background:#7c2d12; color:#fde68a; }
.badge.status.ok { background:#065f46; color:#a7f3d0; }
.badge.status.warn { background:#7c2d12; color:#fed7aa; }
.badge.status.idle { background:#334155; color:#cbd5e1; }

/* Arka plan animasyonları */
.analysis-animated-bg { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.bg-blob { position:absolute; width:380px; height:380px; border-radius:9999px; filter: blur(60px); opacity:.12; animation: float 16s ease-in-out infinite; }
.blob-1 { background: #2563eb; top:-80px; left:-80px; }
.blob-2 { background: #10b981; bottom:-100px; right:-120px; animation-delay: 2s; }
.blob-3 { background: #f59e0b; top:40%; left:60%; animation-delay: 4s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.bg-grid { position:absolute; inset:0; background-image: linear-gradient(to right, rgba(148,163,184,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(148,163,184,.08) 1px, transparent 1px); background-size: 28px 28px; animation: gridFade 14s ease-in-out infinite; }
@keyframes gridFade { 0%,100% { opacity: .18 } 50% { opacity: .26 } }

/* Responsive */
@media (max-width: 1024px) {
  .analysis-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analysis-lists-grid { grid-template-columns: 1fr; height: calc(100vh - 16px - 70px - 240px); }
}

@media (max-width: 640px) {
  .analysis-stat-card .stat-value { font-size: 24px; }
  .analysis-container { padding: 12px; }
}


/* Analysis Screen 2 - Parlak Turuncu Tema */
.analysis-screen-2 {
  background: linear-gradient(135deg, 
    #fff5f0 0%, 
    #ffe4d6 25%, 
    #ffd4bc 50%, 
    #ffc4a3 75%, 
    #ffb489 100%);
  min-height: 100vh;
}

/* Tam ekran modu arka plan fix */
.analysis-screen-2:fullscreen {
  background: linear-gradient(135deg, 
    #fff5f0 0%, 
    #ffe4d6 25%, 
    #ffd4bc 50%, 
    #ffc4a3 75%, 
    #ffb489 100%);
}

.analysis-screen-2:-webkit-full-screen {
  background: linear-gradient(135deg, 
    #fff5f0 0%, 
    #ffe4d6 25%, 
    #ffd4bc 50%, 
    #ffc4a3 75%, 
    #ffb489 100%);
}

.analysis-screen-2:-moz-full-screen {
  background: linear-gradient(135deg, 
    #fff5f0 0%, 
    #ffe4d6 25%, 
    #ffd4bc 50%, 
    #ffc4a3 75%, 
    #ffb489 100%);
}

.analysis-screen-2:-ms-fullscreen {
  background: linear-gradient(135deg, 
    #fff5f0 0%, 
    #ffe4d6 25%, 
    #ffd4bc 50%, 
    #ffc4a3 75%, 
    #ffb489 100%);
}

.analysis-screen-2 .analysis-container {
  background: transparent;
}

/* Parlak turuncu tema için animasyonlu arka plan */
.analysis-screen-2 .analysis-animated-bg {
  background: transparent;
}

.analysis-screen-2 .bg-blob {
  background: radial-gradient(circle, rgba(255, 127, 50, 0.25) 0%, rgba(255, 159, 64, 0.15) 50%, transparent 70%);
}

.analysis-screen-2 .bg-grid {
  background-image: 
    linear-gradient(rgba(255, 127, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 127, 50, 0.08) 1px, transparent 1px);
}

/* Hero section - Parlak turuncu tema */
.analysis-screen-2 .analysis-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 3px solid rgba(255, 127, 50, 0.4);
  box-shadow: 0 12px 40px rgba(255, 127, 50, 0.25);
}

.analysis-screen-2 .big-clock {
  color: #ff7f32 !important;
  text-shadow: 
    0 2px 10px rgba(255, 127, 50, 0.5),
    0 0 30px rgba(255, 159, 64, 0.3),
    0 0 60px rgba(255, 191, 101, 0.2);
  font-weight: 900 !important;
  /* Transparan gradient yerine solid color */
}

.analysis-screen-2 .big-status-main {
  color: #d97706;
  font-weight: 700;
}

.analysis-screen-2 .big-status-detail {
  color: #f59e0b;
}

.analysis-screen-2 .live-indicator {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.2) 0%, rgba(255, 159, 64, 0.15) 100%);
  color: #ff7f32;
  border: 2px solid rgba(255, 127, 50, 0.5);
}

.analysis-screen-2 .live-indicator .dot {
  background: #ff7f32;
  box-shadow: 0 0 0 0 rgba(255, 127, 50, 0.8);
  animation: pulse-bright-orange 2s infinite;
}

@keyframes pulse-bright-orange {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 127, 50, 0.8);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 127, 50, 0);
  }
}

.analysis-screen-2 .fullscreen-btn {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.2) 0%, rgba(255, 159, 64, 0.15) 100%);
  color: #ff7f32;
  border: 2px solid rgba(255, 127, 50, 0.5);
}

.analysis-screen-2 .fullscreen-btn:hover {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.3) 0%, rgba(255, 159, 64, 0.25) 100%);
  border-color: rgba(255, 127, 50, 0.7);
  transform: scale(1.05);
}

.analysis-screen-2 .clock-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 245, 235, 0.85) 100%);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 127, 50, 0.4);
}

.analysis-screen-2 .clock-date {
  color: #d97706;
  font-weight: 600;
}

.analysis-screen-2 .lesson-remaining {
  color: #ff7f32;
  background: #ffdbdb;
  font-weight: 700;
  font-size: 36px!important;
}

/* Program Şeridi - Parlak turuncu */
.analysis-screen-2 .schedule-strip {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 3px solid rgba(255, 127, 50, 0.4);
  box-shadow: 0 6px 30px rgba(255, 127, 50, 0.2);
}

.analysis-screen-2 .schedule-segment.lesson {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.15) 0%, rgba(255, 159, 64, 0.12) 100%);
  border: 2px solid rgba(255, 127, 50, 0.3);
}

.analysis-screen-2 .schedule-segment.lesson.active {
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffbf65 100%);
  border-color: #ff6f22;
  box-shadow: 0 4px 15px rgba(255, 127, 50, 0.4);
}

.analysis-screen-2 .schedule-segment.break {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.analysis-screen-2 .seg-label {
  color: #d97706;
  font-weight: 700;
}

.analysis-screen-2 .schedule-segment.lesson.active .seg-label {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.analysis-screen-2 .seg-now {
  background: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 800;
}

/* Stats Grid - Parlak turuncu */
.analysis-screen-2 .analysis-stats-grid {
  gap: 28px;
}

.analysis-screen-2 .analysis-stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 3px solid rgba(255, 127, 50, 0.4);
  box-shadow: 0 10px 40px rgba(255, 127, 50, 0.2);
}

.analysis-screen-2 .analysis-stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 50px rgba(255, 127, 50, 0.3);
  border-color: rgba(255, 127, 50, 0.6);
}

.analysis-screen-2 .stat-title {
  color: #d97706;
  font-weight: 700;
}

.analysis-screen-2 .stat-value {
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 25%, #ffbf65 50%, #ff9f40 75%, #ff7f32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(255, 127, 50, 0.3));
}

.analysis-screen-2 .stat-subtitle {
  color: #f59e0b;
  font-weight: 500;
}

/* Nöbetçi Öğretmenler Card - Minimal Yatay */
.duty-teachers-card-2.horizontal {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 3px solid rgba(255, 127, 50, 0.4);
  box-shadow: 0 10px 40px rgba(255, 127, 50, 0.2);
  border-radius: 30px;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.duty-teachers-card-2.horizontal:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 50px rgba(255, 127, 50, 0.3);
  border-color: rgba(255, 127, 50, 0.6);
}

.duty-headere {
display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 127, 50, 0.3);
}

.duty-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 6px rgba(255, 127, 50, 0.3));
}

.duty-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ff8400;
}

.duty-teachers-horizontal {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

.duty-teacher-minimal {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.08) 0%, rgba(255, 159, 64, 0.05) 100%);
  border: 2px solid rgba(255, 127, 50, 0.3);
  border-radius: 18px;
  padding: 16px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 240px;
}

.duty-teacher-minimal:hover {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.15) 0%, rgba(255, 159, 64, 0.1) 100%);
  border-color: rgba(255, 127, 50, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 127, 50, 0.25);
}

.duty-avatar-minimal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #ff7f32;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(255, 127, 50, 0.3);
}

.duty-avatar-fallback-minimal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #ff7f32;
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffbf65 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 127, 50, 0.3);
}

.duty-info-minimal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.duty-name-minimal {
  font-size: 26px;
  font-weight: 800;
  color: #d97706;
  line-height: 1.2;
}

.duty-location-minimal {
  font-size: 1rem;
  color: #ff7f32;
  font-weight: 700;
}

.no-duty-minimal {
  text-align: center;
  padding: 15px;
  color: #f59e0b;
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
}

/* Mesai saatleri dışında nöbetçi öğretmenler şeffaflaştır */
.duty-teachers-horizontal.outside-hours {
  opacity: 0.4;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

/* Mesai saatleri dışında bilgi kutusu */
.outside-hours-notice {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.notice-icon {
  font-size: 20px;
  color: #ef4444;
  flex-shrink: 0;
}

.notice-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notice-title {
  font-size: 23px;
  font-weight: 600;
  color: #dc2626;
  line-height: 1.3;
}

.notice-subtitle {
  font-size: 11px;
  color: #991b1b;
  font-weight: 500;
  opacity: 0.8;
}

/* Bugün Dersi Olan Sınıflar Card - Minimal */
.today-classes-card-2 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 3px solid rgba(255, 127, 50, 0.4);
  box-shadow: 0 10px 40px rgba(255, 127, 50, 0.2);
  border-radius: 30px;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.today-classes-card-2:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 50px rgba(255, 127, 50, 0.3);
  border-color: rgba(255, 127, 50, 0.6);
}

.classes-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 127, 50, 0.3);
}

.classes-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 6px rgba(255, 127, 50, 0.3));
}

.classes-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ff8400;
}

.classes-count-badge {
  display: inline-flex;
  align-self: center;
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffbf65 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(255, 127, 50, 0.3);
}

.classes-list-horizontal {
  display: block;
  overflow: hidden;
  padding: 6px 8px;
  width: 100%;
  height: 320px;
  box-sizing: border-box;
  position: relative;
}

.classes-scroll-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.class-badge-minimal {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.12) 0%, rgba(255, 159, 64, 0.08) 100%);
  border: 2px solid rgba(255, 127, 50, 0.4);
  border-radius: 15px;
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 700;
  color: #d97706;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.class-badge-minimal.past {
  opacity: 0.6;
  text-decoration: line-through;
}

.class-badge-minimal:hover {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.2) 0%, rgba(255, 159, 64, 0.15) 100%);
  border-color: rgba(255, 127, 50, 0.6);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 127, 50, 0.3);
}

.class-teacher-info {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #8a6d3b;
  opacity: 0.9;
}

.class-name-strong {
  font-weight: 900;
  color: #b45309; /* amber-700 */
}

.classes-next-up {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin: 4px 0 6px;
  background: rgba(255, 159, 64, 0.12);
  border: 2px dashed rgba(255, 127, 50, 0.4);
  border-radius: 10px;
}
.classes-next-up .next-up-label { font-weight: 800; color: #d97706; }
.classes-next-up .next-up-class { font-weight: 900; color: #b45309; }
.classes-next-up .next-up-time { font-weight: 700; color: #dd6b20; }

.no-classes-today {
  text-align: center;
  padding: 15px;
  color: #f59e0b;
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
}

/* Sınıf sayısı az olduğunda bilgi kutusu */
.classes-info-notice {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.classes-notice-icon {
  font-size: 20px;
  color: #3b82f6;
  flex-shrink: 0;
}

.classes-notice-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.classes-notice-title {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  line-height: 1.3;
}

.classes-notice-subtitle {
  font-size: 11px;
  color: #1d4ed8;
  font-weight: 500;
  opacity: 0.8;
}

/* Şuan İçeride Olan Öğrenciler Card */
.students-inside-card-2 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 3px solid rgba(255, 127, 50, 0.4);
  box-shadow: 0 10px 40px rgba(255, 127, 50, 0.2);
  border-radius: 30px;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 350px;
  max-height: 450px;
  position: relative;
  overflow: hidden;
}

.students-inside-card-2:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 50px rgba(255, 127, 50, 0.3);
  border-color: rgba(255, 127, 50, 0.6);
}

.students-inside-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 127, 50, 0.3);
}

.students-inside-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 6px rgba(255, 127, 50, 0.3));
}

.students-inside-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ff8400;
}

.students-inside-list {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 280px;
  max-height: 280px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 8px;
  box-shadow: inset 0 2px 10px rgba(255, 127, 50, 0.1);
  mask: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Kayan liste için scroll gizle */
.students-inside-list::-webkit-scrollbar {
  display: none;
}

.students-inside-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Kayan içerik */
.scroll-content {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  contain: content;
  animation: scrollUp 8s linear infinite;
  animation-play-state: running;
  animation-fill-mode: both;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  position: relative;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Hover durumunda animasyonu duraklat */
.students-inside-list:hover .scroll-content {
  animation-play-state: paused;
}

/* Animasyonu zorla başlat */
.students-inside-list .scroll-content {
  animation: scrollUp 10s linear infinite !important;
}

/* Uzun öğrenci isimleri satır kaydırma (taşma önleme) */
.student-inside-item .student-info .student-name {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Analysis v2 listesinde isim sarma */
.analysis-screen-2 .list-row .info .name {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.students-inside-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  z-index: 2;
  pointer-events: none;
}

.students-inside-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  z-index: 2;
  pointer-events: none;
}

.student-inside-item {
  display: flex;
  align-items: center;
  padding: 12px 16px; /* Daha geniş padding */
  margin-bottom: 6px; /* Daha fazla boşluk */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-radius: 16px; /* Daha yuvarlak köşeler */
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 60px; /* Daha yüksek kartlar */
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.student-inside-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.student-inside-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 253, 244, 0.95) 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
}

.student-inside-item:hover::before {
  left: 100%;
}

/* Çevrimiçi durum göstergesi */
.student-status-indicator {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  position: relative;
}

.online-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: onlinePulse 2s ease-in-out infinite;
  position: relative;
}

.online-dot::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  opacity: 0.3;
  animation: onlineRipple 2s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
  }
}

@keyframes onlineRipple {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.student-avatar::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.student-inside-item:hover .student-avatar::after {
  opacity: 1;
}

.student-info {
  flex: 1;
    min-width: 0;
    /* max-width: 100%; */
  
    flex-direction: column;
    gap: 4px;
    align-content: center;
    align-items: center;
    max-width: 100%;
    display: flow;
}

.student-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  display: flow;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.student-class {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
  opacity: 0.8;
}

.no-students-inside {
  color: #718096;
  font-style: italic;
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  border: 2px dashed rgba(255, 127, 50, 0.3);
}

.no-students-inside::before {
  content: '📚';
  font-size: 32px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.card-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card-action-item {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.08) 0%, rgba(255, 159, 64, 0.05) 100%);
  border: 2px solid rgba(255, 127, 50, 0.3);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-action-item.entry {
  border-left: 5px solid #10b981;
}

.card-action-item.exit {
  border-left: 5px solid #ef4444;
}

.card-action-item:hover {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.15) 0%, rgba(255, 159, 64, 0.1) 100%);
  border-color: rgba(255, 127, 50, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 127, 50, 0.25);
}

.action-icon {
  font-size: 3rem;
  margin-bottom: 5px;
}

.action-label {
  font-size: 1rem;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.action-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.student-name-card {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ff7f32;
  text-align: center;
}

.student-class-card {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f59e0b;
  background: rgba(255, 127, 50, 0.15);
  padding: 5px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 127, 50, 0.3);
}

.no-action {
  font-size: 0.9rem;
  color: #94a3b8;
  font-style: italic;
  text-align: center;
}

/* Zil Modal - Ders ve Teneffüs Bildirimleri */
.bell-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: bellFadeIn 0.3s ease-in-out;
}

@keyframes bellFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bell-modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(30px);
  border-radius: 40px;
  padding: 60px 80px;
  text-align: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
  animation: bellBounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 5px solid #ff7f32;
}

@keyframes bellBounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.bell-modal-content.lesson {
  border-color: #ff7f32;
  box-shadow: 0 20px 80px rgba(255, 127, 50, 0.5);
}

.bell-modal-content.break {
  border-color: #10b981;
  box-shadow: 0 20px 80px rgba(16, 185, 129, 0.5);
}

.bell-icon-large {
  font-size: 8rem;
  margin-bottom: 30px;
  animation: bellRing 0.5s ease-in-out 0.3s;
}

@keyframes bellRing {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: rotate(-10deg);
  }
  20%, 40%, 60%, 80% {
    transform: rotate(10deg);
  }
}

.bell-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffbf65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 12px rgba(255, 127, 50, 0.3);
  animation: bellTitlePulse 1s ease-in-out infinite alternate;
}

@keyframes bellTitlePulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.bell-modal-content.break .bell-title {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bell-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d97706;
  margin: 0;
}

.bell-modal-content.break .bell-subtitle {
  color: #059669;
}

/* Özel Gün Modal */
.special-day-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  animation: specialFadeIn .25s ease;
}
.special-day-modal-overlay.closing { animation: specialFadeOut .25s ease forwards; }
@keyframes specialFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes specialFadeOut { from { opacity: 1; } to { opacity: 0; } }

.special-day-modal-content {
  background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(255,245,235,.95) 100%);
  border: 4px solid rgba(255,127,50,.6);
  border-radius: 28px;
  padding: 28px 32px;
  width: min(720px, 92vw);
  text-align: center;
  box-shadow: 0 20px 80px rgba(255,127,50,.35);
  animation: specialZoomIn .3s cubic-bezier(.2,.7,.2,1.1);
}
.special-day-modal-content.closing { animation: specialZoomOut .25s ease forwards; }
@keyframes specialZoomIn { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes specialZoomOut { from { transform: scale(1); opacity: 1; } to { transform: scale(.85); opacity: 0; } }

.special-day-icon { font-size: 64px; margin-bottom: 10px; }
.special-day-title { font-size: 34px; font-weight: 900; color: #d97706; margin: 4px 0; }
.special-day-subtitle { font-size: 18px; font-weight: 700; color: #f59e0b; margin-bottom: 6px; }
.special-day-date { font-size: 16px; font-weight: 700; color: #ff7f32; margin-bottom: 12px; }
.special-day-desc { font-size: 16px; color: #374151; line-height: 1.5; }

/* Kart Okuma Modal */
.card-read-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: cardReadFadeIn 0.25s ease-in-out;
  backdrop-filter: blur(10px);
}

.card-read-modal-overlay.entry {
  background: rgba(16, 185, 129, 0.15);
}

.card-read-modal-overlay.exit {
  background: rgba(59, 130, 246, 0.15);
}

.card-read-modal-overlay.closing {
  animation: cardReadFadeOut 0.3s ease-in-out;
}

@keyframes cardReadFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cardReadFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.card-read-modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(40px);
  border-radius: 48px;
  padding: 60px 80px;
  text-align: center;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.5);
  animation: cardReadSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 6px solid #ff7f32;
  min-width: 600px;
  max-width: 90vw;
  position: relative;
  overflow: hidden;
}

.card-read-modal-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: cardReadShine 3s ease-in-out infinite;
}

@keyframes cardReadShine {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.card-read-modal-content.entry {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(220, 252, 231, 0.95) 100%);
  border-color: #10b981;
  box-shadow: 0 30px 120px rgba(16, 185, 129, 0.4);
}

.card-read-modal-content.exit {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(219, 234, 254, 0.95) 100%);
  border-color: #3b82f6;
  box-shadow: 0 30px 120px rgba(59, 130, 246, 0.4);
}

@keyframes cardReadSlideIn {
  0% {
    transform: translateY(-150px) scale(0.6) rotate(-5deg);
    opacity: 0;
  }
  60% {
    transform: translateY(10px) scale(1.05) rotate(2deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

.card-read-icon {
  font-size: 8rem;
  margin-bottom: 30px;
  animation: cardReadWave 0.8s ease-in-out;
  display: inline-block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.card-read-modal-content.entry .card-read-icon {
  animation: cardReadWaveEntry 0.8s ease-in-out;
}

.card-read-modal-content.exit .card-read-icon {
  animation: cardReadWaveExit 0.8s ease-in-out;
}

@keyframes cardReadWave {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-15deg) scale(1.1); }
  75% { transform: rotate(15deg) scale(1.1); }
}

@keyframes cardReadWaveEntry {
  0%, 100% { transform: rotate(0deg) scale(1) translateY(0); }
  25% { transform: rotate(-20deg) scale(1.15) translateY(-10px); }
  50% { transform: rotate(0deg) scale(1.2) translateY(-5px); }
  75% { transform: rotate(20deg) scale(1.15) translateY(-10px); }
}

@keyframes cardReadWaveExit {
  0%, 100% { transform: rotate(0deg) scale(1) translateY(0); }
  25% { transform: rotate(20deg) scale(1.1) translateY(5px); }
  50% { transform: rotate(0deg) scale(1.15) translateY(10px); }
  75% { transform: rotate(-20deg) scale(1.1) translateY(5px); }
}

.card-read-title {
  font-size: 3.8rem;
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
  animation: cardReadTitlePop 0.6s ease-in-out 0.2s both;
  letter-spacing: -0.5px;
}

.card-read-modal-content.entry .card-read-title {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-read-modal-content.exit .card-read-title {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes cardReadTitlePop {
  0% { 
    transform: scale(0.4) translateY(30px); 
    opacity: 0; 
  }
  50% { 
    transform: scale(1.08) translateY(-5px); 
  }
  100% { 
    transform: scale(1) translateY(0); 
    opacity: 1; 
  }
}

.card-read-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 20px;
  animation: cardReadSubtitleFade 0.6s ease-in-out 0.4s both;
  font-style: italic;
}

.card-read-modal-content.entry .card-read-subtitle {
  color: #059669;
}

.card-read-modal-content.exit .card-read-subtitle {
  color: #2563eb;
}

@keyframes cardReadSubtitleFade {
  from { 
    opacity: 0; 
    transform: translateY(15px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.card-read-student-name {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ff7f32;
  margin: 20px 0;
  animation: cardReadNameFade 0.6s ease-in-out 0.2s both;
}

@keyframes cardReadNameFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-read-badge {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 25px;
  margin-top: 15px;
  animation: cardReadBadgePulse 1s ease-in-out infinite alternate;
}

@keyframes cardReadBadgePulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}


/* Şuan Akademideki Öğrenciler Card */
.students-at-school-card-2 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 3px solid rgba(255, 127, 50, 0.4);
  box-shadow: 0 10px 40px rgba(255, 127, 50, 0.2);
  border-radius: 30px;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.students-at-school-card-2:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 50px rgba(255, 127, 50, 0.3);
  border-color: rgba(255, 127, 50, 0.6);
}

.students-at-school-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 127, 50, 0.3);
}

.students-at-school-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 6px rgba(255, 127, 50, 0.3));
}

.students-at-school-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ff8400;
}

.students-at-school-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  gap: 15px;
}

.student-count-big {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffb950 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: studentCountPulse 2s ease-in-out infinite;
}

@keyframes studentCountPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.student-count-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 127, 50, 0.1);
  padding: 8px 20px;
  border-radius: 15px;
  border: 2px solid rgba(255, 127, 50, 0.3);
}

/* Geç saatlerde öğrenci uyarısı */
.late-student-warning {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
  border: 2px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
  animation: warningPulse 2s ease-in-out infinite;
}

.warning-icon {
  font-size: 24px;
  color: #ef4444;
  flex-shrink: 0;
  animation: warningBounce 1.5s ease-in-out infinite;
}

.warning-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.warning-title {
  font-size: 14px;
  font-weight: 700;
  color: #dc2626;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.warning-subtitle {
  font-size: 12px;
  color: #991b1b;
  font-weight: 600;
  opacity: 0.9;
}

@keyframes warningPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
  }
}

@keyframes warningBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Lists Grid - Parlak turuncu */
.analysis-screen-2 .analysis-list {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 3px solid rgba(255, 127, 50, 0.4);
  box-shadow: 0 10px 40px rgba(255, 127, 50, 0.2);
}

.analysis-screen-2 .analysis-list-header {
  border-bottom: 3px solid rgba(255, 127, 50, 0.5);
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.08) 0%, rgba(255, 159, 64, 0.05) 100%);
  padding: 20px 24px;
}

.analysis-screen-2 .header-title {
  color: #d97706;
  font-weight: 800;
  font-size: 1.3rem;
}

.analysis-screen-2 .header-count {
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffbf65 100%);
  color: white;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 127, 50, 0.3);
}

.analysis-screen-2 .list-row {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 245, 0.9) 100%);
  border: 2px solid rgba(255, 127, 50, 0.15);
}

.analysis-screen-2 .list-row:hover {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.08) 0%, rgba(255, 159, 64, 0.06) 100%);
  border-color: rgba(255, 127, 50, 0.4);
  transform: translateX(4px);
}

.analysis-screen-2 .list-row.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  border: 2px solid rgba(255, 127, 50, 0.25);
}

.analysis-screen-2 .list-row.today-teacher {
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.15) 0%, rgba(255, 159, 64, 0.12) 100%);
  border-color: rgba(255, 127, 50, 0.5);
  box-shadow: 0 4px 15px rgba(255, 127, 50, 0.2);
}

.analysis-screen-2 .avatar {
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffbf65 100%);
  color: white;
  border: 3px solid rgba(255, 127, 50, 0.4);
}

.analysis-screen-2 .avatar.with-image {
  border-color: #ff7f32;
}

.analysis-screen-2 .name {
  color: #d97706;
  font-weight: 700;
}

.analysis-screen-2 .badge {
  background: rgba(255, 127, 50, 0.15);
  color: #ff7f32;
  border: 2px solid rgba(255, 127, 50, 0.3);
  font-weight: 600;
}

.analysis-screen-2 .badge.today {
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffbf65 100%);
  color: white;
  border-color: #ff6f22;
  box-shadow: 0 2px 8px rgba(255, 127, 50, 0.3);
  font-weight: 700;
}

.analysis-screen-2 .badge.status.ok {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
  font-weight: 600;
}

.analysis-screen-2 .badge.status.warn {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  font-weight: 600;
}

.analysis-screen-2 .badge.status.idle {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
  font-weight: 600;
}

/* Loading - Parlak turuncu */
.analysis-screen-2 .analysis-loading {
  color: #d97706;
  font-weight: 700;
}

.analysis-screen-2 .spinner {
  border: 5px solid rgba(255, 127, 50, 0.25);
  border-top-color: #ff7f32;
  box-shadow: 0 4px 15px rgba(255, 127, 50, 0.2);
}

/* Duty Modal Styles */
.duty-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  backdrop-filter: blur(20px);
  animation: dutyModal3DFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 1000px;
  transform-style: preserve-3d;
}

.duty-modal-overlay.closing {
  animation: dutyModal3DFadeOut 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(0px);
  background: rgba(0, 0, 0, 0);
}

.duty-modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 24px;
  padding: 40px;
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: dutyModal3DSlideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

.duty-modal-content.closing {
  animation: dutyModal3DSlideOut 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.6) translateY(100px) rotateX(15deg);
  opacity: 0;
}

.duty-modal-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 127, 50, 0.2);
}

.duty-modal-logo {
  margin-bottom: 20px;
}

.duty-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(255, 127, 50, 0.3);
}

.duty-modal-title {
  font-size: 3rem;
  font-weight: 800;
  color: #2c3e50;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  margin: 0;
  letter-spacing: 1px;
}

.duty-modal-teachers {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.duty-modal-teacher {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.1) 0%, rgba(255, 127, 50, 0.05) 100%);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 127, 50, 0.2);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation: dutyTeacher3DSlideIn 1s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.duty-modal-teacher:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 127, 50, 0.2);
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.15) 0%, rgba(255, 127, 50, 0.08) 100%);
}

.duty-modal-teacher-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 127, 50, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.duty-modal-teacher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duty-modal-avatar-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff7f32 0%, #ff6b1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
}

.duty-modal-teacher-info {
  flex: 1;
}

.duty-modal-teacher-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.duty-modal-teacher-location {
  font-size: 1.1rem;
  color: #e74c3c;
  font-weight: 600;
  margin-bottom: 5px;
  background: rgba(231, 76, 60, 0.1);
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-block;
}

.duty-modal-teacher-time {
  font-size: 1rem;
  color: #27ae60;
  font-weight: 600;
  background: rgba(39, 174, 96, 0.1);
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-block;
}

.duty-modal-no-teachers {
  text-align: center;
  font-size: 1.2rem;
  color: #7f8c8d;
  padding: 40px;
  background: rgba(127, 140, 141, 0.1);
  border-radius: 16px;
  border: 2px dashed rgba(127, 140, 141, 0.3);
}

/* Duty Modal Animations */
/* 3D Modal Animations */
@keyframes dutyModal3DFadeIn {
  0% {
    opacity: 0;
    backdrop-filter: blur(0px);
    background: rgba(0, 0, 0, 0);
  }
  50% {
    opacity: 0.7;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
  }
  100% {
    opacity: 1;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.95);
  }
}

@keyframes dutyModal3DSlideIn {
  0% {
    transform: scale(0.2) translateY(200px) rotateX(60deg) rotateY(30deg);
    opacity: 0;
    filter: blur(20px);
  }
  20% {
    transform: scale(0.4) translateY(120px) rotateX(40deg) rotateY(20deg);
    opacity: 0.3;
    filter: blur(15px);
  }
  40% {
    transform: scale(0.6) translateY(80px) rotateX(25deg) rotateY(10deg);
    opacity: 0.5;
    filter: blur(10px);
  }
  60% {
    transform: scale(0.8) translateY(40px) rotateX(10deg) rotateY(5deg);
    opacity: 0.7;
    filter: blur(5px);
  }
  80% {
    transform: scale(0.95) translateY(10px) rotateX(3deg) rotateY(2deg);
    opacity: 0.9;
    filter: blur(2px);
  }
  100% {
    transform: scale(1) translateY(0) rotateX(0deg) rotateY(0deg);
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes dutyTeacher3DSlideIn {
  0% {
    transform: translateX(-80px) translateY(30px) rotateX(20deg) rotateY(-15deg);
    opacity: 0;
    filter: blur(10px);
  }
  40% {
    transform: translateX(-30px) translateY(10px) rotateX(8deg) rotateY(-5deg);
    opacity: 0.7;
    filter: blur(4px);
  }
  100% {
    transform: translateX(0) translateY(0) rotateX(0deg) rotateY(0deg);
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes dutyModal3DFadeOut {
  0% {
    opacity: 1;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.95);
  }
  50% {
    opacity: 0.5;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
  }
  100% {
    opacity: 0;
    backdrop-filter: blur(0px);
    background: rgba(0, 0, 0, 0);
  }
}

@keyframes dutyModal3DSlideOut {
  0% {
    transform: scale(1) translateY(0) rotateX(0deg) rotateY(0deg);
    opacity: 1;
    filter: blur(0px);
  }
  20% {
    transform: scale(0.95) translateY(10px) rotateX(3deg) rotateY(2deg);
    opacity: 0.9;
    filter: blur(2px);
  }
  40% {
    transform: scale(0.8) translateY(40px) rotateX(10deg) rotateY(5deg);
    opacity: 0.7;
    filter: blur(5px);
  }
  60% {
    transform: scale(0.6) translateY(80px) rotateX(25deg) rotateY(10deg);
    opacity: 0.5;
    filter: blur(10px);
  }
  80% {
    transform: scale(0.4) translateY(120px) rotateX(40deg) rotateY(20deg);
    opacity: 0.3;
    filter: blur(15px);
  }
  100% {
    transform: scale(0.2) translateY(200px) rotateX(60deg) rotateY(30deg);
    opacity: 0;
    filter: blur(20px);
  }
}

.analysis-screen-3 {
  min-height: 100vh;
  background: radial-gradient(1200px 600px at -10% -10%, rgba(255, 210, 180, .55), transparent 60%),
              radial-gradient(900px 500px at 110% 10%, rgba(255, 180, 130, .45), transparent 50%),
              linear-gradient(135deg, #fff6ee 0%, #ffe7d9 30%, #ffd7c0 65%, #ffc6a6 100%);
  color: #1f2937;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
}

.analysis3-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 100vh;
  padding: 24px 28px;
  box-sizing: border-box;
}

.left-clock-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.analog-clock {
  position: relative;
  width: min(64vh, 82%);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background:#ffffff;
  border: 10px solid rgba(255, 127, 50, 0.25);
  box-shadow: 0 20px 60px rgba(255, 127, 50, 0.25), inset 0 0 40px rgba(255, 127, 50, 0.12);
  overflow: hidden;
}

.analog-clock.hour-pulse { box-shadow: 0 0 0 0 rgba(255,127,50,0.6), inset 0 0 40px rgba(255,127,50,0.18); animation: hourPulseGlow 1.2s ease-out; }
@keyframes hourPulseGlow { 0% { box-shadow: 0 0 0 0 rgba(255,127,50,0.7); } 100% { box-shadow: 0 0 0 40px rgba(255,127,50,0); } }

.clock-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: auto;
  opacity: 0.19;
  filter: blur(0.5px) saturate(110%);
  pointer-events: none;
}

.clock-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #ff7f32;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(255,127,50,0.8);
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  border-radius: 8px;
  transition: transform 0.05s linear;
}

.hand.hour { width: 10px; height: 26%; background: linear-gradient(180deg, #f59e0b, #d97706); box-shadow: 0 6px 12px rgba(245,158,11,0.25); }
.hand.minute { width: 6px; height: 36%; background: linear-gradient(180deg, #60a5fa, #2563eb); box-shadow: 0 6px 12px rgba(37,99,235,0.25); }
.hand.second { width: 3px; height: 42%; background: #ef4444; box-shadow: 0 6px 12px rgba(239,68,68,0.35); }

.ticks { position: absolute; inset: 0; }
.tick { position: absolute; top: 10px; left: 50%; width: 2px; height: 12px; background: rgba(255, 127, 50, 0.5); transform-origin: center 50vh; opacity: 0.9; }
.tick.major { height: 22px; width: 3px; left: 50%; background: rgba(255, 127, 50, 0.9); }

.numerals { position: absolute; inset: 0; display: grid; place-items: center; }
.numeral { position: absolute; top: 50%; left: 50%; transform-origin: center; color: #ff7f32; font-weight: 900; text-shadow: 0 2px 8px rgba(255,127,50,0.3); }

.digital-time { 
  font-size: clamp(48px, 5.2vw, 68px); 
  font-weight: 900; 
  letter-spacing: 2px; 
  background: linear-gradient(135deg, #ff7f32 0%, #ff9f40 50%, #ffbf65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 3px 18px rgba(255,127,50,0.4);
}

.lesson-state-below { text-align: center; display: flex; flex-direction: column; gap: 6px; max-width: 92%; }
.lesson-state-below .lesson-main { font-size: 30px; font-weight: 900; color: #10b981; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.lesson-state-below .lesson-sub { font-size: 20px; color: #9a3412; opacity: 0.98; font-weight: 700; }
.lesson-remaining-3 { font-size: 22px; font-weight: 900; color: #065f46; text-shadow: 0 2px 10px rgba(16,185,129,0.18); }

.right-info-panel { display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.block-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .3px;
  color: #ff7f32; /* turuncu tema ile uyumlu, yüksek kontrast */
  text-shadow: 0 2px 10px rgba(255, 127, 50, 0.25), 0 1px 0 rgba(255, 255, 255, 0.3);
  margin: 0 0 12px;
  line-height: 1.15;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  position: relative;
  padding-left: 12px;
}
.block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff9f40, #ff7f32);
  box-shadow: 0 2px 10px rgba(255,127,50,.35);
}

.duty-teachers-block, .classes-block {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 245, 235, 0.8) 100%);
  border: 1px solid rgba(255, 127, 50, 0.25);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 36px rgba(255,127,50,0.18);
  backdrop-filter: blur(10px);
}

.duty-items { display: flex; flex-wrap: wrap; gap: 14px; }
.duty-item { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, rgba(255, 127, 50, 0.12), rgba(255, 159, 64, 0.08)); border: 2px solid rgba(255,127,50,0.25); border-radius: 16px; padding: 14px 16px; min-width: 260px; transition: transform .2s ease, box-shadow .2s ease; }
.duty-item:hover, .duty-item:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,127,50,.25); outline: none; }
.duty-avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255,127,50,0.5); object-fit: cover; box-shadow: 0 4px 12px rgba(255,127,50,0.25); }
.duty-avatar-fallback { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #ff7f32, #ff9f40); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 1.75rem; }
.duty-info { display: flex; flex-direction: column; }
.duty-name { font-weight: 900; color: #d86f00; font-size: 24px; letter-spacing: .2px; }
.duty-meta { font-weight: 800; color: #7c2d12; font-size: 16px; opacity: .98; background:#ffedd5; border:1px solid #fdba74; padding:3px 8px; border-radius:8px; display:inline-block; }
.no-duty { color: #7c2d12; padding: 10px; }

.classes-list-3 { display: flex; flex-direction: row; gap: 12px; max-height: none; overflow-x: auto; overflow-y: hidden; white-space: nowrap; padding-bottom: 4px; scroll-behavior: auto; }
.classes-list-3::-webkit-scrollbar { height: 0px; background: transparent; }
.classes-list-3 { -ms-overflow-style: none; scrollbar-width: none; }
.class-row-3 {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 127, 50, 0.12), rgba(255, 159, 64, 0.08));
  border-radius: 14px;
  padding: 16px 18px;
  color: #1f2937;
  z-index: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  flex-direction: column;
  min-width: 360px;
}
.class-row-3::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(135deg, #ffb15a, #ff8b3d, #ff7f32);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}.class-row-3:hover, .class-row-3:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,127,50,.25); outline: none; }
.class-row-3.past { opacity: .85; filter: saturate(.85); }
.class-row-3 .class-row-top { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.badge-3 { display:inline-block; padding:4px 10px; border-radius:12px; font-weight:800; font-size:13px; letter-spacing:.3px; }
.badge-3.upcoming { background:#ffedd5; color:#b45309; border:1px solid #fdba74; }
.badge-3.past { background:#ffe4e6; color:#be123c; border:1px solid #fb7185; }
.badge-3.current { background:#dcfce7; color:#065f46; border:1px solid #86efac; }
.class-row-3.status-current { border: 2px solid #86efac; background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(52,211,153,.08)); }
.class-row-3.status-upcoming { border: 2px solid #fdba74; }
.class-row-3.status-past { border: 2px solid #fb7185; }
.class-time-3 { margin-left:auto; font-weight:900; color:#b45309; }
.class-name-3 { font-weight: 900; color: #811900; font-size: 28px; letter-spacing: .2px; }
.class-meta-3 { font-weight: 700; color: #b45309; font-size: 18px; opacity: .98; }
.no-classes-3 { color: #7c2d12; padding: 10px; }

.analysis3-loading, .analysis3-error { position: fixed; bottom: 14px; left: 14px; background: rgba(0,0,0,.5); padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }

/* Kart Okuma Modal - Analysis 3 */
.card-read-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display:flex; align-items:center; justify-content:center; z-index: 9999; }
.card-read-modal-overlay.closing { animation: cardFadeOut .25s ease forwards; }
@keyframes cardFadeOut { from { opacity:1 } to { opacity:0 } }
.card-read-modal-content { background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(255,245,235,.95) 100%); border-radius: 36px; padding: 42px 58px; text-align:center; border: 5px solid #ff7f32; box-shadow: 0 25px 100px rgba(255,127,50,.45); }
.card-read-icon { font-size: 64px; margin-bottom: 10px; }
.card-read-title { font-size: 42px; font-weight: 900; background: linear-gradient(135deg, #ff7f32, #ffbf65); -webkit-background-clip:text; -webkit-text-fill-color:transparent; margin: 0 0 8px; }
.card-read-student-name { font-size: 28px; font-weight: 800; color: #ff7f32; margin: 6px 0 12px; }
.card-read-badge { display:inline-block; font-size: 18px; font-weight: 800; padding: 8px 16px; border-radius: 14px; background: #ffe8d9; color: #b45309; border: 2px solid #fdba74; }

@media (max-width: 1100px) {
  .analysis3-container { grid-template-columns: 1fr; height: auto; }
  .analog-clock { width: min(60vh, 92vw); }
}


/* 32 inçlik TV Ekran Stilleri */
.display-screen {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    position: relative;
}

/* Loading State */
.display-screen.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #475569;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #3b82f6;
}

.time-section {
    text-align: left;
}

.current-time {
    font-size: 3rem;
    font-weight: 800;
    color: #3b82f6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.current-date {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-top: 5px;
}

.school-logo {
    text-align: center;
}

.school-logo h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    color: #f1f5f9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.school-logo p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin: 5px 0 0 0;
}

/* Main Content */
.display-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 30px 40px;
    height: calc(100vh - 120px);
}

/* Panels */
.left-panel, .center-panel, .right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cards */
.activity-card, .next-activity-card, .student-count-card, .last-action-card, .duty-teachers-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.activity-card:hover, .next-activity-card:hover, .student-count-card:hover, .last-action-card:hover, .duty-teachers-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Activity Cards */
.activity-header, .student-count-header, .last-action-header, .duty-teachers-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.activity-header h3, .student-count-header h3, .last-action-header h3, .duty-teachers-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #f1f5f9;
}

.activity-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-time {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.time-remaining {
    font-size: 1.3rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
}

.no-activity {
    font-size: 1.2rem;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
}

/* Student Count Card */
.student-count-info {
    text-align: center;
}

.student-count-number {
    font-size: 4rem;
    font-weight: 800;
    color: #10b981;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin-bottom: 10px;
}

.student-count-label {
    font-size: 1.3rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Last Action Card */
.last-action-info {
    text-align: center;
}

.student-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.action-type {
    font-size: 1.1rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 10px;
}

.action-time {
    font-size: 1rem;
    color: #94a3b8;
}

.no-action {
    font-size: 1.1rem;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
}

/* Duty Teachers Card */
.duty-teachers-list {
    max-height: 400px;
    overflow-y: auto;
}

.duty-teacher-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.duty-teacher-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.teacher-info {
    margin-bottom: 10px;
}

.teacher-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 5px;
}

.teacher-subject {
    font-size: 1rem;
    color: #94a3b8;
}

.teacher-location {
    font-size: 1rem;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 5px;
}

.teacher-time {
    font-size: 0.9rem;
    color: #94a3b8;
}

.no-duty-teachers {
    font-size: 1.1rem;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
}

/* Card Modal */
.card-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.card-modal {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.5s ease;
    border: 2px solid #3b82f6;
}

.card-modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

.card-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 15px;
}

.card-modal-student {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.card-modal-time {
    font-size: 1.2rem;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1920px) {
    .display-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        padding: 20px 30px;
    }
    
    .current-time {
        font-size: 2.5rem;
    }
    
    .school-logo h1 {
        font-size: 2rem;
    }
}

@media (max-width: 1366px) {
    .display-content {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .right-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .display-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .display-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .current-time {
        font-size: 2rem;
    }
    
    .school-logo h1 {
        font-size: 1.5rem;
    }
}
