// Transcription Status .transcription-status { margin-top: 0.5rem; .status-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.6rem; border-radius: 99rem; font-size: 0.75rem; font-weight: 500; &.pending { background: rgba(100, 116, 139, 0.1); color: #64748b; } &.processing { background: rgba(59, 130, 246, 0.1); color: #3b82f6; animation: pulse 2s infinite; } &.completed { background: rgba(34, 197, 94, 0.1); color: #22c55e; } &.error { background: rgba(239, 68, 68, 0.1); color: #ef4444; } } .retry-btn { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; font-size: 0.7rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; text-transform: uppercase; margin-top: 4px; cursor: pointer; &:hover { background: #fef3c7; } } .transcription-text { margin-top: 0.4rem; font-size: 0.85rem; color: #475569; font-style: italic; padding-left: 0.5rem; border-left: 2px solid #e2e8f0; } } .page-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; position: sticky; top: -24px; background: var(--bg-main); z-index: 100; padding: 16px 0; border-bottom: 2px solid transparent; transition: all 0.3s ease; &.sticky-header { background: var(--bg-main); margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); border-bottom-color: var(--border-color); } .header-left { display: flex; align-items: center; gap: 12px; .back-btn { background: var(--bg-surface); border: 1px solid var(--border-color); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-muted); &:hover { border-color: var(--brand-primary); color: var(--brand-primary); } } .title-meta { display: flex; flex-direction: column; h1 { font-size: 1.25rem; margin: 0; color: var(--brand-secondary); } .badge { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.05em; } } } .header-actions { display: flex; align-items: center; gap: 8px; .cancel-btn { background: transparent; color: var(--text-muted); font-weight: 700; padding: 10px 16px; font-size: 0.85rem; text-transform: uppercase; &:hover { color: var(--brand-secondary); } } .gold-button { padding: 10px 20px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.02em; } } @media (max-width: 640px) { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 16px; top: -16px; margin-left: -16px; margin-right: -16px; .header-actions { justify-content: space-between; .gold-button, .cancel-btn { flex: 1; text-align: center; } } } } .form-container { max-width: 840px; margin: 0 auto; .status-selector-card { margin-bottom: 24px; padding: 20px; background: var(--bg-surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); .status-options { display: flex; gap: 16px; @media (max-width: 480px) { flex-direction: column; } .status-btn { flex: 1; padding: 12px 16px; border-radius: 12px; font-size: 0.85rem; font-weight: 700; border: 1px solid var(--border-color); background: var(--bg-main); color: var(--text-muted); transition: all 0.2s; text-transform: uppercase; cursor: pointer; &.active { color: white; &.pending { background: #64748b; border-color: #475569; } &.in-progress { background: #b45309; border-color: #92400e; } &.done { background: #059669; border-color: #047857; } } &:hover:not(.active) { border-color: var(--brand-primary); color: var(--brand-primary); } } } } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; @media (max-width: 640px) { grid-template-columns: 1fr; } .full-width { grid-column: span 2; @media (max-width: 640px) { grid-column: span 1; } } } .form-group { display: flex; flex-direction: column; gap: 8px; label { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; } input, select, textarea { background: var(--bg-main); border: 1px solid var(--border-color); color: var(--text-main); padding: 12px 14px; border-radius: 10px; font-size: 0.95rem; transition: all 0.2s; &:focus { outline: none; border-color: var(--brand-primary); background: var(--bg-surface); } } textarea { min-height: 100px; resize: vertical; } } .evidence-section { border-top: 1px solid var(--border-color); padding-top: 32px; margin-bottom: 32px; .section-header { margin-bottom: 20px; h3 { font-size: 1.1rem; margin-bottom: 4px; } p { color: var(--text-muted); font-size: 0.9rem; } } .section-sub-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; h4 { font-size: 0.8rem; color: var(--text-muted); font-weight: 800; text-transform: uppercase; margin: 0; } .refresh-btn { background: none; border: none; color: #64748b; padding: 6px; border-radius: 50%; cursor: pointer; &:hover { background: rgba(0, 0, 0, 0.05); color: #1e293b; } } } } // Existing Evidences Grid .evidence-grid-dynamic { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 24px; @media (max-width: 480px) { grid-template-columns: 1fr; } } .evidence-card-editable { background: white; border: 1px solid var(--border-color); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; transition: all 0.2s; box-shadow: var(--shadow-sm); &:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); .card-media .overlay-play { opacity: 1; } } .card-media { height: 140px; background: #f8fafc; position: relative; cursor: pointer; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; } .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #94a3b8; &.audio { background: #eff6ff; color: #3b82f6; } &.video { background: #fef2f2; color: #ef4444; } } .overlay-play { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; color: white; opacity: 0; transition: opacity 0.2s; } } .card-content { padding: 12px; display: flex; flex-direction: column; gap: 10px; .card-header { display: flex; justify-content: space-between; align-items: center; .type-tag { font-size: 0.65rem; text-transform: uppercase; font-weight: 800; color: var(--text-muted); background: #f1f5f9; padding: 2px 6px; border-radius: 4px; } .delete-btn { color: #94a3b8; padding: 4px; cursor: pointer; &:hover { color: #ef4444; } } } textarea { width: 100%; border: 1px solid transparent; background: #f8fafc; border-radius: 8px; padding: 6px 10px; font-size: 0.85rem; resize: none; height: 60px; transition: all 0.2s; &:focus { background: white; border-color: var(--brand-primary); outline: none; } } } } // Upload Area .upload-area { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; .upload-main { flex: 1; min-width: 200px; border: 2px dashed #e2e8f0; border-radius: var(--radius-sm); padding: 16px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: all 0.2s; background: var(--bg-main); &:hover { border-color: var(--brand-primary); background: #fffbeb; } .upload-icon { color: #94a3b8; } .upload-text { display: flex; flex-direction: column; strong { font-size: 0.9rem; color: #1e293b; } span { font-size: 0.75rem; color: #64748b; } } } .action-buttons-group { display: flex; gap: 8px; .camera-btn, .mic-btn { height: 52px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); transition: all 0.2s; } .camera-btn { background: #f1f5f9; color: #475569; padding: 0 16px; gap: 8px; font-weight: 700; font-size: 0.85rem; border: 1px solid #e2e8f0; &:hover { background: #e2e8f0; } } .mic-btn { width: 52px; background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; cursor: pointer; &.recording { background: #fee2e2; color: #ef4444; border-color: #fecaca; animation: pulse-red 1.5s infinite; } &:hover:not(.recording) { background: #e2e8f0; } } } } // Preview for new files .preview-list { margin-top: 24px; display: grid; gap: 16px; } .preview-item-expanded { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-sm); display: flex; overflow: hidden; box-shadow: var(--shadow-sm); @media (max-width: 480px) { flex-direction: column; } .preview-media { width: 120px; height: 120px; background: var(--bg-main); display: flex; align-items: center; justify-content: center; flex-shrink: 0; @media (max-width: 480px) { width: 100%; height: 200px; } img { width: 100%; height: 100%; object-fit: cover; } .video-placeholder, .audio-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); span { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; } } } .preview-details { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; .preview-header { display: flex; align-items: center; justify-content: space-between; .file-name { font-size: 0.85rem; font-weight: 600; color: var(--brand-secondary); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .remove-btn-small { background: #fef2f2; color: #ef4444; width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; &:hover { background: #fee2e2; } } } textarea { background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 8px; padding: 10px; font-size: 0.85rem; min-height: 50px; resize: none; &:focus { border-color: var(--brand-primary); background: var(--bg-surface); } } } } // NC Section .nc-list { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; } .nc-item, .premium-card { padding: 24px; border: 1px solid var(--border-color); background: white; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: all 0.2s ease; &:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } .nc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); .nc-title { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--brand-secondary); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; lucide-icon { &.critical { color: #ef4444; } &.major { color: #f59e0b; } &.minor { color: #3b82f6; } } } .remove-nc-btn { background: #fef2f2; color: #ef4444; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; &:hover { background: #fee2e2; transform: rotate(90deg); } } } .nc-fields { display: grid; grid-template-columns: 200px 1fr; gap: 24px; @media (max-width: 768px) { grid-template-columns: 1fr; } .field-group { display: flex; flex-direction: column; gap: 10px; label { font-size: 0.75rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; } select, textarea { background: var(--bg-main); border: 1.5px solid var(--border-color); border-radius: 12px; padding: 12px 14px; font-size: 0.95rem; color: var(--text-main); transition: all 0.2s; &:focus { outline: none; border-color: var(--brand-primary); background: white; box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.05); } } textarea { min-height: 120px; resize: vertical; } } } } .add-nc-btn { width: 100%; margin-top: 24px; padding: 20px; border: 2px dashed var(--brand-primary); border-radius: var(--radius-md); background: rgba(180, 83, 9, 0.02); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); &:hover { background: rgba(180, 83, 9, 0.08); transform: translateY(-4px); border-style: solid; box-shadow: 0 8px 24px rgba(180, 83, 9, 0.15); } lucide-icon { transition: transform 0.3s; } &:hover lucide-icon { transform: rotate(90deg) scale(1.2); } } } // Global UI Elements (Camera, Modals) .camera-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; .camera-container { width: 100%; max-width: 640px; position: relative; border-radius: 24px; overflow: hidden; background: black; video { width: 100%; height: auto; display: block; } .camera-actions { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; justify-content: center; gap: 16px; .action-btn { padding: 12px 28px; border-radius: 50px; font-weight: 700; text-transform: uppercase; font-size: 0.75rem; transition: all 0.2s; cursor: pointer; &.photo { background: white; color: black; } &.video { background: #ef4444; color: white; &.recording { animation: pulse-red 1.5s infinite; } } &.cancel { background: rgba(255, 255, 255, 0.2); color: white; backdrop-filter: blur(8px); } &:hover { transform: scale(1.05); } } } } } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } } @keyframes pulse-red { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }