@extends('portal.layouts.master') @section('title', 'Ticket #' . $ticket->id) @section('page-title', 'Ticket #' . $ticket->id) @section('extra-css') .ticket-detail { max-width: 800px; } .ticket-header-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem; } .ticket-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; } .ticket-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; } .t-badge { font-size: .68rem; font-weight: 600; padding: .2rem .5rem; border-radius: 4px; text-transform: uppercase; } .t-badge.dept-sales { background: rgba(59,130,246,.15); color: #3b82f6; } .t-badge.dept-technical { background: rgba(168,85,247,.15); color: #a855f7; } .t-badge.status-open { background: rgba(245,158,11,.15); color: #f59e0b; } .t-badge.status-in_progress { background: rgba(59,130,246,.15); color: #3b82f6; } .t-badge.status-resolved { background: rgba(14,203,129,.15); color: var(--green); } .t-badge.status-closed { background: rgba(255,255,255,.08); color: var(--text-muted); } .t-badge.prio-low { background: rgba(255,255,255,.08); color: var(--text-muted); } .t-badge.prio-medium { background: rgba(59,130,246,.12); color: #3b82f6; } .t-badge.prio-high { background: rgba(245,158,11,.12); color: #f59e0b; } .t-badge.prio-urgent { background: rgba(246,70,93,.12); color: #f6465d; } .ticket-info { font-size: .78rem; color: var(--text-secondary); } .ticket-message { background: var(--bg-secondary); border-radius: 6px; padding: .75rem 1rem; margin-top: .75rem; font-size: .85rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; } /* Replies */ .replies-section { margin-top: 1rem; } .reply-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin-bottom: .75rem; } .reply-item.staff { border-left: 3px solid var(--accent); } .reply-item.client { border-left: 3px solid var(--green); } .reply-header { display: flex; justify-content: space-between; margin-bottom: .4rem; } .reply-author { font-size: .78rem; font-weight: 600; } .reply-time { font-size: .7rem; color: var(--text-muted); } .reply-body { font-size: .83rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; } .reply-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin-top: 1rem; } @endsection @section('content')