/* تنسيقات مخصصة لنظام الملاحظات - PUIUX */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

:root {
	--fbs-font-main: 'Cairo', sans-serif;
	--jeex-primary: #1a1a2e;
	--jeex-secondary: #6366f1;
	--jeex-accent: #25D366;
	--jeex-white: #ffffff;
	--jeex-gray-50: #f9fafb;
	--jeex-gray-100: #f3f4f6;
	--jeex-gray-200: #e5e7eb;
	--jeex-gray-300: #d1d5db;
	--jeex-gray-400: #9ca3af;
	--jeex-gray-500: #6b7280;
	--jeex-gray-600: #4b5563;
	--jeex-gray-700: #374151;
	--jeex-gray-800: #1f2937;
	--jeex-gray-900: #111827;
	--jeex-shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
	--jeex-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
	--jeex-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
	--jeex-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--jeex-transition-fast: all 0.15s ease;
	--jeex-radius-md: 10px;
	--jeex-radius-lg: 16px;
	--jeex-radius-xl: 24px;
}

body {
	font-family: 'Cairo', sans-serif !important;
}

/* Global font application for main containers */
#fbs-plugin-container,
.fbs-main-container,
.fbs-modal,
.fbs-btn,
.note-card {
	font-family: var(--fbs-font-main) !important;
}

/* بطاقات الإحصائيات */
.stat-card {
	transition: var(--jeex-transition);
	background: var(--jeex-white);
	border: 1px solid var(--jeex-gray-200);
	border-radius: var(--jeex-radius-lg);
}

.stat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--jeex-shadow-lg);
}

/* بطاقة الملاحظة */
.note-card {
	background: white;
	border: 1px solid var(--jeex-gray-200);
	border-radius: var(--jeex-radius-lg);
	transition: var(--jeex-transition);
}

.note-card:hover {
	box-shadow: var(--jeex-shadow-lg);
	border-color: var(--jeex-secondary);
}

/* حقول البحث */
.search-input:focus {
	outline: none;
	border-color: var(--jeex-secondary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* أزرار الفلترة */
.filter-btn {
	transition: var(--jeex-transition-fast);
	border-radius: var(--jeex-radius-xl);
}

/* أزرار العرض */
.view-btn {
	padding: 6px;
	border-radius: 8px;
	transition: var(--jeex-transition-fast);
	color: var(--jeex-gray-400);
}

.view-btn.active {
	background: white;
	color: var(--jeex-secondary);
	box-shadow: var(--jeex-shadow-sm);
}

/* الأزرار المطورة (Action Buttons System) */
.fbs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 0.8rem;
	font-weight: 700;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	border: 1px solid transparent;
	font-family: 'Cairo', sans-serif;
	white-space: nowrap;
}

.fbs-btn-sm {
	padding: 6px 12px;
	font-size: 0.75rem;
}

.fbs-btn-indigo {
	background: #6366f1;
	color: white;
}

.fbs-btn-indigo:hover {
	background: #4f46e5;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.fbs-btn-emerald {
	background: #10b981;
	color: white;
}

.fbs-btn-emerald:hover {
	background: #059669;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.fbs-btn-red {
	background: #ef4444;
	color: white;
}

.fbs-btn-red:hover {
	background: #dc2626;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Phase 174: Glassmorphism Stats Cards */
.stat-card-glass {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 20px;
	padding: 1.25rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-glass:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
	border-color: rgba(99, 102, 241, 0.2);
}

.fbs-btn-white {
	background: white;
	color: #64748b;
	border-color: #e2e8f0;
}

.fbs-btn-white:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #1a1a2e;
}

.fbs-btn:active {
	transform: scale(0.95);
}

.fbs-btn svg {
	transition: transform 0.2s ease;
}

.fbs-btn:hover svg {
	transform: scale(1.1);
}

/* صندوق التوضيح */
.msg-box {
	border-radius: var(--jeex-radius-md);
	padding: 10px 12px;
	font-size: 0.8rem;
	border: 1px solid transparent;
}

.msg-client {
	background-color: #f0fdf4;
	border-color: #dcfce7;
	color: #166534;
}

/* دائرة اللوجو */
.client-logo-circle {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--jeex-gray-100);
}

