/* Rüya Ailem V2.1.1 — Teacher Reference Exact
   Sadece öğretmen ana ekranını onaylanan referansa kilitler.
   Veli/yönetici ve mevcut işlevsel modüller değiştirilmez. */

/* Eski v74 teacher hub ana ekranı bir daha görünmesin. */
.role-teacher .v74TeacherHub,
.role-teacher.v742TeacherHome .v74TeacherHub { display:none !important; }

/* Ana ekran yalnız referanstaki bölümlerden oluşur. */
.role-teacher .ruya-r792-teacher-home .ruya-r792-alerts,
.role-teacher .ruya-r792-teacher-home .ruya-r792-other,
.role-teacher .ruya-r792-teacher-home .ruya-r792-students,
.role-teacher .ruya-r792-teacher-home .birthdayReminderCard { display:none !important; }

.role-teacher .ruya-r792-teacher-home { max-width:900px !important; }
.role-teacher .ruya-r792-teacher-hero { background:linear-gradient(118deg,#f1eaff 0%,#eee9ff 57%,#fff0b9 100%) !important; }
.role-teacher .ruya-r792-teacher-hero > img { filter:drop-shadow(0 12px 13px rgba(72,48,106,.10)) !important; }

/* Referanstaki durum kartlarında ikon solda, sayı/etiket sağda. */
.role-teacher .ruya-r792-summary-item {
  grid-template-columns:auto minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;
  place-items:initial !important;
  align-items:center !important;
  justify-items:start !important;
  column-gap:10px !important;
  row-gap:1px !important;
  text-align:left !important;
}
.role-teacher .ruya-r792-summary-item > span {
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  align-self:center !important;
  justify-self:center !important;
}
.role-teacher .ruya-r792-summary-item > b {
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:end !important;
}
.role-teacher .ruya-r792-summary-item > small {
  grid-column:2 !important;
  grid-row:2 !important;
  align-self:start !important;
}
.role-teacher .ruya-r792-summary-item.present > span { color:#24a96b !important; background:#ddf8e9 !important; }
.role-teacher .ruya-r792-summary-item.absent > span { color:#f05e6b !important; background:#ffe4e8 !important; }
.role-teacher .ruya-r792-summary-item.birthday > span { color:#eaa119 !important; background:#fff1ce !important; }

/* CTA referanstaki gibi tam ve okunaklı kalsın. */
@media (min-width:521px) and (max-width:980px) {
  .role-teacher .ruya-r792-now > button { grid-template-columns:auto auto minmax(0,1fr) auto !important; }
  .role-teacher .ruya-r792-now > button > small { display:block !important; }
}

/* Telefon ölçülerinde metin taşmasını engelle. */
@media (max-width:520px) {
  .role-teacher .ruya-r792-summary-item { column-gap:6px !important; }
  .role-teacher .ruya-r792-summary-item > span { width:34px !important; height:34px !important; }
  .role-teacher .ruya-r792-summary-item > span .monoIcon { width:20px !important; height:20px !important; }
  .role-teacher .ruya-r792-summary-item > b { font-size:18px !important; }
  .role-teacher .ruya-r792-summary-item > small { font-size:9px !important; }
}
