.admin-assignment-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:14px 0 0;border-top:1px solid #e2edf5}.admin-assignment-row small{display:block;color:#69839a;margin-top:4px}.assignment-periods{display:grid;gap:24px}.assignment-period-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}.assignment-period-head span{padding:6px 10px;border-radius:9px;background:#e5f4ff;color:#168fea;font-size:.8rem;font-weight:700}.assignment-period-head h2{font-size:1rem;font-weight:800;margin:0}.assignment-card{padding:18px;background:#fff;border-radius:20px;border-left:5px solid #168fea;box-shadow:0 5px 18px #1730420d}.assignment-card h3{font-size:1.08rem;font-weight:800;margin:13px 0 7px}.assignment-card>p{color:#69839a;font-size:.9rem;line-height:1.6}.assignment-card small{color:#69839a}@media(max-width:760px){.admin-sidebar{grid-template-columns:repeat(5,1fr)!important}.admin-sidebar a{font-size:.62rem!important}.admin-assignment-row{align-items:flex-start;flex-direction:column}.admin-assignment-row>div:last-child{width:100%;justify-content:flex-end}}
.assignment-list-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:#fff;border-radius:20px;color:#17324d;text-decoration:none;border-left:5px solid #168fea;box-shadow:0 5px 18px #1730420d}.assignment-list-card h3{font-size:1.08rem;font-weight:800;margin:10px 0 5px}.assignment-list-card small{color:#69839a}.assignment-list-arrow{color:#8aa0b1;font-size:2rem}.assignment-complete-check{display:flex;align-items:flex-start;gap:12px;padding:16px;margin-bottom:18px;border:1px solid #bfe1f8;border-radius:16px;background:#f0f9ff;cursor:pointer}.assignment-complete-check .form-check-input{width:24px;height:24px;flex:0 0 auto;margin:0}.assignment-complete-check span{display:flex;flex-direction:column}.assignment-complete-check small{color:#69839a;margin-top:3px}
.assignment-item-editor-list{display:grid;gap:12px}.assignment-item-editor{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:12px;padding:15px;border:1px solid #dbeaf4;border-radius:16px;background:#f9fcff}.assignment-item-number{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#168fea;color:#fff;font-weight:800}@media(max-width:600px){.assignment-item-editor{grid-template-columns:34px minmax(0,1fr)}.assignment-item-editor>[data-remove-assignment-item]{grid-column:2;justify-self:end}}
.assignment-checklist{display:grid;gap:10px}.assignment-check-item{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #dceaf4;border-radius:15px;cursor:pointer;transition:.15s}.assignment-check-item:has(input:checked){background:#ecfbf3;border-color:#86d5aa}.assignment-check-item .form-check-input{width:23px;height:23px;flex:0 0 auto;margin:1px 0 0}.assignment-check-item span{display:flex;flex-direction:column;gap:6px;line-height:1.55}.assignment-check-item small{color:#69839a;font-weight:500}
.assignment-file-current{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:13px 14px;border-radius:14px;background:#edf7ff;border:1px solid #cee7f8}.assignment-file-current>div:first-child{display:flex;min-width:0;flex-direction:column}.assignment-file-current strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assignment-file-current small{color:#69839a}.assignment-file-preview-image{display:block;max-width:100%;max-height:520px;margin:12px auto 0;border-radius:14px;border:1px solid #d8e7f1}.assignment-file-preview-pdf{width:100%;height:560px;margin-top:12px;border:1px solid #d8e7f1;border-radius:14px;background:#fff}.assignment-file-no-preview{margin-top:12px;padding:12px;border-radius:12px;background:#f5f8fa;color:#69839a;font-size:.85rem}@media(max-width:520px){.assignment-file-current{align-items:flex-start;flex-direction:column}.assignment-file-current>div{width:100%}.assignment-file-preview-pdf{height:420px}}
.admin-panel label.form-check:has(input[name="attachment_required"]){display:none!important}.assignment-file-inputs,.assignment-file-list{display:grid;gap:8px}.assignment-file-input-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px}.assignment-file-chip{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 13px;border:1px solid #d4e7f4;border-radius:14px;background:#f7fbfe;color:#17324d}.assignment-file-chip>span{display:grid;place-items:center;width:48px;height:38px;border-radius:10px;background:#e3f3ff;color:#168fea;font-size:.68rem;font-weight:800}.assignment-file-chip>a{display:flex;min-width:0;flex-direction:column;color:#17324d;text-decoration:none}.assignment-file-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem}.assignment-file-chip small{color:#69839a;font-size:.76rem}