/* الأنيميشن للمودال */
.fbs-modal {
	transition: opacity 0.3s ease-in-out;
	z-index: 100000 !important;
}

/* إجبار النظام على تغطية الموقع بالكامل */
.fbs-fullscreen-app {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99999;
	/* فوق كل شيء */
	overflow-y: auto;
	/* السماح بالسكرول */
	background-color: #f8fafc;
	/* لون الخلفية */
}

/* وضع القائمة (Table View Transformation - Phase 27 Alignment) */
#fbs-tickets-list.list-view-container {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;
}

/* تخطيط موحد للرأس والصفوف (Phase 77 Strict Alignment) */
.list-view-container .note-card,
.fbs-notes-header-grid {
	display: grid !important;
	/* ID(60px) | Title(1fr) | Status(130px) | Date(110px) | Priority(110px) | Action(260px) */
	grid-template-columns: 60px 1fr 130px 110px 110px 260px;
	align-items: center;
	gap: 1.25rem;
	direction: rtl;
}

.list-view-container .note-card {
	padding: 0.85rem 1.5rem;
	/* تطابق px-6 في الرأس */
	border-radius: 14px;
	background: white;
	border: 1px solid #f1f5f9;
	min-width: 950px;
	/* زيادة بسيطة للأمان */
}

#notesTableHeader {
	min-width: 900px;
	/* مطابقة عرض الصفوف */
}

/* إصلاح الفلترة والبحث */
.note-card.hidden-by-filter,
.note-card.hidden-by-search {
	display: none !important;
}

/* إخفاء عناصر معينة في وضع القائمة */
.list-view-container .note-card .card-body-content,
.list-view-container .note-card .custom-fields-box,
.list-view-container .note-card .card-media-grid,
.list-view-container .note-card .card-msg-section,
.list-view-container .note-card .card-footer-info .flex-col {
	/* حاوية التاريخ والنوع */
	display: none !important;
}

/* تنسيق العناصر داخل الصف (Phase 31 Strict Alignment) */
.list-view-container .note-card .card-header-info {
	display: contents;
}

/* عمود العنوان والمعرف (1 + 2) */
.fbs-notes-header-grid .fbs-cell-id {
	grid-column: 1;
}

.list-view-container .note-card .fbs-cell-id {
	grid-column: 1;
	font-size: 0.75rem;
	color: #94a3b8;
	font-weight: 700;
}

.fbs-notes-header-grid .fbs-cell-title {
	grid-column: 2;
}

.list-view-container .note-card .fbs-cell-title-group {
	grid-column: 2;
	margin-bottom: 0 !important;
}

.list-view-container .note-card .note-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
}

/* عمود الحالة (3) */
.list-view-container .note-card .fbs-cell-status,
.fbs-notes-header-grid .fbs-cell-status {
	grid-column: 3;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* التاريخ (4) */
.list-view-container .note-card .fbs-cell-date,
.fbs-notes-header-grid .fbs-cell-date {
	grid-column: 4;
	text-align: center;
	font-size: 0.8rem;
	color: #64748b;
}

/* الأولوية (5) */
.list-view-container .note-card .fbs-cell-priority,
.fbs-notes-header-grid .fbs-cell-priority {
	grid-column: 5;
	display: flex;
	justify-content: center;
}

/* الإجراء (6) */
.list-view-container .note-card .fbs-cell-action,
.fbs-notes-header-grid .fbs-cell-action {
	grid-column: 6;
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
}

/* حاوية الجدول لمنع الانهيار */
#fbs-tickets-list.list-view-container {
	overflow-x: auto;
	width: 100%;
	padding-bottom: 1rem;
}

/* إخفاء العناصر غير المطلوبة في وضع القائمة */
.list-view-container .note-card .card-body-wrapper,
.list-view-container .note-card .grid-view-only {
	display: none !important;
}

/* Animations (Phase 40) */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in-up {
	animation: fadeInUp 0.2s ease-out forwards;
}

/* Brand Typography (Phase 41) */
.font-brand {
	font-family: 'Outfit', sans-serif !important;
	letter-spacing: -0.02em;
}

