/* Administrator ticket queue, thread and Telegram settings. */ .admin-ticket-toolbar { display: flex; align-items: center; gap: 12px; } .admin-ticket-title { max-width: 520px; color: #00081a; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .admin-ticket-user { display: grid; gap: 2px; } .admin-ticket-user span { color: #00081a; font-weight: 800; } .admin-ticket-user small { color: #7c8ba0; font-weight: 700; } .admin-ticket-status { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; color: #7a4a00; background: rgba(239, 177, 0, 0.16); font-weight: 900; white-space: nowrap; } .admin-ticket-status.is-closed { color: #4a5a6b; background: #edf2f7; } .admin-ticket-thread { display: grid; gap: 14px; } .admin-ticket-message { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; } .admin-ticket-avatar { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #08785b; background: rgba(93, 216, 158, 0.16); overflow: hidden; font-size: 22px; } .admin-ticket-bubble { min-width: 0; padding: 16px; border: 1px solid #dce5ef; border-radius: 8px; background: #fff; } .admin-ticket-message.is-admin .admin-ticket-bubble { border-color: rgba(93, 216, 158, 0.45); background: linear-gradient(135deg, rgba(93, 216, 158, 0.10), #fff 58%); } .admin-ticket-message-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; } .admin-ticket-message-head strong { color: #00081a; } .admin-ticket-message-head time { color: #7c8ba0; font-size: 13px; font-weight: 700; white-space: nowrap; } .admin-ticket-role { display: inline-flex; align-items: center; min-height: 24px; margin-left: 8px; padding: 0 8px; border-radius: 999px; color: #08785b; background: rgba(93, 216, 158, 0.16); font-size: 12px; font-weight: 900; } .admin-ticket-role.is-user { color: #4a5a6b; background: #edf2f7; } .admin-ticket-content { color: #1d2939; line-height: 1.8; word-break: break-word; } .admin-ticket-pagination { margin-bottom: 14px; } .admin-ticket-pagination:empty { display: none; } .admin-ticket-compose-head { display: flex; align-items: center; gap: 12px; } .admin-ticket-compose-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; color: #159da9; background: #e8f8f8; font-size: 21px; } .admin-ticket-textarea { min-height: 190px; resize: vertical; line-height: 1.7; } .admin-ticket-upload { padding: 13px; border: 1px solid #e7edf3; border-radius: 12px; background: #fbfcfe; } .admin-ticket-upload-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; } .admin-ticket-preview-item { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 8px; border-radius: 7px; background: #e8f8f8; color: #2c6470; font-size: 12px; overflow: hidden; } .admin-ticket-preview-item strong { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .admin-ticket-preview-item small { color: #6e8591; white-space: nowrap; } .admin-ticket-preview-remove { width: 24px; height: 24px; display: inline-grid; place-items: center; flex: 0 0 24px; padding: 0; border: 0; border-radius: 6px; color: #6e8591; background: transparent; } .admin-ticket-preview-remove:hover { color: #c43e4b; background: #fff0f2; } .admin-ticket-preview-remove:focus-visible, .admin-ticket-tabs button:focus-visible, .admin-ticket-table a:focus-visible, .admin-ticket-compose-card button:focus-visible, .admin-ticket-compose-card input:focus-visible, .admin-ticket-compose-card textarea:focus-visible { outline: 3px solid rgba(21, 157, 169, .24); outline-offset: 2px; } .admin-ticket-facts { display: grid; gap: 13px; } .admin-ticket-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .admin-ticket-facts dt { color: #8390a2; font-size: 13px; } .admin-ticket-facts dd { margin: 0; color: #243750; font-weight: 700; text-align: right; } .admin-ticket-priority { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: #edf2f7; color: #63758b; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; } .admin-ticket-priority.is-high { background: #fff0eb; color: #c25535; } .admin-ticket-attachments { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; } .admin-ticket-attachments a { display: flex; width: 116px; flex-direction: column; gap: 5px; color: #53677e; text-decoration: none; font-size: 11px; } .admin-ticket-attachments img { display: block; width: 116px; height: 82px; border: 1px solid #e3eaf1; border-radius: 9px; object-fit: cover; background: #f5f8fb; } .admin-ticket-attachments span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @media (max-width: 575.98px) { .admin-ticket-toolbar { align-items: stretch; flex-direction: column; } .admin-ticket-message { grid-template-columns: 1fr; } .admin-ticket-message-head { align-items: flex-start; flex-direction: column; } .admin-ticket-attachments a, .admin-ticket-attachments img { width: 96px; } .admin-ticket-attachments img { height: 70px; } } @media (max-width: 767.98px) { .admin-ticket-table, .admin-ticket-table tbody, .admin-ticket-table tr, .admin-ticket-table td { display: block; width: 100%; } .admin-ticket-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } .admin-ticket-table tbody { display: grid; gap: 12px; } .admin-ticket-table tbody tr { padding: 12px 14px; border: 1px solid #dce5ef; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(31, 53, 76, .05); } .admin-ticket-table tbody tr:has(td[colspan]) { padding: 22px 14px; } .admin-ticket-table td { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 9px 0; border: 0; border-bottom: 1px solid #eef2f6; text-align: right !important; } .admin-ticket-table td:last-child { border-bottom: 0; } .admin-ticket-table td[data-label]::before { flex: 0 0 72px; color: #8390a2; content: attr(data-label); font-size: 12px; font-weight: 700; text-align: left; } .admin-ticket-table td[colspan] { display: block; text-align: center !important; } .admin-ticket-title { max-width: min(58vw, 360px); text-align: right; white-space: normal; } .admin-ticket-user { justify-items: end; } } @media (prefers-reduced-motion: reduce) { .admin-ticket-tabs button, .admin-ticket-preview-remove, .admin-toast { transition: none !important; animation: none !important; } }