952 lines
16 KiB
CSS
952 lines
16 KiB
CSS
:root {
|
|
--primary: #00285d;
|
|
--primary-light: #1a3f7a;
|
|
--primary-lighter: #2a5a9a;
|
|
--primary-gradient: linear-gradient(135deg, #00285d 0%, #1a4a8a 100%);
|
|
--bg: #f0f2f5;
|
|
--card-shadow: 0 2px 12px rgba(0, 40, 93, 0.08);
|
|
--card-hover-shadow: 0 4px 20px rgba(0, 40, 93, 0.12);
|
|
--radius: 12px;
|
|
--radius-sm: 8px;
|
|
--text-dark: #1a1a2e;
|
|
--text-muted: #6c757d;
|
|
--sidebar-width: 260px;
|
|
--navbar-height: 64px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg);
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
/* Bootstrap Primary Override */
|
|
:root {
|
|
--bs-primary: #00285d;
|
|
--bs-primary-rgb: 0, 40, 93;
|
|
--bs-link-color: #00285d;
|
|
--bs-link-hover-color: #1a3f7a;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-gradient) !important;
|
|
border: none !important;
|
|
border-radius: var(--radius-sm) !important;
|
|
font-weight: 500;
|
|
padding: 0.5rem 1.25rem;
|
|
transition: all 0.2s ease;
|
|
box-shadow: 0 2px 8px rgba(0, 40, 93, 0.2);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 16px rgba(0, 40, 93, 0.3);
|
|
}
|
|
|
|
.btn-primary:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.btn-outline-primary {
|
|
border-color: var(--primary) !important;
|
|
color: var(--primary) !important;
|
|
border-radius: var(--radius-sm) !important;
|
|
}
|
|
|
|
.btn-outline-primary:hover {
|
|
background-color: var(--primary) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
/* Sidebar */
|
|
.sidebar {
|
|
width: var(--sidebar-width);
|
|
min-height: 100vh;
|
|
background: linear-gradient(180deg, #00285d 0%, #001a3d 100%);
|
|
color: #fff;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1040;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: var(--radius-sm);
|
|
margin: 0.125rem 0.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-size: 0.9rem;
|
|
transition: all 0.2s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar .nav-link:hover {
|
|
color: #fff;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.sidebar .nav-link.active {
|
|
color: #fff;
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sidebar .nav-link i {
|
|
font-size: 1.1rem;
|
|
width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
padding: 1.5rem 1.25rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.sidebar-brand h5 {
|
|
margin: 0;
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.sidebar-user {
|
|
padding: 1.25rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
margin-top: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.sidebar-user .avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.sidebar-user-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.sidebar-user-info .name {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
}
|
|
|
|
.sidebar-user-info .role {
|
|
font-size: 0.75rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
/* Top Navbar */
|
|
.top-navbar {
|
|
height: var(--navbar-height);
|
|
background: #fff;
|
|
border-bottom: 1px solid #e9ecef;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 1.5rem;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1030;
|
|
}
|
|
|
|
.top-navbar .search-input {
|
|
border-radius: 20px;
|
|
border: 1px solid #e9ecef;
|
|
padding: 0.5rem 1rem 0.5rem 2.5rem;
|
|
font-size: 0.875rem;
|
|
width: 300px;
|
|
max-width: 100%;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.top-navbar .search-input:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 0.15rem rgba(0, 40, 93, 0.15);
|
|
outline: none;
|
|
}
|
|
|
|
.notification-btn {
|
|
position: relative;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 1.25rem;
|
|
padding: 0.5rem;
|
|
border-radius: 50%;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.notification-btn:hover {
|
|
background-color: #f0f2f5;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.notification-badge {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 4px;
|
|
background: #dc3545;
|
|
color: #fff;
|
|
font-size: 0.65rem;
|
|
border-radius: 9px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.notification-panel {
|
|
width: 380px;
|
|
max-width: calc(100vw - 2rem);
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(22, 36, 61, 0.1);
|
|
border-radius: 14px;
|
|
box-shadow: 0 0.6rem 1.4rem rgba(22, 36, 61, 0.12);
|
|
}
|
|
|
|
.notification-hero {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
padding: 0.8rem 1rem;
|
|
color: #fff;
|
|
background: linear-gradient(135deg, #16243d 0%, #015fc9 100%);
|
|
}
|
|
|
|
.notification-eyebrow {
|
|
display: block;
|
|
margin-bottom: 0.15rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 0.62rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.notification-hero strong {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.notification-markall {
|
|
flex-shrink: 0;
|
|
color: #fff;
|
|
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
border-radius: 10px;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.notification-markall:hover:not(:disabled) {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
.notification-markall:disabled {
|
|
color: rgba(255, 255, 255, 0.55);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.notification-filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
padding: 0.6rem 1rem;
|
|
border-bottom: 1px solid #edf1f6;
|
|
background: #fbfcfe;
|
|
}
|
|
|
|
.notification-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
border: 1px solid #dfe8f2;
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
color: #42506b;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
padding: 0.28em 0.7em;
|
|
}
|
|
|
|
.notification-pill.active {
|
|
background: #16243d;
|
|
border-color: #16243d;
|
|
color: #fff;
|
|
}
|
|
|
|
.notification-list {
|
|
max-height: 380px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.notification-item {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
text-align: left;
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 1px solid #edf1f6;
|
|
border-left: 4px solid transparent;
|
|
padding: 0.65rem 1rem;
|
|
}
|
|
|
|
.notification-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.notification-item:hover {
|
|
background-color: #f0f6ff;
|
|
}
|
|
|
|
.notification-item.unread {
|
|
background-color: #e7f2ff;
|
|
}
|
|
|
|
.notification-text {
|
|
flex-grow: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.notification-module {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
border-radius: 6px;
|
|
padding: 0.15em 0.5em;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.notification-title {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.notification-body {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.35;
|
|
margin-top: 2px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.notification-time {
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
margin-left: var(--sidebar-width);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.content-wrapper {
|
|
padding: 1.5rem;
|
|
max-width: 1400px;
|
|
}
|
|
|
|
/* Cards */
|
|
.card {
|
|
border: none;
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--card-shadow);
|
|
background: #fff;
|
|
transition: box-shadow 0.2s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: var(--card-hover-shadow);
|
|
}
|
|
|
|
.card-header {
|
|
background: transparent;
|
|
border-bottom: 1px solid #f0f2f5;
|
|
padding: 1rem 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Stats Card */
|
|
.stats-card {
|
|
border-radius: var(--radius);
|
|
padding: 1.25rem;
|
|
background: #fff;
|
|
border: none;
|
|
box-shadow: var(--card-shadow);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.stats-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--card-hover-shadow);
|
|
}
|
|
|
|
.stats-card .stats-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.stats-card .stats-value {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-dark);
|
|
line-height: 1;
|
|
}
|
|
|
|
.stats-card .stats-label {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* Status Badges */
|
|
.badge-status {
|
|
padding: 0.35rem 0.75rem;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.badge-open {
|
|
background-color: #d1e7dd;
|
|
color: #0f5132;
|
|
}
|
|
|
|
.badge-pending {
|
|
background-color: #fff3cd;
|
|
color: #664d03;
|
|
}
|
|
|
|
.badge-resolved {
|
|
background-color: #cfe2ff;
|
|
color: #084298;
|
|
}
|
|
|
|
.badge-closed {
|
|
background-color: #e2e3e5;
|
|
color: #41464b;
|
|
}
|
|
|
|
.badge-in-progress {
|
|
background-color: #cff4fc;
|
|
color: #055160;
|
|
}
|
|
|
|
/* Priority Badges */
|
|
.badge-priority {
|
|
padding: 0.35rem 0.75rem;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.badge-low {
|
|
background-color: #e2e3e5;
|
|
color: #41464b;
|
|
}
|
|
|
|
.badge-medium {
|
|
background-color: #cfe2ff;
|
|
color: #084298;
|
|
}
|
|
|
|
.badge-high {
|
|
background-color: #ffecb5;
|
|
color: #664d03;
|
|
}
|
|
|
|
.badge-urgent {
|
|
background-color: #f8d7da;
|
|
color: #842029;
|
|
}
|
|
|
|
/* Tables */
|
|
.table-modern {
|
|
background: #fff;
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.table-modern thead {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.table-modern thead th {
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
padding: 0.875rem 1rem;
|
|
border-bottom: 2px solid #e9ecef;
|
|
}
|
|
|
|
.table-modern tbody tr {
|
|
transition: background-color 0.15s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.table-modern tbody tr:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.table-modern tbody td {
|
|
padding: 0.875rem 1rem;
|
|
vertical-align: middle;
|
|
font-size: 0.875rem;
|
|
border-bottom: 1px solid #f0f2f5;
|
|
}
|
|
|
|
.table-modern tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Login/Register Page */
|
|
.auth-page {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.auth-panel-left {
|
|
background: var(--primary-gradient);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 3rem;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
.auth-panel-left h2 {
|
|
font-weight: 700;
|
|
font-size: 2rem;
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.auth-panel-left p {
|
|
font-size: 1rem;
|
|
opacity: 0.85;
|
|
max-width: 320px;
|
|
}
|
|
|
|
.auth-panel-right {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.auth-form {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.auth-form h3 {
|
|
font-weight: 700;
|
|
color: var(--text-dark);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.auth-form .subtitle {
|
|
color: var(--text-muted);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.auth-form .form-label {
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.auth-form .form-control {
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid #dee2e6;
|
|
padding: 0.625rem 0.875rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.auth-form .form-control:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 0.15rem rgba(0, 40, 93, 0.15);
|
|
}
|
|
|
|
/* Page Header */
|
|
.page-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--text-dark);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Filter Bar */
|
|
.filter-bar {
|
|
background: #fff;
|
|
border-radius: var(--radius);
|
|
padding: 1rem 1.25rem;
|
|
box-shadow: var(--card-shadow);
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.filter-bar .form-select,
|
|
.filter-bar .form-control {
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid #dee2e6;
|
|
font-size: 0.85rem;
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
|
|
/* Ticket Detail */
|
|
.ticket-header {
|
|
background: #fff;
|
|
border-radius: var(--radius);
|
|
padding: 1.25rem 1.5rem;
|
|
box-shadow: var(--card-shadow);
|
|
margin-bottom: 1.25rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.ticket-number {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.ticket-subject {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-dark);
|
|
margin: 0;
|
|
}
|
|
|
|
.ticket-info-card {
|
|
background: #fff;
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--card-shadow);
|
|
padding: 1.25rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.ticket-info-card h6 {
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-muted);
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid #f0f2f5;
|
|
}
|
|
|
|
.ticket-info-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.5rem 0;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.ticket-info-row .label {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ticket-info-row .value {
|
|
font-weight: 500;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
/* Comments Timeline */
|
|
.comment {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.comment-agent {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.comment-agent .comment-bubble {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
border-radius: var(--radius) var(--radius) 4px var(--radius);
|
|
padding: 0.875rem 1rem;
|
|
max-width: 70%;
|
|
}
|
|
|
|
.comment-customer {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.comment-customer .comment-bubble {
|
|
background: #f0f2f5;
|
|
color: var(--text-dark);
|
|
border-radius: var(--radius) var(--radius) var(--radius) 4px;
|
|
padding: 0.875rem 1rem;
|
|
max-width: 70%;
|
|
}
|
|
|
|
.comment-internal .comment-bubble {
|
|
background: #fff3cd;
|
|
border-left: 4px solid #ffc107;
|
|
}
|
|
|
|
.comment-author {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.25rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.comment-time {
|
|
font-size: 0.7rem;
|
|
opacity: 0.6;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.comment-text {
|
|
font-size: 0.875rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Comment Form */
|
|
.comment-form {
|
|
background: #fff;
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--card-shadow);
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
/* Pagination */
|
|
.pagination-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.pagination-info {
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 991.98px) {
|
|
.sidebar {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
.sidebar.show {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.content-wrapper {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.top-navbar .search-input {
|
|
width: 200px;
|
|
}
|
|
|
|
.auth-panel-left {
|
|
display: none;
|
|
}
|
|
|
|
.auth-panel-right {
|
|
min-height: 100vh;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.page-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.ticket-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.comment-bubble {
|
|
max-width: 90% !important;
|
|
}
|
|
|
|
.filter-bar {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.filter-bar .form-select,
|
|
.filter-bar .form-control {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f0f2f5;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #c4c8cc;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #a0a4a8;
|
|
}
|
|
|
|
/* Loading Spinner */
|
|
.loading-spinner {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 200px;
|
|
}
|
|
|
|
/* KB Search */
|
|
.kb-search-input {
|
|
border-radius: var(--radius);
|
|
border: 2px solid #e9ecef;
|
|
padding: 0.875rem 1.25rem;
|
|
font-size: 1rem;
|
|
width: 100%;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.kb-search-input:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 0.15rem rgba(0, 40, 93, 0.1);
|
|
outline: none;
|
|
}
|
|
|
|
/* Empty State */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 3rem 1rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.empty-state i {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.empty-state h5 {
|
|
font-weight: 600;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
/* Sidebar overlay for mobile */
|
|
.sidebar-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 1035;
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.sidebar-overlay.show {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
/* Transition utilities */
|
|
.fade-in {
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(8px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* User avatar circle */
|
|
.avatar-circle {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: var(--primary-gradient);
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
}
|