/* PUIUX Notifications System (Phase 67) */
.fbs-notifications-container {
	position: relative;
}

.fbs-notification-btn {
	position: relative;
	padding: 0.5rem;
	color: var(--jeex-gray-500);
	background: transparent;
	border: none;
	border-radius: var(--jeex-radius-md);
	transition: var(--jeex-transition-fast);
	cursor: pointer;
}

.fbs-notification-btn:hover {
	color: var(--jeex-primary);
	background: var(--jeex-gray-50);
	transform: scale(1.05);
}

.fbs-notification-btn svg {
	width: 1.25rem;
	height: 1.25rem;
}

.fbs-notification-badge {
	position: absolute;
	top: -0.25rem;
	right: -0.25rem;
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: white;
	font-size: 0.625rem;
	font-weight: 700;
	border-radius: 9999px;
	min-width: 1.25rem;
	height: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.25rem;
	border: 2px solid white;
	box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
	animation: pulse 2s infinite;
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.1);
		opacity: 0.8;
	}
}

.fbs-notifications-dropdown {
	position: absolute;
	left: 0;
	top: 100%;
	margin-top: 1rem;
	width: 24rem;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 24px;
	box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 1);
	z-index: 1000;
	overflow: hidden;
	transform-origin: top left;
	animation: fbsPopupScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fbsPopupScale {
	from {
		opacity: 0;
		transform: translateY(-10px) scale(0.95);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.fbs-notifications-header {
	padding: 1.25rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(to bottom, rgba(248, 250, 252, 0.5), transparent);
}

.fbs-notifications-title {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--jeex-primary);
	margin: 0;
	font-family: 'Outfit', sans-serif;
}

.fbs-mark-all-read-btn {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--jeex-secondary);
	background: transparent;
	border: none;
	padding: 0.25rem 0.5rem;
	border-radius: var(--jeex-radius-md);
	transition: var(--jeex-transition-fast);
	cursor: pointer;
}

.fbs-mark-all-read-btn:hover {
	background: var(--jeex-secondary);
	color: white;
}

.fbs-notifications-list {
	max-height: 24rem;
	overflow-y: auto;
}

.fbs-notifications-list::-webkit-scrollbar {
	width: 4px;
}

.fbs-notifications-list::-webkit-scrollbar-track {
	background: var(--jeex-gray-50);
}

.fbs-notifications-list::-webkit-scrollbar-thumb {
	background: var(--jeex-gray-300);
	border-radius: 2px;
}

.fbs-notifications-list::-webkit-scrollbar-thumb:hover {
	background: var(--jeex-gray-400);
}

.fbs-notification-item {
	transition: all 0.2s ease;
	cursor: pointer;
	border-left: 4px solid transparent;
	position: relative;
	padding: 1rem 1.25rem;
}

.fbs-notification-item:hover {
	background: rgba(99, 102, 241, 0.04);
}

.fbs-notification-item.admin_activity {
	border-left-color: #f59e0b;
}

.fbs-notification-item.client_activity {
	border-left-color: #10b981;
}

.fbs-notification-item.team_activity {
	border-left-color: #6366f1;
}

.fbs-notification-message {
	font-size: 0.875rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.5;
	margin-bottom: 0.25rem;
}

.fbs-notification-time {
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 500;
}

.fbs-notifications-empty {
	padding: 2rem;
	text-align: center;
	color: var(--jeex-gray-400);
}

.fbs-notifications-empty svg {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 0.75rem;
	opacity: 0.3;
}

.fbs-notifications-empty p {
	font-size: 0.875rem;
	margin: 0;
}

.fbs-notifications-more {
	padding: 0.75rem;
	text-align: center;
	background: var(--jeex-gray-50);
	border-top: 1px solid var(--jeex-gray-100);
}

.fbs-notifications-more p {
	font-size: 0.75rem;
	color: var(--jeex-gray-500);
	margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.fbs-notifications-dropdown {
		width: 18rem;
		right: 0;
		left: auto;
		transform-origin: top right;
	}

	.fbs-notification-item {
		padding: 0.625rem 0.75rem;
	}

	.fbs-notification-message {
		font-size: 0.8rem;
	}
}

