/* css/admin/mixed-room.css */

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stepper / Timeline */
.mixed-stepper { display: flex; align-items: center; justify-content: space-between; margin: 0 0 24px; padding: 24px 32px; background: #fff; border-radius: 8px; border: 1px solid var(--adm-border); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.stepper-item { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 2; }
.stepper-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: #fff; border: 2px solid #cbd5e1; color: #94a3b8; transition: all 0.2s; }
.stepper-label { font-size: 13px; font-weight: 500; color: #64748b; }
.stepper-item.active .stepper-circle { border-color: var(--adm-primary); background: var(--adm-primary); color: #fff; box-shadow: 0 0 0 4px var(--adm-blue-light); }
.stepper-item.active .stepper-label { color: var(--adm-primary-dark); font-weight: 600; }
.stepper-item.completed .stepper-circle { border-color: var(--adm-green); background: var(--adm-green); color: #fff; }
.stepper-item.completed .stepper-label { color: var(--adm-green); }
.stepper-line { flex: 1; height: 2px; background: #e2e8f0; margin: 0 12px; position: relative; top: -12px; }

/* Proposal Timeline */
.proposal-timeline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 16px 24px; background: #fff; border-radius: 8px; border: 1px solid var(--adm-border); box-shadow: 0 1px 3px rgba(0,0,0,0.02); overflow-x: auto; scrollbar-width: none; }
.proposal-timeline::-webkit-scrollbar { display: none; }
.timeline-item { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 2; min-width: 120px; }
.timeline-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: #fff; border: 2px solid #cbd5e1; color: #94a3b8; transition: all 0.2s; }
.timeline-label { font-size: 12px; font-weight: 500; color: #64748b; text-align: center; }
.timeline-item.active .timeline-icon { border-color: var(--adm-primary); color: var(--adm-primary); background: #eff6ff; }
.timeline-item.active .timeline-label { color: var(--adm-primary-dark); font-weight: 600; }
.timeline-item.completed .timeline-icon { border-color: var(--adm-green); background: var(--adm-green); color: #fff; }
.timeline-item.completed .timeline-label { color: var(--adm-green); }
.timeline-line { flex: 1; min-width: 30px; height: 2px; background: #e2e8f0; margin: 0; position: relative; top: -10px; }

/* Upload Dropzone */
.m-dropzone { border: 2px dashed #cbd5e1; border-radius: 8px; padding: 48px 20px; text-align: center; background: #f8fafc; cursor: pointer; transition: all 0.2s; outline: none; }
.m-dropzone:focus-visible { border-color: var(--adm-primary); box-shadow: 0 0 0 3px var(--adm-blue-light); }
.m-dropzone.dragover { border-color: var(--adm-primary); background: #eff6ff; }

/* Utilities used in MixedRoom */
.m-card-intro-summary { background: #f8fafc; border-left: 4px solid var(--adm-primary); padding: 16px; border-radius: 4px; margin-bottom: 24px; }
.m-card-intro-summary h4 { margin:0 0 8px; font-size: 14px; color: var(--adm-primary-dark); }
.m-card-intro-summary ul { margin:0; padding-left: 20px; font-size: 13px; color: var(--adm-text-secondary); line-height: 1.8; }

.m-video-placeholder { border: 1px solid var(--adm-border); border-radius: 8px; background: #0f172a; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; min-height: 160px; }
.m-video-placeholder .bg-img { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&q=80') center/cover; opacity: 0.3; z-index: 1; }
.m-video-placeholder i { font-size: 48px; color: rgba(255,255,255,0.8); z-index: 2; cursor: pointer; transition: transform 0.2s; }
.m-video-placeholder i:hover { transform: scale(1.1); }
.m-video-placeholder p { color: #fff; font-size: 14px; margin-top: 12px; z-index: 2; font-weight: 500; }

.m-file-info { margin-top: 16px; padding: 16px; border-radius: 6px; display: flex; align-items: center; justify-content: space-between; }
.m-file-info.valid { background: var(--adm-green-light); border: 1px solid rgba(34,197,94,0.3); }
.m-file-info.invalid { background: var(--adm-blue-light); border: 1px solid rgba(59,130,246,0.2); }

.m-review-box { background: #f8fafc; border: 1px solid var(--adm-border); border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.m-protocol-box { background: #f8fafc; border: 1px solid var(--adm-border); border-radius: 8px; padding: 24px; display: inline-block; text-align: left; margin-bottom: 40px; min-width: 320px; }

/* Utilities for Layout */
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.w-full { width: 100%; }

@media (max-width: 1024px) {
  .adm-dashboard-grid { grid-template-columns: 1fr; }
  .m-protocol-box { width: 100%; }
}
