/* RÜYA PORTAL V2.4.24.3 HF8.9 — PICKUP + PRIVATE MEDIA + EVENT FILES + UPLOAD GUARD */
/* UI-only additions. Existing theme tokens/layout remain authoritative. */
.pickupStatusButtons .pickupPreparingButton{border:1px solid #d9e3ef;background:#f7f9fc;color:#344054}
.pickupStatusButtons .pickupPreparingButton:disabled{opacity:.7;cursor:default}
.pickupStatusButtons .completeButton{border:0;background:#183f7a;color:#fff}
.role-admin .v225PickupStats{grid-template-columns:repeat(3,minmax(0,1fr))}

.ruyaOptionalFieldTag{display:inline-block;margin-left:4px;font-size:10px!important;font-weight:650!important;letter-spacing:.02em;color:#667085!important;background:#f2f4f7;border-radius:999px;padding:2px 7px}

.teacherMediaSharePage{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:16px;align-items:start}
.teacherMediaShareCard,.teacherTodayShares{min-width:0}
.teacherMediaMode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
.teacherMediaMode button{min-height:44px;border:1px solid #dce3ed;border-radius:13px;background:#f8fafc;color:#475467;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.teacherMediaMode button.active{background:#eef4ff;border-color:#b9cdf5;color:#234f91;box-shadow:inset 0 0 0 1px rgba(35,79,145,.04)}
.teacherPrivateStudentPicker{margin:10px 0 14px;padding:12px;border:1px solid #e2e8f0;border-radius:16px;background:#fbfcfe}
.teacherPrivateStudentPicker .sectionHead{margin-bottom:9px}
.teacherPrivateStudentGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:290px;overflow:auto;padding:1px}
.teacherPrivateStudentGrid button{display:grid;grid-template-columns:34px 1fr 24px;align-items:center;gap:8px;min-width:0;padding:8px;border:1px solid #e2e7ef;border-radius:12px;background:#fff;color:#344054;text-align:left;cursor:pointer}
.teacherPrivateStudentGrid button.selected{border-color:#9db9e9;background:#f2f6ff}
.teacherPrivateStudentGrid .avatar{width:34px;height:34px}
.teacherPrivateStudentGrid button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}
.teacherPrivateStudentGrid button i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f0f3f7;color:#607086;font-style:normal;font-weight:800}
.teacherPrivateStudentGrid button.selected i{background:#234f91;color:#fff}
.teacherTodayShareList{display:grid;gap:8px}
.teacherTodayShareItem{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f4}
.teacherTodayShareItem:last-child{border-bottom:0}
.teacherTodayShareItem>div{min-width:0;display:grid;gap:2px}
.teacherTodayShareItem b{font-size:13px;color:#344054;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teacherTodayShareItem small{font-size:10px;color:#7a8699}
.teacherTodayShareItem em{font-size:10px;color:#7a8699;font-style:normal;white-space:nowrap}
.privateShareBadge,.classShareBadge{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:750;line-height:1.1}
.privateShareBadge{background:#f1edff;color:#6b46b6}
.classShareBadge{background:#edf7f3;color:#26725c}
.ruyaParentGalleryFilters{display:flex;gap:7px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}
.ruyaParentGalleryFilters::-webkit-scrollbar{display:none}
.ruyaParentGalleryFilters button{white-space:nowrap;border:1px solid #e0e6ef;background:#fff;color:#667085;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:650}
.ruyaParentGalleryFilters button.active{background:#233f76;border-color:#233f76;color:#fff}
.realMediaAlbumCard .albumCardInfo .privateShareBadge,.realMediaAlbumCard .albumCardInfo .classShareBadge{margin-top:5px}

.ruyaContentAttachments{display:grid;gap:6px;margin-top:10px}
.ruyaContentAttachment{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 9px;border:1px solid #e4e9f0;border-radius:12px;background:#f9fafb}
.ruyaContentAttachmentIcon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#fff;border:1px solid #e4e9f0;font-size:13px}
.ruyaContentAttachmentInfo{display:grid;gap:1px;min-width:0}
.ruyaContentAttachmentInfo b{font-size:11px;font-weight:650;color:#344054;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ruyaContentAttachmentInfo small{font-size:9px;color:#8a94a5}
.ruyaContentAttachmentActions{display:flex;gap:5px}
.ruyaContentAttachmentActions button{border:1px solid #dfe5ed;background:#fff;color:#475467;border-radius:8px;padding:6px 8px;font-size:9px;font-weight:650;cursor:pointer}
.ruyaEventAttachmentEditor{display:grid;gap:8px;margin-top:6px;padding:11px;border:1px solid #e3e8ef;border-radius:14px;background:#fafbfc}
.ruyaEventAttachmentEditor>.sectionHead{margin:0}
.ruyaEventFilePicker{display:flex;align-items:center;justify-content:center;min-height:42px;border:1px dashed #bfc9d8;border-radius:11px;background:#fff;color:#475467;font-size:11px;font-weight:650;cursor:pointer}
.ruyaEventFilePicker input{display:none}
.ruyaPendingAttachments,.ruyaExistingAttachments{display:grid;gap:5px}
.ruyaPendingAttachment{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;padding:7px 8px;border:1px solid #e6eaf0;border-radius:9px;background:#fff}
.ruyaPendingAttachment span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#475467}
.ruyaPendingAttachment small{font-size:9px;color:#98a2b3}
.ruyaPendingAttachment button{border:0;background:#f3f4f6;color:#667085;border-radius:7px;padding:5px 7px;font-size:9px;cursor:pointer}

@media(max-width:820px){
 .teacherMediaSharePage{grid-template-columns:1fr}
 .teacherTodayShares{order:2}
 .teacherPrivateStudentGrid{grid-template-columns:1fr 1fr}
 .role-admin .v225PickupStats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:520px){
 .teacherPrivateStudentGrid{grid-template-columns:1fr}
 .teacherMediaMode{grid-template-columns:1fr 1fr}
 .ruyaContentAttachment{grid-template-columns:26px minmax(0,1fr)}
 .ruyaContentAttachmentActions{grid-column:2;justify-content:flex-start}
 .ruyaPendingAttachment{grid-template-columns:minmax(0,1fr) auto}
 .ruyaPendingAttachment small{display:none}
}