/* Force light theme for notifications even in dark mode */
@media (prefers-color-scheme: dark) {
	.fbs-notifications-dropdown {
		background: rgba(255, 255, 255, 0.98);
		border-color: rgba(0, 0, 0, 0.05);
	}

	.fbs-notifications-header {
		background: #f8fafc;
		border-color: rgba(0, 0, 0, 0.05);
	}

	.fbs-notification-item {
		border-left-color: transparent;
	}

	.fbs-notification-item:hover {
		background: rgba(99, 102, 241, 0.05);
	}

	.fbs-notification-message {
		color: #1e293b;
	}

	.fbs-notification-time {
		color: #64748b;
	}
}

/* إصلاح حجم أيقونات أزرار الأدمن */
.fbs-btn-view-detailed svg {
	width: 14px;
	height: 14px;
	display: inline-block;
	vertical-align: middle;
}

/* -------------------------------------------------------------------------- */
/* Phase 169 & 170: Glassmorphism & Modern UI System */
/* -------------------------------------------------------------------------- */

/* Badges */
.fbs-badge-modern {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	border: 1px solid transparent;
}

/* Glassmorphism Containers */
.rejection-reason-glass {
	background: rgba(254, 242, 242, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(254, 202, 202, 0.4);
	box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.05);
}

.fbs-admin-reason-glass {
	background: rgba(254, 252, 232, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(254, 243, 199, 0.4);
	box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.05);
}

.fbs-field-box {
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(226, 232, 240, 0.6);
	border-radius: 1rem;
	height: 100%;
	display: flex;
	align-items: center;
	transition: all 0.2s ease;
}

.fbs-field-box:hover {
	background: rgba(255, 255, 255, 0.8);
	border-color: rgba(99, 102, 241, 0.2);
}

/* Image Viewer Fixes */
.viewer-container {
	z-index: 200000 !important;
	/* Ensure it's above everything */
}

/* -------------------------------------------------------------------------- */
/* Phase 171: Table View Implementation */
/* -------------------------------------------------------------------------- */

/* Table Container */
/* Table Container (Glassmorphism) */
.fbs-table-container {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	margin-top: 24px;
	display: none;
	/* Initially hidden */
}

/* Table Base */
.fbs-notes-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 8px;
	/* Space between rows */
	table-layout: fixed;
	margin-bottom: 8px;
}

/* Table Header */
.fbs-notes-table thead th {
	background: transparent;
	color: #64748b;
	padding: 16px 20px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 2px solid rgba(226, 232, 240, 0.6);
	position: relative;
}

.fbs-notes-table th.sortable {
	cursor: pointer;
	user-select: none;
	transition: all 0.2s ease;
}

.fbs-notes-table th.sortable:hover {
	color: #4f46e5;
}

/* Phase 175: Sorting Arrows */
.fbs-notes-table th.sortable::after {
	content: '⇅';
	margin-right: 6px;
	opacity: 0.3;
	font-size: 12px;
	transition: opacity 0.2s ease;
}

.fbs-notes-table th.sortable:hover::after {
	opacity: 0.6;
}

.fbs-notes-table th.sort-asc::after {
	content: '↑';
	opacity: 1;
	color: #6366f1;
}

.fbs-notes-table th.sort-desc::after {
	content: '↓';
	opacity: 1;
	color: #6366f1;
}

/* Table Body Rows (Card-like) */
.fbs-notes-table tbody tr {
	background: rgba(255, 255, 255, 0.6);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
	border-radius: 16px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.fbs-notes-table tbody tr:hover {
	transform: translateY(-2px) scale(1.005);
	background: #ffffff;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
	z-index: 10;
	border-color: #6366f1;
}

.fbs-notes-table td {
	padding: 16px 20px;
	vertical-align: middle;
	font-size: 13px;
	color: #334155;
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
}

/* Rounded Corners for Rows */
.fbs-notes-table td:first-child {
	border-top-right-radius: 16px;
	border-bottom-right-radius: 16px;
}

.fbs-notes-table td:last-child {
	border-top-left-radius: 16px;
	border-bottom-left-radius: 16px;
}

/* -------------------------------------------------------------------------- */
/* Phase 173: Status-Based Color Coding (Cards & Table) */
/* -------------------------------------------------------------------------- */

/* Card Status Colors */
.card-status-completed {
	background: linear-gradient(135deg, rgba(236, 253, 245, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
	border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.card-status-completed:hover {
	background: linear-gradient(135deg, rgba(236, 253, 245, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
	border-color: rgba(16, 185, 129, 0.4) !important;
}

.card-status-progress {
	background: linear-gradient(135deg, rgba(255, 251, 235, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
	border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.card-status-progress:hover {
	background: linear-gradient(135deg, rgba(255, 251, 235, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
	border-color: rgba(245, 158, 11, 0.4) !important;
}

.card-status-rejected {
	background: linear-gradient(135deg, rgba(254, 242, 242, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
	border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.card-status-rejected:hover {
	background: linear-gradient(135deg, rgba(254, 242, 242, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
	border-color: rgba(239, 68, 68, 0.4) !important;
}

.card-status-new {
	background: linear-gradient(135deg, rgba(239, 246, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
	border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

.card-status-new:hover {
	background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
	border-color: rgba(99, 102, 241, 0.4) !important;
}

/* Table Row Status Colors (Enhanced) */
.row-status-completed {
	background: linear-gradient(90deg, rgba(236, 253, 245, 0.4) 0%, rgba(255, 255, 255, 0.6) 100%) !important;
	border-right: 4px solid #10b981 !important;
}

.row-status-completed:hover {
	background: linear-gradient(90deg, rgba(236, 253, 245, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
}

.row-status-progress {
	background: linear-gradient(90deg, rgba(255, 251, 235, 0.4) 0%, rgba(255, 255, 255, 0.6) 100%) !important;
	border-right: 4px solid #f59e0b !important;
}

.row-status-progress:hover {
	background: linear-gradient(90deg, rgba(255, 251, 235, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
}

.row-status-rejected {
	background: linear-gradient(90deg, rgba(254, 242, 242, 0.4) 0%, rgba(255, 255, 255, 0.6) 100%) !important;
	border-right: 4px solid #ef4444 !important;
}

.row-status-rejected:hover {
	background: linear-gradient(90deg, rgba(254, 242, 242, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
}

.row-status-open {
	background: linear-gradient(90deg, rgba(239, 246, 255, 0.4) 0%, rgba(255, 255, 255, 0.6) 100%) !important;
	border-right: 4px solid #6366f1 !important;
}

.row-status-open:hover {
	background: linear-gradient(90deg, rgba(239, 246, 255, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
}

.row-status-urgent {
	background: linear-gradient(90deg, rgba(254, 226, 226, 0.5) 0%, rgba(255, 255, 255, 0.7) 100%) !important;
	border-right: 4px solid #ef4444 !important;
	animation: pulse-row 2s infinite;
}

.row-status-urgent:hover {
	background: linear-gradient(90deg, rgba(254, 226, 226, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
}

@keyframes pulse-row {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.95;
	}
}

/* Note Title Cell */
.fbs-note-title-cell {
	font-weight: 700;
	color: var(--jeex-primary);
}

.fbs-note-id-badge {
	display: inline-block;
	background: var(--jeex-secondary);
	color: white;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 800;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.fbs-note-description {
	color: var(--jeex-gray-500);
	font-size: 13px;
	margin-top: 6px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Status Badges within Table */
.fbs-status-badge-table {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 800;
	text-align: center;
	white-space: normal;
	line-height: 1.4;
	width: 100%;
}

.status-bg-completed {
	background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
	color: #065f46;
}

.status-bg-progress {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	color: #92400e;
}

.status-bg-rejected {
	background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
	color: #991b1b;
}

.status-bg-open {
	background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
	color: #1e40af;
}

.status-bg-urgent {
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: white;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Date Cell */
.fbs-date-cell {
	color: var(--jeex-gray-500);
	font-weight: 600;
}

.fbs-date-time {
	display: block;
	font-size: 12px;
	margin-top: 4px;
	color: #94a3b8;
}

/* Actions Cell */
.fbs-actions-cell {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fbs-action-table-btn {
	padding: 6px 16px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--jeex-shadow-sm);
	white-space: nowrap;
	width: 100%;
}