﻿/*
 * Bundle: layout.min.css
 * Generated: 2025-11-09 23:26:49
 * Files: 10
 */

/* === preloader.css === */
.table-preloader {
display: none !important;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(8px);
z-index: 1000;
border-radius: 8px;
}
body.dark-mode .table-preloader {
background: rgba(26, 32, 44, 0.95);
}
.preloader-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
min-width: 300px;
max-width: 400px;
padding: 30px;
}
.preloader-text {
font-size: 16px;
font-weight: 600;
color: #2d3748;
text-align: center;
animation: pulse-text 1.5s ease-in-out infinite;
}
body.dark-mode .preloader-text {
color: #e2e8f0;
}
@keyframes pulse-text {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.6;
}
}
.progress-bar-container {
width: 100%;
padding: 0 10px;
}
.progress-bar {
width: 100%;
height: 8px;
background: #e2e8f0;
border-radius: 10px;
overflow: hidden;
position: relative;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
body.dark-mode .progress-bar {
background: #2d3748;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.progress-bar-fill {
height: 100%;
width: 0%;
background: linear-gradient(90deg,
#667eea 0%,
#764ba2 50%,
#f093fb 100%
);
background-size: 200% 100%;
border-radius: 10px;
position: relative;
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
animation: shimmer 2s linear infinite;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}
@keyframes shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.progress-bar-fill::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg,
transparent,
rgba(255, 255, 255, 0.6),
transparent
);
animation: slide 1.5s infinite;
}
@keyframes slide {
0% {
left: -100%;
}
100% {
left: 200%;
}
}
.preloader-percentage {
font-size: 14px;
font-weight: 700;
color: #667eea;
text-align: center;
min-width: 50px;
font-family: 'Courier New', monospace;
}
body.dark-mode .preloader-percentage {
color: #90cdf4;
}
.preloader-text::after {
content: '';
animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
0%, 20% {
content: '';
}
40% {
content: '.';
}
60% {
content: '..';
}
80%, 100% {
content: '...';
}
}
@media (max-width: 640px) {
.preloader-content {
min-width: 250px;
padding: 20px;
gap: 12px;
}
.preloader-text {
font-size: 14px;
}
.progress-bar {
height: 6px;
}
.preloader-percentage {
font-size: 12px;
}
}
.table-preloader.hidden {
display: none;
}
.table-preloader.fade-out {
animation: fadeOut 0.3s ease-out forwards;
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.progress-bar-fill.fast {
transition: width 0.1s linear;
}
.progress-bar-fill.slow {
transition: width 0.8s ease-out;
}
.progress-bar-fill.complete {
background: linear-gradient(90deg,
#10b981 0%,
#34d399 50%,
#6ee7b7 100%
);
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}
.preloader-text.complete {
color: #10b981;
}
body.dark-mode .preloader-text.complete {
color: #6ee7b7;
}

/* === layout.css === */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');
.main-header-row {
margin: 0 !important;
padding-bottom: 0 !important;
border-bottom: none !important;
}
.main-header-row + * {
margin-top: 0 !important;
padding-top: 0 !important;
}
.tab-selection-cards {
margin: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.team-portal-container {
margin-top: var(--header-height) !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
min-height: auto !important;
}
.team-portal-container > * {
margin-top: 0 !important;
padding-top: 0 !important;
}
.portal-main-container {
margin-top: 0 !important;
padding-top: 0 !important;
}
.portal-main-container > * {
margin-top: 0 !important;
}
body, html {
margin-top: 0 !important;
padding-top: 0 !important;
overflow-x: hidden !important;
max-width: 100vw !important;
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
body > * {
margin-top: 0 !important;
}
html.wp-toolbar {
padding-top: 0 !important;
}
body.admin-bar {
margin-top: 0 !important;
padding-top: 0 !important;
}
:root {
--primary-color: #667eea;
--secondary-color: #764ba2;
--text-primary: #2c3e50;
--text-secondary: #7f8c8d;
--background-light: #f8f9fa;
--background-white: #ffffff;
--border-radius: 12px;
--shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
--shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--header-height: 64px;
--header-height-mobile: 72px;
--content-top-gap: 8px;
}
.drive-hero {
background: var(--background-light);
border-radius: 14px;
padding: 16px;
box-shadow: var(--shadow-light);
border: 1px solid rgba(0,0,0,0.04);
margin-top: 0;
position: relative !important;
z-index: 5;
}
.dark-mode .drive-hero {
background: #0f172a;
border-color: rgba(255,255,255,0.06);
}
.drive-hero .drive-controls {
background: var(--background-white);
border-radius: 10px;
padding: 8px 12px;
box-shadow: 0 1px 6px rgba(0,0,0,0.06);
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.dark-mode .drive-hero .drive-controls {
background: rgba(2,6,23,0.6);
box-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.drive-hero .view-controls,
.drive-hero .search-controls {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.drive-hero .folder-indicator {
font-size: 12px;
border: 1px solid rgba(0,0,0,0.06);
}
.dark-mode .drive-hero .folder-indicator {
border-color: rgba(255,255,255,0.12);
}
.drive-hero #connection-status {
margin-top: 8px;
}
.portal-section-hero {
background: var(--background-light);
border-radius: 14px;
padding: 16px;
box-shadow: var(--shadow-light);
border: 1px solid rgba(0,0,0,0.04);
margin-top: 0;
position: relative !important;
z-index: 5;
}
.dark-mode .portal-section-hero {
background: #0f172a;
border-color: rgba(255,255,255,0.06);
}
.tabcontent { position: relative; z-index: 999999;  }
.tabcontent.active { display: block; }
.tabcontent > *:first-child { position: relative !important; z-index: 999999;  }
#Archive .drive-hero {
margin-top: 0 !important;
}
#Archive .portal-section-hero {
padding: 18px !important;
min-height: 120px;
}
#Archive .drive-hero > h3 {
margin: 0 0 10px 0;
}
.portal-page-preloader {
position: fixed;
inset: 0;
display: none !important;
align-items: center;
justify-content: center;
z-index: 2147483000;
opacity: 0;
pointer-events: none;
transition: opacity 300ms ease;
}
.portal-page-preloader.active {
display: flex !important;
opacity: 1;
pointer-events: auto;
}
.portal-preloader-backdrop {
position: absolute;
inset: 0;
background: rgba(255,255,255,0.95);
backdrop-filter: blur(2px);
}
.dark-mode .portal-preloader-backdrop {
background: rgba(0,0,0,0.7);
}
.portal-preloader-content {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
padding: 16px 20px;
border-radius: 12px;
background: rgba(255,255,255,0.85);
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.dark-mode .portal-preloader-content {
background: rgba(30,41,59,0.9);
}
.portal-spinner {
width: 42px;
height: 42px;
border: 4px solid rgba(148,163,184,0.35);
border-left-color: #2563eb;
border-radius: 50%;
animation: portal-spin 0.9s linear infinite;
}
.portal-preloader-text {
font-family: var(--font-primary);
font-size: 14px;
color: var(--text-primary);
}
.dark-mode .portal-preloader-text {
color: #e5e7eb;
}
@keyframes portal-spin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }
#wpadminbar {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
height: 0 !important;
overflow: hidden !important;
}
.skip-link,
.skip-links,
.screen-reader-text,
.screen-reader-shortcut,
a[href*="#content"],
a[href*="#main"],
a[href*="#primary"],
.assistive-text,
.sr-only,
.visually-hidden,
.skiplink,
.skip-to-content,
.skip-navigation,
.jump-link {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
height: 0 !important;
width: 0 !important;
margin: 0 !important;
padding: 0 !important;
position: absolute !important;
left: -9999px !important;
top: -9999px !important;
overflow: hidden !important;
}
.site-header:not(.main-header-row),
.site-branding,
.custom-logo-link,
.site-title,
.site-description,
.main-navigation:not(.main-header-row *),
.primary-navigation:not(.main-header-row *),
.wp-custom-header,
.custom-header,
.header-image,
.site-banner,
.page-header:not(.main-header-row *),
.entry-header:not(.main-header-row *) {
margin-top: 0 !important;
padding-top: 0 !important;
}
.wp-block-spacer,
.spacer,
.gap,
.margin-top,
.padding-top,
br + br,
p:empty,
div:empty:not([class]) {
display: none !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
* + .team-portal-container,
.skip-link ~ *,
.screen-reader-text ~ *,
.assistive-text ~ * {
margin-top: 0 !important;
}
body {
margin: 0 !important;
padding: 0 !important;
padding-top: 0 !important;
}
.main-header-row {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
margin: 0 !important;
z-index: 99999 !important;
}
html {
margin: 0 !important;
padding: 0 !important;
height: 100%;
}
* {
margin: 0;
padding: 0;
}
html, body {
position: relative;
top: 0;
left: 0;
}
html, body {
position: relative !important;
margin: 0 !important;
padding: 0 !important;
overflow-x: hidden;
}
html {
scroll-padding-top: 0 !important;
}
body {
padding-top: 0 !important;
margin-top: 0 !important;
}
body.wp,
body.wp-admin,
body.logged-in {
margin-top: 0 !important;
padding-top: 0 !important;
}
#wpadminbar {
display: none !important;
}
body.admin-bar {
margin-top: 0 !important;
padding-top: 0 !important;
}
* {
box-sizing: border-box;
}
body .main-header-row,
html .main-header-row {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
margin: 0 !important;
padding-top: 0 !important;
transform: none !important;
z-index: 99999 !important;
}
.main-header-row {
margin-top: 0 !important;
margin-bottom: 0 !important;
top: 0 !important;
}
.team-portal-container {
transform: none !important;
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
body > *:first-child:not(.main-header-row) {
margin-top: 0 !important;
padding-top: 0 !important;
}
body > *:first-child {
margin-top: 0 !important;
padding-top: 0 !important;
position: relative !important;
z-index: 1 !important;
}
.team-portal-shortcode,
.team-portal-shortcode *,
.portal-main-container,
.portal-main-container * {
margin-top: 0 !important;
}
.team-portal-shortcode .team-portal-container {
padding-top: 0 !important;
}
html {
margin-top: 0 !important;
padding-top: 0 !important;
}
body.admin-bar {
margin-top: 0 !important;
padding-top: 0 !important;
}
body.admin-bar #wpcontent {
margin-top: 0 !important;
}
html.wp-toolbar {
padding-top: 0 !important;
}
@media screen and (max-width: 782px) {
html.wp-toolbar {
padding-top: 0 !important;
}
body.admin-bar {
margin-top: 0 !important;
padding-top: 0 !important;
}
}
body * {
position: relative;
z-index: auto;
}
.main-header-row {
z-index: 10000 !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
margin: 0 !important;
padding-top: 0 !important;
}
body,
#page,
#content,
.site-content,
main,
article,
section,
.container,
.wrapper,
.main-content,
.page-content,
.post-content,
.entry-content,
header:not(.main-header-row),
nav:not(.main-header-row *),
.navigation,
.menu,
.widget-area,
.sidebar,
footer {
margin-top: 0 !important;
padding-top: 0 !important;
position: relative !important;
z-index: 1 !important;
}
.main-header-row,
.main-header-row *,
.tab-selection-cards,
.tab-selection-cards *,
.control-buttons,
.control-buttons *,
.notifications-panel {
margin-top: 0 !important;
padding-top: 0 !important;
}
#main,
#primary,
#secondary,
.content-area,
.widget-area,
.site-header:not(.main-header-row),
.site-navigation:not(.main-header-row *) {
margin-top: 0 !important;
padding-top: 0 !important;
}
.custom-menu,
.wp-block-navigation,
.wp-block-group,
.wp-block-cover,
.elementor-section,
.vc_row,
.row,
.fusion-builder-row,
.et_pb_section {
margin-top: 0 !important;
padding-top: 0 !important;
}
.entry-content > *:first-child,
.post-content > *:first-child,
.page-content > *:first-child,
.content-area > *:first-child,
article > *:first-child,
main > *:first-child {
margin-top: 0 !important;
padding-top: 0 !important;
}
.team-portal-shortcode {
margin-top: 0 !important;
padding-top: 0 !important;
transform: none !important;
}
.page .entry-content,
.post .entry-content,
.single .entry-content {
padding-top: 0 !important;
margin-top: 0 !important;
}
#page,
#content,
.site-content,
main,
header:not(.main-header-row),
nav:not(.main-header-row *),
.navigation,
.menu,
.page .entry-content,
.post .entry-content,
.single .entry-content {
margin-top: 0 !important;
padding-top: 0 !important;
}
.team-portal-shortcode,
.team-portal-shortcode * {
position: static !important;
}
.team-portal-shortcode .main-header-row {
position: fixed !important;
}
*,
*::before,
*::after {
box-sizing: border-box !important;
margin: 0;
padding: 0;
}
html {
font-size: 16px;
scroll-behavior: smooth;
}
body {
font-family: var(--font-primary);
line-height: 1.6;
color: var(--text-primary);
background: var(--background-light);
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.team-portal-shortcode {
font-family: var(--font-primary);
direction: rtl;
text-align: right;
min-height: 100vh;
background: transparent;
margin-top: 0;
padding-top: 0;
}
.team-portal-container {
width: 100%;
max-width: 1400px;
margin: 0 auto !important;
margin-top: var(--header-height) !important;
margin-bottom: 0 !important;
padding: 0 1rem !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
box-sizing: border-box;
position: relative !important;
z-index: 1 !important;
clear: both !important;
}
.portal-main-container {
width: 100%;
padding: 0 !important;
margin: 0 !important;
}
.portal-header {
text-align: center;
margin-bottom: 1.5rem;
position: relative;
padding: 1rem 0;
z-index: 10;
}
.portal-title {
font-size: clamp(1.2rem, 3vw, 1.8rem);
font-weight: 800;
text-align: center;
margin-bottom: 0.3rem;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.02em;
position: relative;
}
.portal-title::after {
content: '';
position: absolute;
bottom: -6px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 2px;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
border-radius: 2px;
}
.portal-subtitle {
font-size: 0.8rem;
color: var(--text-secondary);
text-align: center;
margin: 0;
opacity: 0.8;
}
.team-portal-container,
.portal-main-container,
.tab-content-wrapper {
width: 100%;
max-width: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
overflow-x: hidden !important;
}
.portal-main-container {
display: flex;
flex-direction: column;
padding: 1rem;
gap: 1rem;
max-width: 100vw !important;
overflow-x: hidden !important;
box-sizing: border-box !important;
}
.portal-main-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 200px;
background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
z-index: -1;
}
.grid-container {
display: grid;
gap: clamp(0.75rem, 2vw, 1.5rem);
margin-top: clamp(0.5rem, 2vw, 1rem);
padding: 0 clamp(0.5rem, 2vw, 1rem);
max-width: 1400px;
margin-left: auto;
margin-right: auto;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
overflow-x: hidden !important;
margin-bottom: 0 !important;
}
.arabic-text {
font-family: var(--font-primary);
direction: rtl;
text-align: right;
font-feature-settings: 'liga' 1, 'kern' 1;
}
@media (min-width: 1400px) {
.grid-container {
padding: 0 3rem;
}
}
@media (max-width: 1200px) {
.grid-container {
gap: 1.5rem;
padding: 0 1.5rem;
}
}
@media (max-width: 768px) {
.grid-container {
gap: 1rem;
padding: 0 1rem;
margin-top: 1rem;
}
.portal-title::after {
width: 40px;
height: 2px;
}
.team-portal-container {
padding-top: 0 !important;
margin-top: calc(var(--header-height-mobile) - var(--content-top-gap)) !important;
}
.portal-main-container {
margin-top: 0 !important;
}
body,
#page,
#content,
.site-content,
main,
.page .entry-content,
.post .entry-content {
margin-top: 0 !important;
padding-top: 0 !important;
}
}
@media (max-width: 480px) {
.grid-container {
gap: 0.75rem;
padding: 0 0.75rem;
margin-top: 0.75rem;
}
.team-portal-container { padding-top: 0 !important; margin-top: calc(var(--header-height-mobile) - var(--content-top-gap)) !important; }
.portal-main-container { margin-top: 0 !important; }
}
.skip-link + *,
.screen-reader-text + *,
.assistive-text + * {
margin-top: 0 !important;
padding-top: 0 !important;
}
body > *:first-child:not(.main-header-row),
#page > *:first-child,
.site > *:first-child,
.wrapper > *:first-child {
margin-top: 0 !important;
padding-top: 0 !important;
}
body > *:not(.main-header-row):first-child,
#page > *:first-child,
.site > *:first-child,
.wrapper > *:first-child {
margin-top: 0 !important;
padding-top: 0 !important;
}
.wp-site-blocks,
.wp-block-post-content,
.entry-content > *:first-child {
margin-top: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media print {
.team-portal-container {
background: white !important;
}
.portal-title,
.portal-subtitle {
color: black !important;
background: none !important;
-webkit-text-fill-color: initial !important;
}
}

/* === tables.css === */
:root {
--table-bg-primary: #ffffff;
--table-bg-secondary: #f8f9fa;
--table-bg-tertiary: #e9ecef;
--table-bg-hover: rgba(102, 126, 234, 0.05);
--table-bg-stripe: rgba(102, 126, 234, 0.02);
--table-header-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--table-row-hover-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
--table-btn-view: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
--table-btn-edit: linear-gradient(135deg, #ffc107 0%, #ff9500 100%);
--table-btn-delete: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
--table-btn-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--table-border: 1px solid #e9ecef;
--table-border-focus: 2px solid #667eea;
--table-shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
--table-shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1);
--table-shadow-heavy: 0 8px 32px rgba(102, 126, 234, 0.2);
--table-focus-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
--table-text-primary: #2c3e50;
--table-text-secondary: #6c757d;
--table-text-muted: #495057;
--table-text-white: #ffffff;
--table-text-dark: #212529;
--table-text-link: #007bff;
--table-text-link-hover: #0056b3;
--table-radius: 12px;
--table-radius-small: 8px;
--table-radius-tiny: 6px;
--table-radius-round: 50%;
--table-padding: 16px;
--table-padding-small: 12px;
--table-padding-tiny: 8px;
--table-gap: 12px;
--table-gap-small: 8px;
--table-gap-tiny: 4px;
--table-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--table-transition-fast: all 0.2s ease;
--table-transition-slow: all 0.5s ease;
}
.edit-cell {
background: linear-gradient(135deg, #fafbfc 0%, #f7f9fb 100%) !important;
padding: 12px 10px !important;
}
.edit-cell .edit-icon-wrapper:hover i {
filter: drop-shadow(0 2px 6px rgba(102, 126, 234, 0.3));
}
.edit-cell .progress-bar-container {
position: relative;
overflow: visible !important;
}
.edit-cell .progress-fill {
animation: progressSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes progressSlideIn {
from {
width: 0 !important;
opacity: 0;
}
to {
opacity: 1;
}
}
.edit-cell .status-badge {
transition: all 0.2s ease;
}
.edit-cell .status-badge:hover {
transform: translateY(-1px);
}
.edit-cell .fields-count {
transition: all 0.2s ease;
}
.edit-cell .fields-count:hover {
background: #e5e7eb;
transform: scale(1.05);
}
@media (prefers-color-scheme: dark) {
.edit-cell {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}
.edit-cell .progress-bar-container {
background: #0f172a !important;
}
.edit-cell .fields-count {
background: #1e293b !important;
color: #e5e7eb !important;
}
.edit-cell .fields-count:hover {
background: #334155 !important;
}
}
table.dataTable,
.dataTables_wrapper,
#posts-table,
#posts-table_wrapper {
position: relative;
z-index: 1 !important;
}
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Tajawal:wght@400;500;700&family=Inter:wght@400;600;700&display=swap');
:root {
--table-font-arabic: 'Cairo', 'Tajawal', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
--table-font-latin: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
--table-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
}
.status-badge, .type-chip {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: 999px;
font-size: 12px;
line-height: 1.6;
font-weight: 600;
border: 1px solid rgba(0,0,0,0.06);
box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.status-badge.status-done { background: #e6f7ed; color: #0f7b37; border-color: #b7ebc6; }
.status-badge.status-pending { background: #fff7e6; color: #ad6800; border-color: #ffe58f; }
.status-badge.status-overdue { background: #fdecea; color: #a8071a; border-color: #ffccc7; }
.status-badge.status-cancelled { background: #f5f5f5; color: #595959; border-color: #d9d9d9; }
.status-badge.status-new { background: #e6f4ff; color: #0958d9; border-color: #bae0ff; }
.status-badge.status-other { background: #f0f5ff; color: #2f54eb; border-color: #adc6ff; }
.type-chip.type-appeal { background: #fff0f6; color: #c41d7f; border-color: #ffd6e7; }
.type-chip.type-declaration { background: #f6ffed; color: #389e0d; border-color: #d9f7be; }
.type-chip.type-visit { background: #f0f5ff; color: #1d39c4; border-color: #adc6ff; }
.type-chip.type-call { background: #fff7e6; color: #d46b08; border-color: #ffe7ba; }
.type-chip.type-meeting { background: #e6fffb; color: #08979c; border-color: #b5f5ec; }
.type-chip.type-generic { background: #fafafa; color: #595959; border-color: #d9d9d9; }
.client-cell { display:flex; align-items:center; gap:8px; }
.client-cell .open-profile-modal {
width: 28px; height: 28px; display:inline-flex; align-items:center; justify-content:center;
border-radius: 6px; border: 1px solid #e5e7eb; background: #fff; color:#111827; cursor:pointer;
transition: var(--transition-fast); box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.client-cell .open-profile-modal:hover { background:#f9fafb; transform: translateY(-1px); }
.client-cell .open-profile-modal i { font-size: 14px; }
.partners-container {
margin-top: 6px;
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
border-radius: 10px;
border: 1px solid #e9ecef;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
transition: var(--transition-normal);
}
.partners-container:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
border-color: #dee2e6;
}
.partners-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
cursor: pointer;
transition: var(--transition-normal);
position: relative;
overflow: hidden;
}
.partners-header::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.3s ease;
}
.partners-header:hover::before {
left: 100%;
}
.partners-title {
display: flex;
align-items: center;
gap: 8px;
font-weight: 600;
font-size: 13px;
}
.partners-title i {
font-size: 14px;
opacity: 0.9;
}
.partners-toggle {
transition: transform 0.3s ease;
font-size: 12px;
}
.partners-header.expanded .partners-toggle {
transform: rotate(180deg);
}
.partners-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.partners-content.expanded {
max-height: 500px;
}
.partners-visible,
.partners-hidden {
padding: 12px;
display: flex;
flex-direction: column;
gap: 8px;
}
.partner-card {
background: white;
border-radius: 10px;
padding: 12px;
border: 1px solid #f1f3f4;
transition: var(--transition-normal);
position: relative;
overflow: hidden;
}
.partner-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
transition: width 0.3s ease;
}
.partner-card:hover {
border-color: #e3e6ea;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
transform: translateY(-1px);
}
.partner-card:hover::before {
width: 6px;
}
.partner-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
}
.partner-avatar {
width: 36px;
height: 36px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 14px;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
transition: transform 0.3s ease;
}
.partner-card:hover .partner-avatar {
transform: scale(1.05);
}
.partner-main-info {
flex: 1;
min-width: 0;
}
.partner-name {
font-weight: 600;
font-size: 13px;
color: #2c3e50;
margin-bottom: 2px;
line-height: 1.3;
}
.partner-share {
display: flex;
align-items: center;
gap: 4px;
font-size: 11px;
color: #6c757d;
font-weight: 500;
}
.partner-share i {
font-size: 10px;
opacity: 0.8;
}
.partner-dates {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid #f8f9fa;
}
.partner-date {
display: flex;
align-items: center;
gap: 4px;
font-size: 10px;
padding: 4px 8px;
border-radius: 6px;
font-weight: 500;
}
.partner-date.join-date {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.partner-date.exit-date {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.partner-date i {
font-size: 9px;
opacity: 0.8;
}
.partners-show-more {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px;
margin: 8px 12px 12px;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border: 1px dashed #dee2e6;
border-radius: var(--radius-md);
cursor: pointer;
font-size: 11px;
font-weight: 500;
color: #6c757d;
transition: var(--transition-normal);
}
.partners-show-more:hover {
background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
color: #495057;
border-color: #adb5bd;
transform: translateY(-1px);
}
.partners-show-more i {
font-size: 10px;
transition: transform 0.3s ease;
}
.partners-show-more:hover i {
transform: rotate(90deg);
}
.partners-info {
margin-top: 6px;
padding: 8px 12px;
background: #f8f9fa;
border-radius: 6px;
border-left: 3px solid #dee2e6;
font-size: 12px;
color: #495057;
font-weight: 500;
line-height: 1.4;
max-width: 100%;
word-wrap: break-word;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.partners-info:empty {
display: none;
}
.table-scroll-container {
overflow: visible;
border-radius: var(--table-radius-small);
box-shadow: var(--table-shadow-light);
background: var(--table-bg-primary);
position: relative;
margin-bottom: var(--table-padding);
max-width: 100%;
}
.table-scroll-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: var(--table-header-gradient);
background-size: 200% 100%;
animation: gradientMove 3s ease-in-out infinite;
z-index: 1;
}
.table-scroll-container::-webkit-scrollbar {
height: 10px;
}
.table-scroll-container::-webkit-scrollbar-track {
background: var(--table-bg-tertiary);
border-radius: var(--table-radius-tiny);
margin: 0 4px;
}
.table-scroll-container::-webkit-scrollbar-thumb {
background: var(--table-btn-primary);
border-radius: var(--table-radius-tiny);
transition: var(--table-transition);
}
.table-scroll-container::-webkit-scrollbar-thumb:hover {
background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
transform: scaleY(1.2);
}
.table {
margin-bottom: 0;
background: var(--table-bg-primary);
border-radius: var(--table-radius-small);
overflow: visible;
box-shadow: var(--table-shadow-light);
width: 100%;
border-collapse: separate;
border-spacing: 0;
position: relative;
max-height: none;
}
.table thead th {
background: #111827;
color: #ffffff;
font-weight: 700;
text-align: center;
padding: var(--table-padding) var(--table-padding-small);
border: none;
position: sticky;
top: 0;
z-index: 10;
font-size: clamp(12px, 2.5vw, 14px);
text-transform: uppercase;
letter-spacing: 0.5px;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
transition: var(--table-transition);
}
.table thead th:hover {
background: #0f172a;
transform: translateY(-1px);
}
.table thead th:first-child {
border-top-right-radius: var(--table-radius-small);
}
.table thead th:last-child {
border-top-left-radius: var(--table-radius-small);
}
.table tbody tr {
transition: var(--table-transition);
border-bottom: var(--table-border);
position: relative;
background: #ffffff !important;
}
.table tbody tr::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 0;
background: var(--table-header-gradient);
transition: width 0.3s ease;
z-index: 1;
}
.table tbody tr:hover::before {
width: 4px;
}
.table tbody tr:hover {
background: #ffffff !important;
transform: translateX(4px);
box-shadow: var(--table-shadow-medium);
z-index: 2;
}
.table tbody tr:last-child {
border-bottom: none;
}
.table tbody td {
padding: var(--table-padding-small);
vertical-align: middle;
text-align: center;
border: none;
font-size: clamp(11px, 2vw, 13px);
color: var(--table-text-muted);
position: relative;
z-index: 2;
}
.table-striped tbody tr:nth-of-type(odd) {
background: #ffffff;
}
.table-striped tbody tr:nth-of-type(even) {
background: #ffffff;
}
.table-hover tbody tr:hover {
background: #ffffff !important;
}
.file-summary-icon {
cursor: pointer;
color: var(--table-text-link);
font-size: 18px;
transition: var(--table-transition);
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: var(--table-radius-round);
background: rgba(0, 123, 255, 0.1);
position: relative;
overflow: hidden;
}
.file-summary-icon::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s ease;
}
.file-summary-icon:hover::before {
left: 100%;
}
.file-summary-icon:hover {
color: var(--table-text-link-hover);
transform: scale(1.15) rotate(5deg);
background: rgba(0, 86, 179, 0.15);
box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
}
.actions-column {
display: flex;
gap: var(--table-gap-small);
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.action-btn {
padding: var(--table-gap-small) var(--table-padding-small);
border: none;
border-radius: var(--table-radius-tiny);
cursor: pointer;
font-size: clamp(10px, 2vw, 12px);
font-weight: 600;
transition: var(--table-transition);
display: inline-flex;
align-items: center;
gap: var(--table-gap-tiny);
position: relative;
overflow: hidden;
text-transform: uppercase;
letter-spacing: 0.3px;
min-width: 60px;
justify-content: center;
}
.action-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.action-btn:hover::before {
left: 100%;
}
.action-btn.view {
background: var(--table-btn-view);
color: var(--table-text-white);
box-shadow: 0 2px 8px rgba(23, 162, 184, 0.2);
}
.action-btn.view:hover {
background: linear-gradient(135deg, #138496 0%, #1ba085 100%);
transform: translateY(-2px) scale(1.05);
box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}
.action-btn.edit {
background: var(--table-btn-edit);
color: var(--table-text-dark);
box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}
.action-btn.edit:hover {
background: linear-gradient(135deg, #e0a800 0%, #e68900 100%);
transform: translateY(-2px) scale(1.05);
box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}
.action-btn.delete {
background: var(--table-btn-delete);
color: var(--table-text-white);
box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}
.action-btn.delete:hover {
background: linear-gradient(135deg, #c82333 0%, #dc2626 100%);
transform: translateY(-2px) scale(1.05);
box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}
.action-btn:active {
transform: translateY(0) scale(0.98);
}
.client-name-link {
color: var(--table-text-link);
text-decoration: none;
font-weight: 600;
transition: var(--table-transition);
position: relative;
display: inline-block;
padding: 4px 8px;
border-radius: var(--table-radius-tiny);
}
.client-name-link::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 123, 255, 0.1);
border-radius: var(--table-radius-tiny);
opacity: 0;
transition: opacity 0.3s ease;
}
.client-name-link:hover::before {
opacity: 1;
}
.client-name-link:hover {
color: var(--table-text-link-hover);
text-decoration: none;
transform: translateY(-1px);
}
.client-name-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 50%;
background: var(--table-btn-primary);
transition: var(--transition-normal);
transform: translateX(-50%);
}
.client-name-link:hover::after {
width: 100%;
}
.client-avatar {
width: 40px;
height: 40px;
border-radius: var(--table-radius-round);
object-fit: cover;
border: 3px solid var(--table-bg-tertiary);
transition: var(--table-transition);
position: relative;
overflow: hidden;
}
.client-avatar::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}
.client-avatar:hover::before {
opacity: 1;
}
.client-avatar:hover {
border-color: var(--table-text-link);
transform: scale(1.15) rotate(5deg);
box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}
img.client-avatar {
border-radius: 50% !important;
object-fit: cover;
overflow: hidden;
}
span.client-avatar.default {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50% !important;
background: var(--table-bg-secondary);
color: var(--table-text-primary);
}
span.client-avatar.default i { font-size: 18px; }
span.client-avatar.default.initials {
font-weight: 800;
font-size: 16px;
letter-spacing: 0.5px;
background: linear-gradient(135deg, #93c5fd 0%, #a78bfa 100%);
color: #111827;
border: 3px solid rgba(255,255,255,0.9);
box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}
body.dark-mode span.client-avatar.default.initials {
color: #e5e7eb;
border-color: rgba(255,255,255,0.2);
box-shadow: 0 4px 12px rgba(17,24,39,0.5);
}
.client-name {
font-weight: 600;
color: var(--table-text-primary);
margin-right: var(--table-gap-small);
font-size: clamp(12px, 2.5vw, 14px);
}
.legal-entity {
font-size: clamp(10px, 2vw, 12px);
color: var(--table-text-secondary);
background: var(--table-bg-secondary);
padding: var(--table-gap-tiny) var(--table-gap-small);
border-radius: var(--table-radius-tiny);
display: inline-block;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.3px;
border: 1px solid var(--table-bg-tertiary);
transition: var(--table-transition);
}
.legal-entity:hover {
background: var(--table-bg-tertiary);
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.relative-time {
font-size: clamp(9px, 1.8vw, 11px);
color: var(--table-text-secondary);
font-style: italic;
opacity: 0.8;
}
.tax-office-short {
font-size: clamp(9px, 1.8vw, 11px);
color: var(--table-text-muted);
background: var(--table-bg-secondary);
padding: 2px var(--table-gap-tiny);
border-radius: var(--table-radius-tiny);
display: inline-block;
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border: 1px solid var(--table-bg-tertiary);
transition: var(--table-transition);
position: relative;
}
.tax-office-short:hover {
background: var(--table-bg-tertiary);
transform: scale(1.05);
z-index: 10;
max-width: none;
white-space: normal;
box-shadow: var(--table-shadow-medium);
}
.badge {
padding: 2px 6px;
border-radius: var(--table-radius-small);
font-size: clamp(8px, 1.5vw, 10px);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
line-height: 1.2;
display: inline-flex;
align-items: center;
gap: var(--table-gap-tiny);
transition: var(--table-transition);
position: relative;
overflow: hidden;
}
.badge::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s ease;
}
.badge:hover::before {
left: 100%;
}
.badge.active {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
color: #155724;
border: 1px solid #c3e6cb;
}
.badge.inactive {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
color: #721c24;
border: 1px solid #f5c6cb;
}
.badge.pending {
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
color: #856404;
border: 1px solid #ffeaa7;
}
.badge:hover {
transform: translateY(-1px) scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.table-loading {
position: relative;
opacity: 0.6;
pointer-events: none;
}
.table-loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 40px;
height: 40px;
border: 4px solid var(--table-bg-tertiary);
border-top: 4px solid var(--table-text-link);
border-radius: var(--table-radius-round);
animation: spin 1s linear infinite;
transform: translate(-50%, -50%);
z-index: 100;
}
.dataTables_wrapper {
padding: var(--table-padding);
background: var(--table-bg-primary);
border-radius: var(--table-radius);
box-shadow: var(--table-shadow-light);
margin-bottom: var(--table-padding);
overflow: visible;
max-height: none;
display: flex;
flex-direction: column;
}
.dataTables_wrapper .dataTables_length {
order: 3;
margin: var(--table-gap) 0;
}
.dataTables_wrapper .dataTables_filter {
order: 4;
margin: var(--table-gap) 0;
}
.dataTables_wrapper .dataTables_info {
order: 5;
margin: var(--table-gap) 0;
}
.dataTables_wrapper .dataTables_paginate {
order: 6;
margin: var(--table-gap) 0;
}
.dataTables_wrapper table {
order: 2;
}
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
padding: var(--table-gap-small) var(--table-padding-small);
border: var(--table-border-focus);
border-radius: var(--table-radius-tiny);
font-size: 14px;
transition: var(--table-transition);
background: var(--table-bg-primary);
}
.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
outline: none;
border-color: var(--table-text-link);
box-shadow: var(--table-focus-shadow);
transform: translateY(-1px);
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
padding: var(--table-gap-small) var(--table-padding-small);
margin: 0 2px;
border: var(--table-border);
border-radius: var(--table-radius-tiny);
background: var(--table-bg-primary);
color: var(--table-text-muted);
text-decoration: none;
transition: var(--table-transition);
font-weight: 500;
position: relative;
overflow: hidden;
}
.dataTables_wrapper .dataTables_paginate .paginate_button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s ease;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover::before {
left: 100%;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
background: var(--table-btn-primary);
color: var(--table-text-white);
border-color: var(--table-text-link);
transform: translateY(-2px);
box-shadow: var(--table-shadow-medium);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
background: var(--table-btn-primary);
color: var(--table-text-white);
border-color: var(--table-text-link);
box-shadow: var(--table-shadow-medium);
}
@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes gradientMove {
0%, 100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}
@media (max-width: 768px) {
.table thead th,
.table tbody td {
padding: var(--table-gap-small) var(--table-gap-tiny);
font-size: clamp(10px, 2vw, 12px);
}
.action-btn {
padding: var(--table-gap-tiny) var(--table-gap-small);
font-size: clamp(8px, 1.8vw, 10px);
min-width: 50px;
}
.client-avatar {
width: 28px;
height: 28px;
}
.file-summary-icon {
width: 24px;
height: 24px;
font-size: 14px;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
text-align: center;
margin: var(--table-gap-small) 0;
}
.actions-column {
flex-direction: column;
gap: var(--table-gap-tiny);
}
}
@media (max-width: 480px) {
.table-scroll-container {
border-radius: var(--table-radius-tiny);
}
.table {
border-radius: var(--table-radius-tiny);
}
.dataTables_wrapper {
padding: var(--table-padding-small);
}
.badge {
font-size: 8px;
padding: 2px var(--table-gap-tiny);
}
.legal-entity,
.tax-office-short {
font-size: 8px;
padding: 1px var(--table-gap-tiny);
}
}
@media (prefers-reduced-motion: reduce) {
.table-scroll-container::before,
.file-summary-icon::before,
.action-btn::before,
.badge::before,
.dataTables_wrapper .dataTables_paginate .paginate_button::before,
.client-avatar::before {
animation: none;
}
.table tbody tr:hover,
.action-btn:hover,
.client-avatar:hover,
.file-summary-icon:hover {
transform: none;
}
}
@media print {
.table-scroll-container,
.table,
.dataTables_wrapper {
box-shadow: none;
border: var(--table-border);
break-inside: avoid;
}
.table-scroll-container::before,
.file-summary-icon::before,
.action-btn::before,
.badge::before,
.client-avatar::before {
display: none;
}
.action-btn,
.dataTables_wrapper .dataTables_paginate {
display: none;
}
.table thead th {
background: var(--table-bg-tertiary) !important;
color: var(--table-text-dark) !important;
}
}
.badge-red,
.badge-green {
font-size: 11px;
padding: 2px 6px;
border-radius: var(--radius-md);
line-height: 1.1;
}
.badge-red { background-color: #ff6b6b !important; color: #fff !important; box-shadow: 0 1px 3px rgba(255,107,107,0.25) !important; }
.badge-green { background-color: #34c759 !important; color: #fff !important; box-shadow: 0 1px 3px rgba(52,199,89,0.25) !important; }
table.dataTable tbody tr.dasht-row {
background-color: rgba(220, 53, 69, 0.12) !important;
}
table.dataTable tbody tr.dasht-row:hover {
background-color: rgba(220, 53, 69, 0.18) !important;
}
table.dataTable tbody tr.activity-temporary-stop {
background-color: rgba(255, 152, 0, 0.08) !important;
}
table.dataTable tbody tr.activity-temporary-stop:hover {
background-color: rgba(255, 152, 0, 0.12) !important;
}
table.dataTable tbody tr.activity-permanent-stop {
background-color: rgba(220, 53, 69, 0.15) !important;
}
table.dataTable tbody tr.activity-permanent-stop:hover {
background-color: rgba(220, 53, 69, 0.22) !important;
}
table.dataTable tbody tr.client-inactive {
background-color: #fed7aa !important;
border-right: 4px solid #f97316 !important;
}
table.dataTable tbody tr.client-inactive:hover {
background-color: #fdba74 !important;
}
table.dataTable tbody tr.client-suspended {
background-color: #fee2e2 !important;
border-right: 4px solid #dc2626 !important;
}
table.dataTable tbody tr.client-suspended:hover {
background-color: #fecaca !important;
}
.dasht-label {
display: inline-block;
margin-inline-start: 6px;
padding: 2px 6px;
font-size: 10px;
font-weight: 600;
color: #b02a37;
background: rgba(220, 53, 69, 0.10);
border: 1px solid rgba(220, 53, 69, 0.35);
border-radius: var(--table-radius-tiny);
}
.activity-status-badge {
display: inline-block;
margin-inline-start: 6px;
padding: 3px 8px;
font-size: 10px;
font-weight: 600;
border-radius: var(--table-radius-tiny);
font-style: italic;
white-space: nowrap;
}
.activity-status-badge.temporary-stop {
color: #e65100;
background: rgba(255, 152, 0, 0.15);
border: 1px solid rgba(255, 152, 0, 0.4);
}
.activity-status-badge.permanent-stop {
color: #b02a37;
background: rgba(220, 53, 69, 0.15);
border: 1px solid rgba(220, 53, 69, 0.5);
}
.client-name-cell {
position: relative;
vertical-align: middle !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.table thead th.client-name-cell,
table.dataTable thead th:nth-child(2) {
text-align: right !important;
padding-right: 16px !important;
vertical-align: middle !important;
white-space: nowrap;
}
.client-info-container {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
position: relative;
}
.client-info-container .client-name-link,
.client-info-container .client-name-text {
display: inline-flex;
align-items: center;
gap: 8px;
}
.client-meta-inline {
display: flex;
flex-wrap: wrap;
gap: 6px 10px;
}
.status-icons {
position: absolute;
left: 8px;
bottom: 6px;
display: inline-flex;
gap: var(--table-gap-tiny);
pointer-events: none;
}
.client-counters-top {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin-top: 4px;
}
.client-counters-top .counter-badge,
.client-counters-top .counter-text {
font-family: var(--table-font-arabic);
font-size: 12px;
font-weight: 600;
color: #111827;
background: #f8fafc;
border: 1px solid #e5e7eb;
border-radius: 9999px;
padding: 4px 10px;
display: inline-flex;
align-items: center;
gap: 6px;
line-height: 1;
white-space: nowrap;
}
.client-counters-top .counter-badge i,
.client-counters-top .counter-text i {
font-size: 12px;
color: #6b7280;
}
.client-counters-top .counter-text.no-data {
color: #6b7280;
background: #f3f4f6;
}
.client-counters-top .counter-badge.docs-counter {
background: #eef2ff;
border-color: #e0e7ff;
color: #3730a3;
}
.client-counters-top .counter-badge.docs-counter i {
color: #4f46e5;
}
.client-counters-top .counter-badge.docs-expired-counter {
background: #fee2e2;
border-color: #fecaca;
color: #991b1b;
}
.client-counters-top .counter-badge.docs-expired-counter i {
color: #dc2626;
}
@media (max-width: 768px) {
.client-badges { left: 6px; bottom: 4px; }
}
@media (max-width: 480px) {
.client-badges { left: 4px; bottom: 3px; }
}
.badge.vat-badge {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
color: #155724;
border: 1px solid #c3e6cb;
}
.badge.law6-badge {
background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
color: #1e3a8a;
border: 1px solid #bfdbfe;
}
.badge.inv-badge {
background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
color: #5b21b6;
border: 1px solid #ddd6fe;
}
.badge:hover {
transform: translateY(-1px) scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#posts-table.dataTable tbody td,
#tasks-table.dataTable tbody td { font-size: 15.5px; line-height: 1.7; }
#posts-table.dataTable thead th,
#tasks-table.dataTable thead th { font-size: 14.5px; }
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label { font-size: 14px; }
#posts-table.dataTable td .muted,
#posts-table.dataTable td .subtle { font-size: 13px; }
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Tajawal:wght@400;500;700&family=Inter:wght@400;600;700&display=swap');
:root {
--table-font-arabic: 'Cairo', 'Tajawal', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
--table-font-latin: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
--table-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
}
#posts-table.dataTable,
#tasks-table.dataTable,
#posts-table.dataTable thead th,
#tasks-table.dataTable thead th,
#posts-table.dataTable tbody td,
#tasks-table.dataTable tbody td,
#posts-table.dataTable tfoot th,
#tasks-table.dataTable tfoot th,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
font-family: var(--table-font-arabic);
}
#posts-table.dataTable td.num,
#tasks-table.dataTable td.num,
#posts-table.dataTable td.numeric,
#tasks-table.dataTable td.numeric,
#posts-table.dataTable td[data-type="number"],
#tasks-table.dataTable td[data-type="number"],
#posts-table.dataTable th.num,
#tasks-table.dataTable th.num,
#posts-table.dataTable th.numeric,
#tasks-table.dataTable th.numeric,
#posts-table.dataTable th[data-type="number"],
#tasks-table.dataTable th[data-type="number"] {
font-feature-settings: "tnum" 1, "lnum" 1;
font-variant-numeric: tabular-nums lining-nums;
font-family: var(--table-font-latin);
}
#posts-table.dataTable tbody td,
#tasks-table.dataTable tbody td { font-size: 15.5px; line-height: 1.7; }
#posts-table.dataTable thead th,
#tasks-table.dataTable thead th { font-size: 14.5px; font-weight: 700; letter-spacing: 0.01em; }
#posts-table.dataTable td .btn,
#tasks-table.dataTable td .btn,
#posts-table.dataTable td .badge,
#tasks-table.dataTable td .badge { font-family: var(--table-font-latin); }
html[dir="rtl"] #posts-table.dataTable,
html[dir="rtl"] #tasks-table.dataTable,
html[dir="rtl"] .dataTables_wrapper { font-family: var(--table-font-arabic); }
#posts-table.dataTable tbody tr:hover,
#tasks-table.dataTable tbody tr:hover {
background: #ffffff !important;
box-shadow: var(--table-shadow-light);
transform: none;
}
#posts-table.dataTable tbody tr::before,
#tasks-table.dataTable tbody tr::before { display: none !important; }
#posts-table.dataTable thead th,
#tasks-table.dataTable thead th,
#posts-table.dataTable tbody td,
#tasks-table.dataTable tbody td {
border-inline-start: 1px solid rgba(229, 231, 235, 0.6);
}
#posts-table.dataTable thead th,
#tasks-table.dataTable thead th {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
color: #ffffff !important;
font-weight: 600 !important;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
border-bottom: 3px solid #1a252f !important;
padding: 14px 12px !important;
position: relative;
}
#posts-table.dataTable thead th:hover,
#tasks-table.dataTable thead th:hover {
background: linear-gradient(135deg, #34495e 0%, #3d566e 100%) !important;
}
#posts-table.dataTable thead th:first-child,
#tasks-table.dataTable thead th:first-child,
#posts-table.dataTable tbody td:first-child,
#tasks-table.dataTable tbody td:first-child { border-inline-start: none; }
.badge.badge-related { font-size: 10px; padding: 2px 6px; border-radius: 999px; margin-right: 6px; background: #e5e7eb; color: #111827; border: 1px solid #d1d5db; display: inline-block; }
.badge.badge-related.badge-other { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.badge.badge-related.badge-parent { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.badge.badge-related.badge-child { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.related-badges { display: inline-flex; gap: 6px; margin-right: 6px; vertical-align: middle; }
table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
position: relative;
padding-inline-end: calc(var(--table-padding-small) + 14px);
cursor: pointer;
}
table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after {
content: '\2195';
position: absolute;
inset-inline-end: 10px;
top: 50%;
transform: translateY(-50%);
font-size: 11px;
opacity: 0.7;
color: #ffffff;
}
table.dataTable thead th.sorting_asc::after {
content: '\2191';
opacity: 1;
color: #ffffff;
}
table.dataTable thead th.sorting_desc::after {
content: '\2193';
opacity: 1;
color: #ffffff;
}
.dataTables_wrapper .dataTables_filter {
position: relative;
}
.dataTables_wrapper .dataTables_filter label { width: 100%; }
.dataTables_wrapper .dataTables_filter input {
width: 100%;
padding-inline-start: 36px;
background-color: var(--table-bg-primary);
background-repeat: no-repeat;
background-size: 18px 18px;
background-position: 10px 50%;
box-shadow: 0 1px 2px rgba(0,0,0,0.06) inset;
}
html[dir="rtl"] .dataTables_wrapper .dataTables_filter input {
padding-inline-start: var(--table-padding-small);
padding-inline-end: 36px;
background-position: calc(100% - 10px) 50%;
}
.dataTables_wrapper .dataTables_filter input {
color: var(--table-text-primary);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}
#posts-table.dataTable td.num,
#tasks-table.dataTable td.num,
#posts-table.dataTable th.num,
#tasks-table.dataTable th.num,
#posts-table.dataTable td.numeric,
#tasks-table.dataTable td.numeric,
#posts-table.dataTable th.numeric,
#tasks-table.dataTable th.numeric,
#posts-table.dataTable td[data-type="number"],
#tasks-table.dataTable td[data-type="number"],
#posts-table.dataTable th[data-type="number"],
#tasks-table.dataTable th[data-type="number"] {
text-align: end;
font-feature-settings: "tnum" 1, "lnum" 1;
font-variant-numeric: tabular-nums lining-nums;
}
#posts-table.dataTable.compact thead th,
#posts-table.dataTable.compact tbody td { padding: 8px 10px; }
table.dataTable td.dataTables_empty {
text-align: center !important;
color: var(--table-text-secondary);
padding: 24px 12px;
}
.dataTables_wrapper .dataTables_processing {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
padding: 10px 14px;
border-radius: 10px;
background: rgba(255,255,255,0.9);
border: 1px solid #e5e7eb;
box-shadow: var(--table-shadow-medium);
z-index: 100;
}
@media (prefers-color-scheme: dark) {
.dataTables_wrapper .dataTables_processing {
background: rgba(17,24,39,0.85);
border-color: rgba(255,255,255,0.12);
color: #e5e7eb;
}
}
#posts-table_wrapper,
#tasks-table_wrapper {
border: 1px solid rgba(229, 231, 235, 0.8);
border-radius: var(--table-radius);
}
#posts-table.dataTable tbody tr:focus-within {
outline: 2px solid rgba(102, 126, 234, 0.4);
outline-offset: -2px;
}
.truncate-1 {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.line-clamp-2 {
display: -webkit-box;
line-clamp: 2;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3 {
display: -webkit-box;
line-clamp: 3;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
@media (max-width: 768px) {
#posts-table.dataTable thead th,
#posts-table.dataTable tbody td {
border-inline-start: none;
}
}
.acf-completion-pill {
--pill-bg: #fff7ed;
--pill-br: #fdba74;
--pill-text: #9a3412;
--pill-icon: #c2410c;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 10px;
border-radius: 9999px;
background: var(--pill-bg);
border: 1px solid var(--pill-br);
color: var(--pill-text);
font-weight: 700;
font-size: 13px;
line-height: 1;
margin-inline-start: 8px;
box-shadow: 0 1px 2px rgba(0,0,0,.06);
font-family: var(--table-font-arabic);
}
.acf-completion-pill .pct { letter-spacing: .2px; }
.acf-completion-pill .ring-icon {
width: 16px; height: 16px; border-radius: 50%;
box-shadow: inset 0 0 0 2px var(--pill-icon);
display: inline-block;
}
.acf-completion-pill.high {
--pill-bg: #ecfdf5;
--pill-br: #86efac;
--pill-text: #065f46;
--pill-icon: #059669;
}
.acf-completion-pill.medium {
--pill-bg: #fff7ed;
--pill-br: #fdba74;
--pill-text: #9a3412;
--pill-icon: #c2410c;
}
.acf-completion-pill.low {
--pill-bg: #fef2f2;
--pill-br: #fca5a5;
--pill-text: #7f1d1d;
--pill-icon: #dc2626;
}
.acf-completion-pill.empty {
--pill-bg: #f1f5f9;
--pill-br: #cbd5e1;
--pill-text: #334155;
--pill-icon: #64748b;
}
body.dark-mode .acf-completion-pill {
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
table.dataTable tbody tr:hover .acf-completion-pill {
transform: translateY(-1px);
transition: transform .15s ease;
}

/* === mobile-card-view.css === */
.tp-mobile-view {
}
.tp-mobile-view table.dataTable {
border-collapse: separate;
border-spacing: 0;
}
.tp-mobile-view table.dataTable thead {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
}
.tp-mobile-view table.dataTable tbody {
display: block;
width: 100%;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
display: block;
width: 100%;
margin-bottom: 16px;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 8px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
transition: all 0.2s ease;
overflow: hidden;
}
body.dark-mode .tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
background: #1f2937;
border-color: #374151;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:hover {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transform: translateY(-2px);
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:focus-within {
outline: 2px solid var(--focus-ring-color, #3b82f6);
outline-offset: 2px;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card.tp-card-active {
background: #f9fafb;
transform: scale(0.98);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
body.dark-mode .tp-mobile-view table.dataTable tbody tr.tp-mobile-card.tp-card-active {
background: #111827;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td {
display: block;
width: 100%;
padding: 0;
border: none;
background: transparent;
}
.tp-card-item {
display: flex;
align-items: flex-start;
padding: 12px 16px;
border-bottom: 1px solid #f3f4f6;
min-height: 44px;
}
body.dark-mode .tp-card-item {
border-bottom-color: #374151;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:last-child .tp-card-item {
border-bottom: none;
}
.tp-card-label {
flex: 0 0 120px;
font-weight: 600;
font-size: 13px;
color: #6b7280;
padding-right: 12px;
line-height: 1.5;
margin-top: 2px;
}
body.dark-mode .tp-card-label {
color: #9ca3af;
}
.tp-card-value {
flex: 1;
font-size: 14px;
color: #111827;
line-height: 1.5;
word-break: break-word;
}
body.dark-mode .tp-card-value {
color: #f3f4f6;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:first-child .tp-card-item {
background: #f9fafb;
padding: 16px;
border-bottom: 2px solid #e5e7eb;
}
body.dark-mode .tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:first-child .tp-card-item {
background: #111827;
border-bottom-color: #4b5563;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:first-child .tp-card-value {
font-size: 16px;
font-weight: 600;
color: #1f2937;
}
body.dark-mode .tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:first-child .tp-card-value {
color: #f9fafb;
}
.tp-card-value .status-badge,
.tp-card-value .badge {
display: inline-block;
padding: 4px 12px;
border-radius: 12px;
font-size: 12px;
font-weight: 500;
}
.tp-card-value button,
.tp-card-value .btn {
min-width: 44px;
min-height: 44px;
padding: 8px 16px;
margin: 4px 0;
}
.tp-card-value a {
color: #3b82f6;
text-decoration: underline;
min-height: 44px;
display: inline-flex;
align-items: center;
}
.tp-card-value a:hover {
color: #2563eb;
}
.tp-card-value a:focus {
outline: 2px solid var(--focus-ring-color, #3b82f6);
outline-offset: 2px;
border-radius: 2px;
}
.tp-mobile-view table.dataTable.processing tbody tr.tp-mobile-card {
opacity: 0.5;
pointer-events: none;
}
.tp-mobile-view .dataTables_empty {
display: block;
padding: 48px 24px;
text-align: center;
color: #6b7280;
font-size: 14px;
}
@keyframes cardFadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
animation: cardFadeIn 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card,
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:hover,
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card.tp-card-active {
animation: none;
transition: none;
transform: none;
}
}
@media (max-width: 767px) {
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
width: 100%;
margin-left: 0;
margin-right: 0;
}
.tp-card-item {
padding: 10px 12px;
}
@media (max-width: 480px) {
.tp-card-item {
flex-direction: column;
align-items: flex-start;
}
.tp-card-label {
flex: 1;
padding-right: 0;
padding-bottom: 4px;
margin-top: 0;
}
.tp-card-value {
padding-left: 0;
}
}
}
@media (min-width: 768px) {
.tp-card-item {
display: contents;
}
.tp-card-label {
display: none;
}
}
.tp-mobile-view .dataTables_paginate {
margin-top: 16px;
text-align: center;
}
.tp-mobile-view .dataTables_paginate .paginate_button {
min-width: 44px;
min-height: 44px;
padding: 8px 12px;
margin: 4px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.tp-mobile-view .dataTables_info {
text-align: center;
padding: 12px;
font-size: 13px;
color: #6b7280;
}
@media (prefers-contrast: high) {
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
border-width: 2px;
border-color: #000000;
}
.tp-card-item {
border-bottom-width: 2px;
}
.tp-card-label {
font-weight: 700;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:focus-within {
outline-width: 3px;
}
}
.tp-card-sr-only {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:focus-visible {
outline: 3px solid var(--focus-ring-color, #3b82f6);
outline-offset: 3px;
}
.tp-card-value button,
.tp-card-value .btn,
.tp-card-value a,
.tp-card-value input,
.tp-card-value select {
min-width: 44px;
min-height: 44px;
}
@media print {
.tp-mobile-view table.dataTable thead {
position: static;
width: auto;
height: auto;
}
.tp-mobile-view table.dataTable tbody {
display: table-row-group;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
display: table-row;
margin: 0;
border: 1px solid #000;
box-shadow: none;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td {
display: table-cell;
padding: 8px;
border: 1px solid #000;
}
.tp-card-label {
display: none;
}
.tp-card-item {
display: contents;
}
}

/* === mobile.css === */
@media (max-width: 768px) {
button,
.button,
a.button,
input[type="submit"],
input[type="button"],
.wp-core-ui .button {
min-height: 48px;
min-width: 48px;
padding: 12px 24px;
font-size: 16px;
}
* {
-webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select {
min-height: 48px;
font-size: 16px;
padding: 12px 16px;
}
body {
font-size: 16px;
line-height: 1.6;
}
}
.mobile-bottom-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: white;
border-top: 1px solid #e5e7eb;
display: none;
z-index: 99999;
padding-bottom: env(safe-area-inset-bottom);
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.mobile-bottom-nav {
display: flex;
}
}
.mobile-bottom-nav-items {
display: flex;
width: 100%;
justify-content: space-around;
align-items: center;
padding: 8px 0;
}
.mobile-bottom-nav-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 8px 12px;
text-decoration: none;
color: #6b7280;
transition: all 0.3s ease;
min-width: 60px;
position: relative;
}
.mobile-bottom-nav-item.active {
color: #667eea;
}
.mobile-bottom-nav-item.active::before {
content: "";
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 30px;
height: 3px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 0 0 3px 3px;
}
.mobile-bottom-nav-icon {
font-size: 24px;
margin-bottom: 4px;
}
.mobile-bottom-nav-label {
font-size: 11px;
font-weight: 500;
}
.mobile-bottom-nav-badge {
position: absolute;
top: 4px;
right: 8px;
background: #ef4444;
color: white;
font-size: 10px;
font-weight: 700;
padding: 2px 6px;
border-radius: 10px;
min-width: 18px;
text-align: center;
}
.mobile-header {
position: sticky;
top: 0;
background: white;
border-bottom: 1px solid #e5e7eb;
padding: 12px 16px;
display: none;
align-items: center;
justify-content: space-between;
z-index: 99998;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
.mobile-header {
display: flex;
}
}
.mobile-header-left,
.mobile-header-right {
display: flex;
align-items: center;
gap: 8px;
}
.mobile-header-title {
font-size: 18px;
font-weight: 700;
color: #1f2937;
margin: 0;
}
.mobile-menu-button,
.mobile-search-button,
.mobile-notifications-button {
width: 40px;
height: 40px;
border: none;
background: #f3f4f6;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 20px;
transition: all 0.3s ease;
}
.mobile-menu-button:active,
.mobile-search-button:active,
.mobile-notifications-button:active {
background: #e5e7eb;
transform: scale(0.95);
}
.mobile-sidebar {
position: fixed;
top: 0;
right: -100%;
width: 80%;
max-width: 320px;
height: 100vh;
background: white;
z-index: 999999;
transition: right 0.3s ease;
overflow-y: auto;
padding-bottom: env(safe-area-inset-bottom);
}
.mobile-sidebar.active {
right: 0;
}
.mobile-sidebar-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 999998;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.mobile-sidebar-overlay.active {
opacity: 1;
visibility: visible;
}
.mobile-sidebar-header {
padding: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.mobile-sidebar-close {
position: absolute;
top: 16px;
left: 16px;
width: 36px;
height: 36px;
border: none;
background: rgba(255, 255, 255, 0.2);
color: white;
border-radius: 8px;
font-size: 24px;
cursor: pointer;
}
.mobile-sidebar-user {
display: flex;
align-items: center;
gap: 12px;
margin-top: 40px;
}
.mobile-sidebar-avatar {
width: 50px;
height: 50px;
border-radius: 50%;
background: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
}
.mobile-sidebar-user-info h3 {
margin: 0;
font-size: 16px;
font-weight: 600;
}
.mobile-sidebar-user-info p {
margin: 4px 0 0;
font-size: 13px;
opacity: 0.9;
}
.mobile-sidebar-menu {
padding: 0;
margin: 0;
list-style: none;
}
.mobile-sidebar-menu-item {
border-bottom: 1px solid #f3f4f6;
}
.mobile-sidebar-menu-item a {
display: flex;
align-items: center;
padding: 16px 20px;
color: #374151;
text-decoration: none;
transition: all 0.3s ease;
}
.mobile-sidebar-menu-item a:active {
background: #f9fafb;
}
.mobile-sidebar-menu-item.active a {
background: #f0f4f8;
color: #667eea;
font-weight: 600;
}
.mobile-sidebar-menu-icon {
font-size: 24px;
margin-left: 12px;
width: 40px;
text-align: center;
}
.pull-to-refresh {
position: absolute;
top: -60px;
left: 0;
right: 0;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease;
}
.pull-to-refresh.pulling {
transform: translateY(60px);
}
.pull-to-refresh-icon {
font-size: 24px;
animation: rotate 1s linear infinite;
}
@keyframes rotate {
to { transform: rotate(360deg); }
}
.swipe-indicator {
position: fixed;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
background: rgba(102, 126, 234, 0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 24px;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
z-index: 99997;
}
.swipe-indicator.left {
left: 20px;
}
.swipe-indicator.right {
right: 20px;
}
.swipe-indicator.active {
opacity: 1;
animation: swipePulse 0.6s ease infinite;
}
@keyframes swipePulse {
0%, 100% { transform: translateY(-50%) scale(1); }
50% { transform: translateY(-50%) scale(1.1); }
}
@media (max-width: 768px) {
.wp-list-table {
display: block;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.wp-list-table thead {
display: none;
}
.wp-list-table tbody,
.wp-list-table tr {
display: block;
}
.wp-list-table tr {
margin-bottom: 16px;
background: white;
border-radius: 12px;
padding: 16px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.wp-list-table td {
display: flex;
justify-content: space-between;
padding: 12px 0 !important;
border: none !important;
border-bottom: 1px solid #f3f4f6 !important;
}
.wp-list-table td:last-child {
border-bottom: none !important;
}
.wp-list-table td::before {
content: attr(data-label);
font-weight: 600;
color: #6b7280;
margin-left: 8px;
}
}
.mobile-card {
background: white;
border-radius: 16px;
padding: 20px;
margin-bottom: 16px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.mobile-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
padding-bottom: 16px;
border-bottom: 1px solid #f3f4f6;
}
.mobile-card-title {
font-size: 18px;
font-weight: 700;
color: #1f2937;
margin: 0;
}
.mobile-card-actions {
display: flex;
gap: 8px;
}
.mobile-card-action {
width: 36px;
height: 36px;
border: none;
background: #f3f4f6;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 18px;
}
@media (max-width: 768px) {
.mobile-form-group {
margin-bottom: 20px;
}
.mobile-form-label {
display: block;
font-size: 14px;
font-weight: 600;
color: #374151;
margin-bottom: 8px;
}
.mobile-form-input {
width: 100%;
min-height: 48px;
padding: 12px 16px;
border: 2px solid #e5e7eb;
border-radius: 12px;
font-size: 16px;
transition: all 0.3s ease;
}
.mobile-form-input:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}
}
@media (max-width: 768px) {
.mobile-modal {
position: fixed;
bottom: -100%;
left: 0;
right: 0;
background: white;
border-radius: 24px 24px 0 0;
z-index: 999999;
transition: bottom 0.3s ease;
max-height: 90vh;
overflow-y: auto;
padding-bottom: env(safe-area-inset-bottom);
}
.mobile-modal.active {
bottom: 0;
}
.mobile-modal-handle {
width: 40px;
height: 4px;
background: #d1d5db;
border-radius: 2px;
margin: 12px auto;
}
.mobile-modal-header {
padding: 16px 20px;
border-bottom: 1px solid #e5e7eb;
}
.mobile-modal-title {
font-size: 18px;
font-weight: 700;
color: #1f2937;
margin: 0;
}
.mobile-modal-content {
padding: 20px;
}
}
.mobile-tabs {
display: flex;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
border-bottom: 2px solid #e5e7eb;
margin-bottom: 20px;
gap: 8px;
}
.mobile-tabs::-webkit-scrollbar {
display: none;
}
.mobile-tab {
padding: 12px 20px;
border: none;
background: transparent;
color: #6b7280;
font-size: 15px;
font-weight: 500;
white-space: nowrap;
cursor: pointer;
position: relative;
transition: all 0.3s ease;
}
.mobile-tab.active {
color: #667eea;
font-weight: 700;
}
.mobile-tab.active::after {
content: "";
position: absolute;
bottom: -2px;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.mobile-search-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: white;
z-index: 999999;
transform: translateY(-100%);
transition: transform 0.3s ease;
}
.mobile-search-overlay.active {
transform: translateY(0);
}
.mobile-search-header {
display: flex;
align-items: center;
padding: 16px;
gap: 12px;
border-bottom: 1px solid #e5e7eb;
}
.mobile-search-back {
width: 40px;
height: 40px;
border: none;
background: #f3f4f6;
border-radius: 10px;
font-size: 24px;
cursor: pointer;
}
.mobile-search-input {
flex: 1;
height: 40px;
border: none;
background: #f3f4f6;
border-radius: 10px;
padding: 0 16px;
font-size: 16px;
}
.mobile-search-results {
padding: 20px;
}
@media (hover: none) {
button:active,
.button:active,
a:active {
transform: scale(0.97);
opacity: 0.8;
}
}
.mobile-fab {
position: fixed;
bottom: calc(70px + env(safe-area-inset-bottom));
left: 20px;
width: 56px;
height: 56px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
border-radius: 50%;
color: white;
font-size: 24px;
display: none;
align-items: center;
justify-content: center;
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
cursor: pointer;
z-index: 99997;
transition: all 0.3s ease;
}
@media (max-width: 768px) {
.mobile-fab {
display: flex;
}
}
.mobile-fab:active {
transform: scale(0.9);
}
@media (max-width: 768px) {
#wpbody-content {
padding-bottom: calc(70px + env(safe-area-inset-bottom));
}
.wrap {
margin: 0;
padding: 16px;
}
h1,
.wp-heading-inline {
font-size: 24px !important;
}
h2 {
font-size: 20px !important;
}
}
@media (max-width: 768px) {
#wpbody-content .page-title-action,
#wpbody-content .subsubsub,
.tablenav.top,
.tablenav.bottom,
#screen-meta-links,
#screen-meta {
display: none !important;
}
}
@media (max-width: 768px) and (orientation: landscape) {
.mobile-header {
padding: 8px 16px;
}
.mobile-bottom-nav {
padding: 4px 0;
}
.mobile-bottom-nav-item {
padding: 4px 8px;
}
.mobile-fab {
bottom: calc(60px + env(safe-area-inset-bottom));
}
}
@media (max-width: 768px) {
a,
button,
input,
select,
textarea {
min-height: 44px;
}
}
.no-select {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
html {
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) and (prefers-color-scheme: dark) {
.mobile-header,
.mobile-bottom-nav,
.mobile-sidebar,
.mobile-card,
.mobile-modal {
background: #1e293b;
border-color: #334155;
}
.mobile-header-title,
.mobile-card-title,
.mobile-modal-title {
color: #f1f5f9;
}
.mobile-bottom-nav-item,
.mobile-sidebar-menu-item a {
color: #cbd5e1;
}
.mobile-bottom-nav-item.active,
.mobile-sidebar-menu-item.active a {
color: #818cf8;
}
.mobile-menu-button,
.mobile-search-button,
.mobile-notifications-button,
.mobile-card-action {
background: #334155;
color: #f1f5f9;
}
}

/* === filters.css === */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Tajawal:wght@400;500;700&family=Inter:wght@400;600;700&display=swap');
:root {
--filters-font-arabic: 'Cairo', 'Tajawal', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
--filters-font-latin: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
}
.btn {
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: var(--transition-smooth);
text-decoration: none;
border: none;
border-radius: var(--radius-md);
padding: 10px 16px;
display: inline-flex;
align-items: center;
gap: 8px;
position: relative;
overflow: hidden;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s;
}
.btn:hover::before {
left: 100%;
}
.btn svg {
width: 16px;
height: 16px;
transition: transform 0.3s ease;
}
.btn:hover svg {
transform: scale(1.1);
}
.btn-primary {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
color: #ffffff;
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}
.btn-primary:hover {
background: linear-gradient(135deg, #2563eb, #1e40af);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}
.btn-primary:active {
transform: translateY(0);
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.btn-secondary {
background: #f8fafc;
color: #64748b;
border: 1px solid #e2e8f0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.btn-secondary:hover {
background: #f1f5f9;
color: #475569;
border-color: #cbd5e1;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-secondary:active {
transform: translateY(0);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.statistics-container { max-width: 100%; }
.filters {
display: flex;
flex-direction: column;
gap: 16px;
padding: 16px;
background: #f8fafc;
border-radius: 12px;
border: 1px solid #e2e8f0;
max-width: 100%;
overflow: visible;
box-sizing: border-box;
width: 100%;
font-family: var(--filters-font-arabic);
}
.filter-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 12px;
align-items: end;
width: 100%;
position: relative;
z-index: 50;
}
.filter-row.row-one {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 12px;
}
.filter-group.file-number-field {
min-width: 180px;
}
.filter-group.client-name-field {
min-width: 250px;
}
.filter-row.row-two {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 12px;
}
.filter-group.activity-start-field {
min-width: 180px;
}
.filter-group.activity-field {
min-width: 250px;
}
.filter-row.row-three {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 12px;
}
.filter-group.tax-office-field {
min-width: 300px;
}
.filter-group.legal-entity-field {
min-width: 300px;
}
.filter-row.row-four {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 16px;
align-items: center;
}
.filter-group.checkbox-field {
min-width: 200px;
margin-top: 0;
justify-content: flex-start;
align-items: flex-end;
}
.filter-group {
display: flex;
flex-direction: column;
gap: 8px;
box-sizing: border-box;
}
.filters .unified-row {
display: grid;
gap: var(--filter-gap);
grid-template-columns: minmax(180px, 220px) 1fr;
align-items: center;
grid-column: 1 / -1;
}
.filters .unified-row .unified-select-value-field { grid-column: 2 / 3; }
.unified-row.mode-text #unified-select-wrapper { display: none !important; }
.unified-row.mode-text #unified-text-wrapper { display: block !important; }
.unified-row.mode-select #unified-select-wrapper { display: block !important; }
.unified-row.mode-select #unified-text-wrapper { display: none !important; }
.unified-row.mode-none #unified-select-wrapper,
.unified-row.mode-none #unified-text-wrapper { display: none !important; }
.filters .row-four {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
align-items: end;
gap: 12px;
}
.filters .row-four .filter-group > select,
.filters .row-four .filter-group > input { width: 100%; }
.filters .row-four .classifications-field select { min-width: 220px; }
@media (max-width: 1024px) {
.filters .row-four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
.filters .row-four { grid-template-columns: 1fr; }
}
.classification-cards { margin: 16px 0 8px; }
.classification-cards .cards-toolbar { display:flex; justify-content:flex-start; align-items:center; gap:8px; margin-bottom:10px; }
.classification-cards .clear-classification-btn { padding:6px 10px; font-size:13px; border-radius:8px; border:1px solid #d1d5db; background:#f9fafb; color:#374151; cursor:pointer; }
.classification-cards .clear-classification-btn:hover { background:#f3f4f6; }
.classification-cards .cards-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 12px;
}
.classification-card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 16px;
border: var(--filter-border);
border-radius: 10px;
background: #fff;
box-shadow: var(--filter-shadow-light);
cursor: pointer;
transition: transform .15s ease, box-shadow .15s ease;
min-height: 84px;
overflow: hidden;
}
.classification-card:hover { transform: translateY(-2px); box-shadow: var(--filter-shadow-medium); }
.classification-card .card-title { font-weight: 700; color: #111827; margin-bottom: 6px; text-align:center; max-width:100%; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; line-height:1.2; }
.classification-card .card-count { font-size: 22px; font-weight: 800; color: #0ea5e9; }
.classification-card.selected { background:#111827; box-shadow:none; }
.classification-card.selected .card-title { color:#ffffff; }
.classification-card.selected .card-count { color:#93c5fd; }
.classification-cards .cards-note { margin-top: 6px; font-size: 12px; color: #6b7280; }
@media (max-width: 640px){
.filters .unified-row { grid-template-columns: 1fr; }
}
.filter-group label {
font-size: 14px;
font-weight: 600;
color: #374151;
margin-bottom: 4px;
white-space: nowrap;
font-family: var(--filters-font-arabic);
}
.filter-group input,
.filter-group select {
padding: 10px 14px;
border: 1px solid #d1d5db;
border-radius: var(--radius-md);
font-size: 14px;
background: #ffffff;
color: #111827;
transition: var(--transition-fast);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
font-family: var(--filters-font-arabic);
}
.filter-group input::placeholder { font-family: inherit; color: #9aa4b2; }
.filter-group select:invalid { color: #9aa4b2; }
.filter-group select option { color: #111827; background: #ffffff; }
.filters .btn,
.filters .btn-primary,
.filters .btn-secondary { font-family: var(--filters-font-arabic); }
.filter-group input:focus,
.filter-group select:focus {
outline: none;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}
.filter-group input:hover,
.filter-group select:hover {
border-color: #9ca3af;
}
.checkbox-label {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
color: #374151;
cursor: pointer;
user-select: none;
font-family: var(--filters-font-arabic);
}
.checkbox-label input[type="checkbox"] {
width: 16px;
height: 16px;
margin: 0;
}
.category-hub {
margin-bottom: 24px;
padding: 24px 26px;
border-radius: 18px;
position: relative;
overflow: hidden;
background: linear-gradient(132deg, #4338ca 0%, #7c3aed 45%, #0ea5e9 100%);
box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.45);
direction: rtl;
text-align: right;
}
.category-hub::before {
content: '';
position: absolute;
inset-inline-start: -40%;
top: -60%;
width: 70%;
height: 140%;
background: radial-gradient(circle at center, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%);
transform: rotate(-8deg);
pointer-events: none;
}
.category-hub__header {
position: relative;
z-index: 2;
display: flex;
flex-wrap: wrap;
gap: 18px;
align-items: flex-start;
justify-content: space-between;
}
.category-hub__control-cluster {
display: inline-flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
justify-content: flex-end;
min-width: 260px;
}
.category-hub__view-toggle-slot {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
}
.category-hub__view-toggle-slot .view-toggle-btn {
margin: 0;
border-radius: 12px;
}
.category-hub__title {
display: flex;
align-items: center;
gap: 16px;
color: #fff;
}
.category-hub__caption {
text-align: right;
}
.category-hub__icon {
width: 52px;
height: 52px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 14px;
background: rgba(15, 23, 42, 0.18);
backdrop-filter: blur(6px);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.category-hub__icon i {
font-size: 22px;
}
.category-hub__caption h3 {
margin: 0;
font-size: 21px;
font-weight: 800;
letter-spacing: -0.01em;
}
.category-hub__caption p {
margin: 4px 0 0;
font-size: 14px;
opacity: 0.85;
}
.category-hub__actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: flex-start;
align-items: center;
margin-top: 18px;
}
.category-hub__types {
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: flex-start;
}
.category-hub__utilities {
display: inline-flex;
align-items: center;
gap: 10px;
}
.category-hub__display-toggle {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 9px 14px;
border-radius: 14px;
border: 1px solid rgba(248, 250, 252, 0.4);
background: rgba(15, 23, 42, 0.22);
color: #f8fafc;
font-weight: 600;
cursor: pointer;
transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
backdrop-filter: blur(6px);
}
.category-hub__display-toggle:hover {
transform: translateY(-2px);
background: rgba(248, 250, 252, 0.3);
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}
.category-hub__display-toggle[aria-pressed="true"],
.category-hub--list-mode .category-hub__display-toggle {
background: rgba(248, 250, 252, 0.94);
color: #0f172a;
border-color: rgba(148, 163, 184, 0.5);
box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
}
.category-hub__display-toggle .display-toggle-icon {
width: 30px;
height: 30px;
border-radius: 10px;
background: rgba(248, 250, 252, 0.16);
display: inline-flex;
align-items: center;
justify-content: center;
}
.category-hub__display-toggle .display-toggle-icon i {
font-size: 15px;
}
.category-hub__display-toggle .display-toggle-text {
font-size: 13px;
}
.category-hub__show-all {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 16px;
border-radius: 14px;
border: 1px solid rgba(248, 250, 252, 0.4);
background: rgba(248, 250, 252, 0.2);
color: #f8fafc;
font-weight: 600;
cursor: pointer;
transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
backdrop-filter: blur(6px);
}
.category-hub__show-all:hover {
transform: translateY(-2px);
background: rgba(248, 250, 252, 0.3);
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}
.category-hub__show-all[aria-pressed="true"],
.category-hub--show-all .category-hub__show-all {
background: rgba(248, 250, 252, 0.92);
color: #4338ca;
border-color: rgba(67, 56, 202, 0.35);
box-shadow: 0 16px 36px rgba(67, 56, 202, 0.33);
}
.category-hub__show-all .show-all-icon {
width: 32px;
height: 32px;
border-radius: 10px;
background: rgba(248, 250, 252, 0.25);
display: inline-flex;
align-items: center;
justify-content: center;
}
.category-hub__show-all .show-all-icon i {
font-size: 15px;
}
.category-hub__show-all .show-all-text {
font-size: 13px;
}
.category-type-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 9px 16px;
background: rgba(255, 255, 255, 0.14);
border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: 12px;
color: #f8fafc;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
backdrop-filter: blur(4px);
}
.category-type-btn i {
font-size: 14px;
}
.category-type-btn:hover {
transform: translateY(-2px);
background: rgba(255, 255, 255, 0.22);
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}
.category-type-btn.is-active {
background: #f8fafc;
color: #4338ca;
border-color: #f8fafc;
box-shadow: 0 16px 35px rgba(49, 46, 129, 0.35);
}
.category-hub__toggle {
display: inline-flex;
align-items: center;
gap: 14px;
padding: 12px 20px;
border-radius: 14px;
background: rgba(15, 23, 42, 0.24);
border: 1px solid rgba(248, 250, 252, 0.28);
color: #f8fafc;
font-weight: 600;
cursor: pointer;
transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
position: relative;
overflow: hidden;
min-width: 220px;
backdrop-filter: blur(10px);
text-shadow: 0 1px 2px rgba(15, 23, 42, 0.55);
}
.category-hub__toggle .toggle-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255,255,255,0.12);
}
.category-hub__toggle .toggle-icon i {
font-size: 15px;
color: #f8fafc;
}
.category-hub__toggle .toggle-label {
font-size: 15px;
font-weight: 700;
letter-spacing: -0.01em;
display: block;
color: inherit;
}
.category-hub__toggle .toggle-hint {
font-size: 12px;
display: block;
color: rgba(248, 250, 252, 0.85);
}
.category-hub__toggle .toggle-indicator {
content: '';
position: absolute;
inset-inline-end: 14px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(248, 250, 252, 0.55);
box-shadow: 0 0 0 4px rgba(248, 250, 252, 0.12);
transition: background-color .25s ease, box-shadow .25s ease;
}
.category-hub__toggle[data-show-dasht="true"] {
background: rgba(236, 253, 245, 0.92);
border-color: rgba(45, 212, 191, 0.55);
box-shadow: 0 14px 36px rgba(16, 185, 129, 0.4);
color: #0f172a;
text-shadow: none;
}
.category-hub__toggle[data-show-dasht="true"] .toggle-icon {
background: rgba(248, 250, 252, 0.18);
}
.category-hub__toggle[data-show-dasht="true"] .toggle-icon i {
color: #0f766e;
}
.category-hub__toggle[data-show-dasht="true"] .toggle-label {
color: #065f46;
}
.category-hub__toggle[data-show-dasht="true"] .toggle-hint {
color: rgba(22, 101, 52, 0.85);
}
.category-hub__toggle[data-show-dasht="false"] .toggle-label {
color: #f8fafc;
}
.category-hub__toggle[data-show-dasht="false"] .toggle-hint {
color: rgba(248, 250, 252, 0.85);
}
.category-hub__toggle[data-show-dasht="true"] .toggle-indicator {
background: #22c55e;
box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}
.category-hub__toggle:hover {
transform: translateY(-2px);
box-shadow: 0 18px 42px rgba(15, 23, 42, 0.28);
}
.category-slider {
position: relative;
z-index: 2;
display: flex;
align-items: center;
gap: 14px;
margin-top: 20px;
--category-card-gap: clamp(12px, 1.4vw, 16px);
direction: rtl;
}
.category-slider__viewport {
flex: 1;
overflow: hidden;
border-radius: 18px;
background: rgba(15, 23, 42, 0.12);
padding: 24px 24px 28px;
position: relative;
}
.category-slider__track {
position: relative;
display: block;
min-height: 240px;
direction: rtl;
}
.category-slider__nav {
width: 44px;
height: 44px;
border-radius: 50%;
border: none;
background: rgba(248, 250, 252, 0.9);
color: #312e81;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 12px 30px rgba(30, 64, 175, 0.35);
transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.category-slider__nav:hover {
transform: translateY(-2px);
background: #4338ca;
color: #f8fafc;
box-shadow: 0 18px 35px rgba(30, 64, 175, 0.45);
}
.category-slider__nav.is-disabled {
opacity: 0.35;
cursor: default;
pointer-events: none;
transform: none;
box-shadow: none;
background: rgba(248, 250, 252, 0.55);
}
.category-slider__nav i {
font-size: 16px;
}
.category-slider__dots {
display: none !important;
margin: 0;
padding: 0;
}
.category-hub--list-mode .category-slider,
.category-hub--list-mode .category-slider__dots {
display: none !important;
}
.category-list {
display: none;
flex-direction: column;
gap: 10px;
margin-top: 20px;
padding: 20px;
border-radius: 16px;
background: rgba(15, 23, 42, 0.12);
backdrop-filter: blur(6px);
}
.category-hub--list-mode .category-list {
display: flex;
}
.category-list__empty {
color: rgba(248, 250, 252, 0.85);
font-size: 14px;
text-align: center;
}
.category-list-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 14px 16px;
border-radius: 12px;
border: 1px solid rgba(248, 250, 252, 0.18);
background: rgba(248, 250, 252, 0.96);
color: #0f172a;
font-weight: 600;
cursor: pointer;
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-list-item:hover {
transform: translateX(-4px);
border-color: rgba(59, 130, 246, 0.45);
box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
}
.category-list-item.is-active {
border-color: rgba(59, 130, 246, 0.6);
box-shadow: 0 22px 42px rgba(59, 130, 246, 0.35);
background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(96, 165, 250, 0.2));
}
.category-list-item__label {
flex: 1;
display: flex;
flex-direction: column;
gap: 4px;
}
.category-list-item__label span:first-child {
font-size: 15px;
}
.category-list-item__label span:last-child {
font-size: 12px;
color: rgba(15, 23, 42, 0.58);
font-weight: 500;
}
.category-list-item__metrics {
display: inline-flex;
align-items: center;
gap: 12px;
}
.category-list-item__count {
font-size: 18px;
font-weight: 700;
color: #1d4ed8;
}
.category-list-item__percentage {
font-size: 13px;
font-weight: 600;
color: #0f172a;
padding: 4px 10px;
border-radius: 999px;
background: rgba(15, 23, 42, 0.08);
}
.category-hub--list-mode .category-hub__show-all,
.category-hub--list-mode .category-slider__nav {
display: none !important;
}
.category-card {
position: relative;
direction: rtl;
width: 100%;
padding: 18px 16px 16px;
border-radius: 18px;
background: #f8fafc;
color: #1e293b;
box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
transition: transform .25s ease, box-shadow .25s ease;
border: 1px solid rgba(148, 163, 184, 0.18);
}
.category-card::after {
content: '';
position: absolute;
inset-inline-end: 16px;
inset-block-start: 16px;
width: 48px;
height: 48px;
border-radius: 16px;
background: rgba(59, 130, 246, 0.12);
filter: blur(0);
z-index: 0;
}
.category-card:hover {
transform: translateY(-6px);
box-shadow: 0 25px 45px rgba(15, 23, 42, 0.28);
}
.category-card.active,
.category-card.selected {
border-color: rgba(59, 130, 246, 0.35);
box-shadow: 0 28px 55px rgba(59, 130, 246, 0.38), inset 0 0 0 2px rgba(59, 130, 246, 0.09);
}
.category-card-header,
.category-card-body,
.category-card-footer {
position: relative;
z-index: 2;
}
.category-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
}
.category-card-icon {
width: 48px;
height: 48px;
border-radius: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
background: linear-gradient(145deg, rgba(59, 130, 246, 0.16), rgba(129, 140, 248, 0.32));
color: #312e81;
}
.category-card-icon.icon-activity { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.4)); color: #1d4ed8; }
.category-card-icon.icon-legal-entity { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(45, 212, 191, 0.45)); color: #0f766e; }
.category-card-icon.icon-tax-office { background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(59, 130, 246, 0.38)); color: #0369a1; }
.category-card-icon.icon-activity-year { background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 146, 60, 0.4)); color: #c2410c; }
.category-card-icon.icon-registration-status { background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(129, 140, 248, 0.38)); color: #1d4ed8; }
.category-card-icon.icon-missing-data { background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(248, 113, 113, 0.35)); color: #b45309; }
.category-card-icon.icon-age-group { background: linear-gradient(135deg, rgba(220, 38, 38, 0.22), rgba(248, 113, 113, 0.38)); color: #b91c1c; }
.category-card-icon.icon-gender { background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(244, 114, 182, 0.35)); color: #be185d; }
.category-card-icon.icon-birthplace { background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(30, 64, 175, 0.28)); color: #1e40af; }
.category-card-icon.icon-file-category { background: linear-gradient(135deg, rgba(67, 56, 202, 0.22), rgba(129, 140, 248, 0.35)); color: #3730a3; }
.category-card-icon i {
font-size: 20px;
}
.category-card-count {
font-size: clamp(22px, 2.6vw, 28px);
font-weight: 800;
color: #0f172a;
}
.category-card-body {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 16px;
}
.category-card-title {
margin: 0;
font-size: clamp(14px, 1.8vw, 16px);
font-weight: 700;
}
.category-card-subtitle {
margin: 0;
font-size: clamp(12px, 1.6vw, 13px);
color: #475569;
}
.category-card-progress {
width: 100%;
height: 8px;
border-radius: 999px;
background: rgba(148, 163, 184, 0.2);
overflow: hidden;
margin-bottom: 16px;
}
.category-card-progress-fill {
height: 100%;
width: 0%;
border-radius: inherit;
background: linear-gradient(90deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
transition: width 0.7s ease;
}
.category-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
font-size: clamp(11.5px, 1.5vw, 13px);
}
.category-card-percentage {
display: inline-flex;
align-items: center;
gap: 6px;
color: #2563eb;
font-weight: 600;
}
.category-card-action {
display: inline-flex;
align-items: center;
gap: 6px;
color: #1e293b;
font-weight: 600;
transition: color .2s ease;
}
.category-card-action i {
font-size: 14px;
}
.category-card:hover .category-card-action,
.category-card.selected .category-card-action {
color: #4338ca;
}
.category-card-group {
display: none;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: var(--category-card-gap);
opacity: 0;
direction: rtl;
}
.category-card-group.is-active {
display: grid;
opacity: 1;
animation: categoryGroupFadeIn .45s ease forwards;
}
.category-card-group.is-exiting {
animation: categoryGroupFadeOut .35s ease forwards;
}
@keyframes categoryGroupFadeIn {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes categoryGroupFadeOut {
from { opacity: 1; transform: translateY(0); }
to { opacity: 0; transform: translateY(-18px); }
}
@media (max-width: 1399px) {
.category-card-group {
grid-template-columns: repeat(5, minmax(0, 1fr));
[dir="rtl"] .last-update-card__contributors .contributors-bar {
direction: rtl;
}
}
@media (max-width: 1199px) {
.category-card-group {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
@media (max-width: 991px) {
.category-card-group {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 767px) {
.category-card-group {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 479px) {
.category-card-group {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
}
.category-hub--show-all .category-slider {
flex-direction: column;
align-items: stretch;
gap: 20px;
}
.category-hub--show-all .category-slider__viewport {
overflow: visible;
padding: 0;
background: transparent;
}
.category-hub--show-all .category-slider__track {
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
gap: var(--category-card-gap);
padding-inline: 0;
}
.category-hub--show-all .category-card {
min-width: 0;
max-width: none;
width: 100%;
}
.category-hub--show-all .category-card-group {
display: contents !important;
opacity: 1 !important;
animation: none !important;
}
@media (min-width: 640px) {
.category-hub--show-all .category-slider__track {
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
}
@media (min-width: 900px) {
.category-hub--show-all .category-slider__track {
grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
}
@media (min-width: 1200px) {
.category-hub--show-all .category-slider__track {
grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}
}
@media (min-width: 1400px) {
.category-hub--show-all .category-slider__track {
grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}
}
.category-hub--show-all .category-slider__nav,
.category-hub--show-all .category-slider__dots {
display: none !important;
}
.category-hub--show-all .category-hub__show-all .show-all-icon i {
transform: rotate(180deg);
}
@media (max-width: 639px) {
.category-hub--show-all .category-slider__track {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
@media (max-width: 480px) {
.category-hub--show-all .category-slider__track {
grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
}
.category-loading,
.category-empty {
position: relative;
z-index: 2;
margin-top: 24px;
padding: 32px 24px;
border-radius: 16px;
text-align: center;
color: #f8fafc;
}
.state-loading {
background: rgba(15, 23, 42, 0.18);
border: 1px dashed rgba(248, 250, 252, 0.25);
}
.state-empty {
background: rgba(15, 23, 42, 0.14);
border: 1px dashed rgba(248, 250, 252, 0.2);
}
.state-empty i {
font-size: 42px;
margin-bottom: 14px;
opacity: 0.8;
}
.loading-spinner {
display: inline-block;
width: 36px;
height: 36px;
border-radius: 50%;
border: 3px solid rgba(248, 250, 252, 0.35);
border-top-color: #f8fafc;
animation: spin 1s linear infinite;
}
.category-hub__header + .state-loading,
.category-hub__header + .state-empty {
margin-top: 16px;
}
@media (max-width: 1024px) {
.category-hub {
padding: 22px 20px;
}
.category-hub__control-cluster {
width: 100%;
justify-content: space-between;
gap: 14px;
}
.category-hub__view-toggle-slot {
flex: 1 1 auto;
justify-content: flex-start;
}
.category-hub__toggle {
order: 3;
width: 100%;
justify-content: space-between;
}
.category-hub__utilities {
flex: 1 1 100%;
justify-content: flex-start;
flex-wrap: wrap;
}
.category-slider {
gap: 10px;
}
.category-slider__nav {
width: 40px;
height: 40px;
}
}
@media (max-width: 768px) {
.category-hub {
padding: 20px 18px;
}
.category-hub__header {
flex-direction: column;
align-items: stretch;
}
.category-hub__control-cluster {
width: 100%;
flex-direction: column;
align-items: stretch;
}
.category-hub__actions {
align-items: stretch;
justify-content: stretch;
}
.category-hub__types {
justify-content: flex-start;
}
.category-hub__utilities {
flex-direction: column;
align-items: stretch;
}
.category-slider__viewport {
padding-block: 14px 20px;
}
}
@media (max-width: 540px) {
.category-type-btn {
flex: 1 1 calc(50% - 6px);
justify-content: center;
}
.category-hub__toggle {
min-width: 0;
}
.category-card {
min-width: 220px;
}
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@media (max-width: 768px) {
.filters {
padding: 16px;
gap: 16px;
}
.filter-row {
flex-direction: column;
gap: 12px;
align-items: stretch;
}
.filter-group.file-number-field,
.filter-group.client-name-field,
.filter-group.activity-start-field,
.filter-group.activity-field,
.filter-group.tax-office-field,
.filter-group.legal-entity-field,
.filter-group.client-lists-field {
flex: 1 1 100%;
min-width: 100%;
max-width: 100%;
}
.checkbox-label {
justify-content: flex-start;
}
}
@media (max-width: 480px) {
.filters {
padding: 12px;
gap: 12px;
}
.filter-group input,
.filter-group select {
padding: 8px 12px;
font-size: 13px;
}
.filter-group label {
font-size: 13px;
}
}
.multi-function-container .function-tabs {
display: flex;
align-items: stretch;
gap: 0;
width: 100%;
background: #f3f4f6;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
overflow: hidden;
border: 1px solid #e5e7eb;
}
.multi-function-container .function-tab {
flex: 1 1 33.333%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 8px;
background: transparent;
color: #374151;
border: 0;
padding: 14px 18px;
min-width: 0;
cursor: pointer;
position: relative;
transition: background-color .2s ease, color .2s ease;
}
.multi-function-container .function-tab + .function-tab {
border-inline-start: 1px solid #e5e7eb;
}
.multi-function-container .function-tab .tab-icon {
width: 18px;
height: 18px;
margin-inline-start: 0;
margin-inline-end: 4px;
color: currentColor;
}
.multi-function-container .function-tab span {
font-size: 14px;
font-weight: 700;
color: inherit;
}
.multi-function-container .function-tab:hover {
background: rgba(255,255,255,0.6);
}
.multi-function-container .function-tab.active {
background: #ffffff;
color: #2563eb;
}
.multi-function-container .function-tab.active::after {
content: '';
position: absolute;
inset-inline: 0;
bottom: 0;
height: 3px;
background: #2563eb;
}
.function-tabs .function-tab {
justify-content: center !important;
gap: 8px !important;
}
.notification {
position: fixed;
bottom: 20px;
right: 20px;
background: white;
border-radius: var(--radius-md);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
padding: 16px 20px;
z-index: 10000;
transform: translateX(100%);
opacity: 0;
transition: var(--transition-smooth);
max-width: 400px;
border-left: 4px solid #007cba;
}
.notification.show {
transform: translateX(0);
opacity: 1;
}
.notification-success {
border-left-color: #28a745;
}
.notification-error {
border-left-color: #dc3545;
}
.notification-warning {
border-left-color: #ffc107;
}
.notification-info {
border-left-color: #17a2b8;
}
.notification-content {
display: flex;
align-items: center;
gap: 12px;
}
.notification-icon {
flex-shrink: 0;
color: #007cba;
}
.notification-success .notification-icon {
color: #28a745;
}
.notification-error .notification-icon {
color: #dc3545;
}
.notification-warning .notification-icon {
color: #ffc107;
}
.notification-info .notification-icon {
color: #17a2b8;
}
.notification-message {
font-size: 14px;
color: #333;
line-height: 1.4;
}
#posts-table tbody tr.highlight-row {
background: linear-gradient(90deg,
rgba(59, 130, 246, 0.15) 0%,
rgba(147, 197, 253, 0.25) 50%,
rgba(59, 130, 246, 0.15) 100%) !important;
animation: pulse-highlight 2s ease-in-out;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4) inset;
transition: all 0.4s ease;
}
@keyframes pulse-highlight {
0%, 100% {
background: linear-gradient(90deg,
rgba(59, 130, 246, 0.15) 0%,
rgba(147, 197, 253, 0.25) 50%,
rgba(59, 130, 246, 0.15) 100%);
}
50% {
background: linear-gradient(90deg,
rgba(59, 130, 246, 0.25) 0%,
rgba(147, 197, 253, 0.35) 50%,
rgba(59, 130, 246, 0.25) 100%);
}
}
#posts-table tbody tr.highlight-row td {
border-color: rgba(59, 130, 246, 0.3) !important;
background: linear-gradient(90deg,
rgba(59, 130, 246, 0.18) 0%,
rgba(147, 197, 253, 0.32) 50%,
rgba(59, 130, 246, 0.2) 100%) !important;
color: #0f172a;
}
#posts-table_wrapper {
margin-top: 28px;
padding: 28px 30px 34px;
border-radius: 28px;
background: linear-gradient(140deg, rgba(30, 64, 175, 0.14) 0%, rgba(59, 130, 246, 0.08) 45%, rgba(23, 37, 84, 0.12) 100%);
border: 1px solid rgba(30, 64, 175, 0.18);
box-shadow: 0 32px 70px rgba(15, 23, 42, 0.18);
backdrop-filter: blur(12px);
}
#posts-table_wrapper .dataTables_length,
#posts-table_wrapper .dataTables_filter,
#posts-table_wrapper .dataTables_info,
#posts-table_wrapper .dataTables_paginate {
margin-block: 14px;
}
#posts-table_wrapper .dataTables_length,
#posts-table_wrapper .dataTables_filter {
display: flex;
align-items: center;
gap: 14px;
font-weight: 600;
color: #0f172a;
}
#posts-table_wrapper .dataTables_length select,
#posts-table_wrapper .dataTables_filter input {
padding: 10px 16px;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.16);
background: rgba(248, 250, 252, 0.96);
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
transition: border-color .2s ease, box-shadow .2s ease;
}
#posts-table_wrapper .dataTables_filter input:focus,
#posts-table_wrapper .dataTables_length select:focus {
outline: none;
border-color: rgba(59, 130, 246, 0.7);
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}
#posts-table_wrapper .dataTables_info {
font-size: 13px;
font-weight: 500;
color: rgba(15, 23, 42, 0.72);
}
#posts-table_wrapper .dataTables_paginate {
display: flex;
justify-content: flex-end;
gap: 12px;
}
#posts-table_wrapper .dataTables_paginate .paginate_button {
min-width: 42px;
height: 42px;
padding: 0 16px;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.12);
background: rgba(248, 250, 252, 0.9);
color: #1e293b !important;
font-weight: 600;
display: inline-flex;
align-items: center;
justify-content: center;
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#posts-table_wrapper .dataTables_paginate .paginate_button:hover {
transform: translateY(-2px);
border-color: rgba(59, 130, 246, 0.45);
box-shadow: 0 16px 32px rgba(59, 130, 246, 0.22);
color: #1d4ed8 !important;
}
#posts-table_wrapper .dataTables_paginate .paginate_button.current,
#posts-table_wrapper .dataTables_paginate .paginate_button.current:hover {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.36));
border-color: rgba(59, 130, 246, 0.55);
color: #0f172a !important;
box-shadow: 0 18px 36px rgba(59, 130, 246, 0.28);
}
#posts-table {
border-collapse: separate !important;
border-spacing: 0 14px !important;
background: transparent;
color: #0f172a;
}
#posts-table thead {
background: transparent;
}
#posts-table thead th {
position: relative;
padding: 18px 26px;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
color: #e2e8f0;
border: none !important;
background: none !important;
overflow: hidden;
}
#posts-table thead th::before {
content: '';
position: absolute;
inset: 0;
border-radius: 18px;
background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #38bdf8 100%);
z-index: -1;
}
#posts-table thead th:first-child::before {
border-radius: 18px 0 0 18px;
}
#posts-table thead th:last-child::before {
border-radius: 0 18px 18px 0;
}
[dir="rtl"] #posts-table thead th:first-child::before,
#posts-table[dir="rtl"] thead th:first-child::before {
border-radius: 0 18px 18px 0;
}
[dir="rtl"] #posts-table thead th:last-child::before,
#posts-table[dir="rtl"] thead th:last-child::before {
border-radius: 18px 0 0 18px;
}
#posts-table thead th.sorting,
#posts-table thead th.sorting_asc,
#posts-table thead th.sorting_desc {
padding-inline-end: 46px;
}
[dir="rtl"] #posts-table thead th.sorting,
[dir="rtl"] #posts-table thead th.sorting_asc,
[dir="rtl"] #posts-table thead th.sorting_desc,
#posts-table[dir="rtl"] thead th.sorting,
#posts-table[dir="rtl"] thead th.sorting_asc,
#posts-table[dir="rtl"] thead th.sorting_desc {
padding-left: 46px;
}
[dir="ltr"] #posts-table thead th.sorting,
[dir="ltr"] #posts-table thead th.sorting_asc,
[dir="ltr"] #posts-table thead th.sorting_desc,
#posts-table[dir="ltr"] thead th.sorting,
#posts-table[dir="ltr"] thead th.sorting_asc,
#posts-table[dir="ltr"] thead th.sorting_desc {
padding-right: 46px;
}
#posts-table thead th.sorting::after,
#posts-table thead th.sorting_asc::after,
#posts-table thead th.sorting_desc::after {
content: '\2195';
position: absolute;
inset-inline-end: 22px;
top: 50%;
transform: translateY(-50%);
font-size: 14px;
font-weight: 700;
color: rgba(226, 232, 240, 0.6);
opacity: 0.6;
transition: opacity .18s ease, transform .18s ease;
}
[dir="rtl"] #posts-table thead th.sorting::after,
[dir="rtl"] #posts-table thead th.sorting_asc::after,
[dir="rtl"] #posts-table thead th.sorting_desc::after,
#posts-table[dir="rtl"] thead th.sorting::after,
#posts-table[dir="rtl"] thead th.sorting_asc::after,
#posts-table[dir="rtl"] thead th.sorting_desc::after {
right: auto;
left: 22px;
}
[dir="ltr"] #posts-table thead th.sorting::after,
[dir="ltr"] #posts-table thead th.sorting_asc::after,
[dir="ltr"] #posts-table thead th.sorting_desc::after,
#posts-table[dir="ltr"] thead th.sorting::after,
#posts-table[dir="ltr"] thead th.sorting_asc::after,
#posts-table[dir="ltr"] thead th.sorting_desc::after {
left: auto;
right: 22px;
}
#posts-table thead th.sorting_asc::after {
content: '\25B2';
opacity: 0.95;
transform: translateY(-50%) scale(1.05);
}
#posts-table thead th.sorting_desc::after {
content: '\25BC';
opacity: 0.95;
transform: translateY(-50%) scale(1.05);
}
#posts-table tbody tr {
position: relative;
transition: transform .2s ease, box-shadow .2s ease;
}
#posts-table tbody tr td {
background: #ffffff;
border: none;
padding: 18px 22px;
font-size: 14px;
font-weight: 500;
color: #0f172a;
line-height: 1.6;
box-shadow: inset 0 -1px 0 rgba(226, 232, 240, 0.7);
}
#posts-table tbody tr td:first-child {
border-radius: 18px 0 0 18px;
font-weight: 700;
}
#posts-table tbody tr td:last-child {
border-radius: 0 18px 18px 0;
}
[dir="rtl"] #posts-table tbody tr td:first-child,
#posts-table[dir="rtl"] tbody tr td:first-child {
border-radius: 0 18px 18px 0;
}
[dir="rtl"] #posts-table tbody tr td:last-child,
#posts-table[dir="rtl"] tbody tr td:last-child {
border-radius: 18px 0 0 18px;
}
#posts-table tbody tr::before {
content: '';
position: absolute;
inset-inline-start: 16px;
top: 18px;
bottom: 18px;
width: 4px;
border-radius: 999px;
background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
opacity: 0;
transition: opacity .2s ease;
}
#posts-table tbody tr:hover,
#posts-table tbody tr:focus-within {
transform: translateY(-4px);
box-shadow: 0 24px 48px rgba(30, 64, 175, 0.18);
}
#posts-table tbody tr:hover::before,
#posts-table tbody tr:focus-within::before,
#posts-table tbody tr.highlight-row::before {
opacity: 1;
}
#posts-table tbody tr:hover td,
#posts-table tbody tr:focus-within td {
box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.18);
}
#posts-table tbody tr td .status-badge,
#posts-table tbody tr td .tp-status-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
background: rgba(59, 130, 246, 0.12);
color: #1d4ed8;
}
#posts-table tbody tr td .status-badge i,
#posts-table tbody tr td .tp-status-badge i {
font-size: 12px;
}
.last-update-card {
--progress: 0%;
--status-color: #64748b;
--status-soft: #cbd5f5;
position: relative;
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 12px 16px;
border-radius: 16px;
background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(14, 165, 233, 0.08));
border: 1px solid rgba(148, 163, 184, 0.22);
box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
backdrop-filter: blur(6px);
transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
isolation: isolate;
}
.last-update-card::before {
content: '';
position: absolute;
inset: 8px 12px;
border-radius: inherit;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
pointer-events: none;
opacity: 0.9;
z-index: 0;
}
.last-update-card:hover {
transform: translateY(-2px);
box-shadow: 0 22px 44px rgba(14, 116, 144, 0.14);
border-color: rgba(14, 165, 233, 0.3);
}
.last-update-card__edit {
position: relative;
z-index: 1;
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border-radius: 12px;
border: none;
background: rgba(59, 130, 246, 0.16);
color: var(--status-color);
cursor: pointer;
box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
transition: transform .22s ease, box-shadow .22s ease, color .22s ease, background .22s ease;
}
.last-update-card__edit i {
font-size: 14px;
}
.last-update-card__edit:hover,
.last-update-card__edit:focus {
outline: none;
transform: translateY(-1px) scale(1.04);
box-shadow: 0 22px 40px rgba(14, 116, 144, 0.18);
background: var(--status-color);
color: #fff;
}
.last-update-card__body {
position: relative;
z-index: 1;
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
min-width: 0;
}
.last-update-card__meta {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
font-weight: 600;
color: #1f2937;
text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}
.last-update-card__meta * {
color: inherit;
}
.last-update-card__progress {
display: flex;
align-items: center;
gap: 10px;
}
.last-update-card__progress-track {
position: relative;
flex: 1;
height: 10px;
border-radius: 999px;
background: rgba(148, 163, 184, 0.18);
overflow: hidden;
box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
}
.last-update-card__progress-fill {
position: absolute;
inset: 0;
width: var(--progress);
border-radius: inherit;
background: linear-gradient(90deg, var(--status-color) 0%, var(--status-soft) 100%);
box-shadow: 0 0 16px var(--status-soft);
transition: width .5s cubic-bezier(0.4, 0, 0.2, 1), background .3s ease, box-shadow .3s ease;
}
.last-update-card__progress-value {
min-width: 44px;
font-size: 11px;
font-weight: 700;
color: var(--status-color);
text-align: center;
letter-spacing: 0.02em;
}
.last-update-card__footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
flex-wrap: wrap;
}
.last-update-card__status {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 12px;
border-radius: 14px;
font-weight: 700;
font-size: 11px;
color: var(--status-color);
background: rgba(59, 130, 246, 0.12);
backdrop-filter: blur(4px);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.last-update-card__status i {
font-size: 12px;
}
.last-update-card__fields {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 10px;
border-radius: 10px;
font-weight: 600;
font-size: 11px;
color: #1f2937;
background: rgba(15, 23, 42, 0.04);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.last-update-card__fields i {
font-size: 11px;
color: var(--status-color);
}
.last-update-card__contributors {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
padding: 8px 10px;
border-radius: 12px;
background: rgba(15, 23, 42, 0.04);
border: 1px solid rgba(148, 163, 184, 0.18);
box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.04);
}
.last-update-card__contributors .contributors-bar {
margin: 0;
}
[dir="rtl"] .last-update-card__contributors .contributors-bar {
direction: rtl;
}
.last-update-card__contributors-label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 700;
color: #475569;
padding: 4px 8px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.6);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
flex-shrink: 0;
}
.last-update-card__contributors-label i {
font-size: 11px;
color: var(--status-color);
}
.last-update-card__contributors-inline {
display: flex;
align-items: center;
flex: 1 1 auto;
flex-wrap: wrap;
gap: 6px;
}
.last-update-card__contributor {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.85);
box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
font-size: 11px;
font-weight: 600;
color: #1f2937;
position: relative;
white-space: nowrap;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.last-update-card__contributor:hover {
transform: translateY(-1px);
box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}
.last-update-card__contributor-name {
display: inline-flex;
align-items: center;
gap: 4px;
min-width: 0;
}
.last-update-card__contributor-name span:last-child {
display: inline-block;
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.last-update-card__contributor-marker {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--contributor-accent, linear-gradient(135deg, #38bdf8, #2563eb));
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
flex-shrink: 0;
}
.last-update-card__contributor-percent {
display: inline-flex;
align-items: center;
padding: 2px 6px;
border-radius: 999px;
background: rgba(14, 165, 233, 0.12);
color: var(--status-color);
font-weight: 700;
font-size: 10px;
}
.last-update-card__contributor[style*="--contributor-accent"] .last-update-card__contributor-percent {
background: rgba(15, 23, 42, 0.08);
color: #0f172a;
}
.last-update-card__contributors.--legacy {
display: block;
padding: 10px;
border-radius: 12px;
background: rgba(15, 23, 42, 0.05);
border: 1px dashed rgba(148, 163, 184, 0.25);
box-shadow: inset 0 4px 12px rgba(15, 23, 42, 0.05);
}
.last-update-card[data-status="complete"] {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(56, 189, 248, 0.12));
border-color: rgba(16, 185, 129, 0.3);
}
.last-update-card[data-status="good"] {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.12));
border-color: rgba(59, 130, 246, 0.28);
}
.last-update-card[data-status="average"] {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.1));
border-color: rgba(245, 158, 11, 0.28);
}
.last-update-card[data-status="weak"] {
background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(251, 146, 60, 0.12));
border-color: rgba(239, 68, 68, 0.28);
}
.last-update-card[data-status="empty"] {
background: linear-gradient(135deg, rgba(148, 163, 184, 0.08), rgba(226, 232, 240, 0.16));
border-color: rgba(148, 163, 184, 0.24);
}
.last-update-card[data-status="weak"] .last-update-card__status,
.last-update-card[data-status="average"] .last-update-card__status,
.last-update-card[data-status="good"] .last-update-card__status,
.last-update-card[data-status="complete"] .last-update-card__status {
background: rgba(255, 255, 255, 0.08);
}
.last-update-card[data-status="weak"] .last-update-card__fields,
.last-update-card[data-status="average"] .last-update-card__fields,
.last-update-card[data-status="good"] .last-update-card__fields,
.last-update-card[data-status="complete"] .last-update-card__fields {
background: rgba(255, 255, 255, 0.16);
}
@media (max-width: 1024px) {
.last-update-card {
flex-direction: column;
align-items: stretch;
gap: 12px;
}
.last-update-card__edit {
align-self: flex-end;
}
[dir="rtl"] .last-update-card__edit {
align-self: flex-start;
}
.last-update-card__footer {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border-radius: 12px;
background: rgba(15, 23, 42, 0.04);
border: 1px solid rgba(148, 163, 184, 0.18);
box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.04);
.last-update-card {
padding: 14px;
border-radius: 14px;
}
.last-update-card__progress {
flex-direction: column;
align-items: stretch;
gap: 8px;
}
.last-update-card__progress-value {
align-self: flex-start;
}
.last-update-card__status,
.last-update-card__fields {
width: 100%;
justify-content: center;
}
}
#posts-table tbody tr.selected td {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(96, 165, 250, 0.28));
color: #0f172a;
box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.08);
}
#posts-table tbody tr.selected::before {
opacity: 1;
background: linear-gradient(180deg, #f59e0b 0%, #f97316 100%);
}
body.dark-mode #posts-table_wrapper {
background: rgba(15, 23, 42, 0.72);
border-color: rgba(96, 165, 250, 0.18);
box-shadow: 0 28px 60px rgba(2, 6, 23, 0.6);
}
body.dark-mode #posts-table_wrapper .dataTables_length,
body.dark-mode #posts-table_wrapper .dataTables_filter,
body.dark-mode #posts-table_wrapper .dataTables_info {
color: #e2e8f0;
}
body.dark-mode #posts-table_wrapper .dataTables_length select,
body.dark-mode #posts-table_wrapper .dataTables_filter input {
background: rgba(15, 23, 42, 0.85);
border-color: rgba(148, 163, 184, 0.38);
color: #e2e8f0;
box-shadow: none;
}
body.dark-mode #posts-table_wrapper .dataTables_filter input:focus,
body.dark-mode #posts-table_wrapper .dataTables_length select:focus {
border-color: rgba(96, 165, 250, 0.65);
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28);
}
body.dark-mode #posts-table_wrapper .dataTables_paginate .paginate_button {
background: rgba(30, 41, 59, 0.95);
border-color: rgba(148, 163, 184, 0.26);
color: #f8fafc !important;
box-shadow: none;
}
body.dark-mode #posts-table_wrapper .dataTables_paginate .paginate_button.current,
body.dark-mode #posts-table_wrapper .dataTables_paginate .paginate_button.current:hover {
background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(59, 130, 246, 0.36));
border-color: rgba(96, 165, 250, 0.6);
color: #f8fafc !important;
box-shadow: 0 18px 42px rgba(37, 99, 235, 0.32);
}
body.dark-mode #posts-table tbody tr td {
background: rgba(15, 23, 42, 0.82);
color: #e2e8f0;
box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.65);
}
body.dark-mode #posts-table tbody tr:hover td,
body.dark-mode #posts-table tbody tr:focus-within td {
box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.32);
}
body.dark-mode #posts-table tbody tr.selected td {
color: #e2e8f0;
}
@media (max-width: 1280px) {
#posts-table_wrapper {
padding: 22px 18px 26px;
border-radius: 22px;
}
#posts-table thead th {
padding: 16px 20px;
}
#posts-table tbody tr td {
padding: 16px 18px;
}
}
@media (max-width: 768px) {
#posts-table_wrapper {
padding: 18px 12px 22px;
border-radius: 18px;
}
#posts-table_wrapper .dataTables_length,
#posts-table_wrapper .dataTables_filter,
#posts-table_wrapper .dataTables_info {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
#posts-table {
border-spacing: 0 10px !important;
}
#posts-table thead th,
#posts-table tbody tr td {
padding-inline: 14px;
}
#posts-table thead th.sorting,
#posts-table thead th.sorting_asc,
#posts-table thead th.sorting_desc {
padding-inline-end: 38px;
}
#posts-table thead th.sorting::after,
#posts-table thead th.sorting_asc::after,
#posts-table thead th.sorting_desc::after {
inset-inline-start: 16px;
}
}
.advanced-search-container {
padding: 0;
background: transparent;
position: relative;
z-index: 50;
}
.search-section {
background: var(--filter-bg-primary);
border: var(--filter-border);
border-radius: var(--filter-radius);
margin-bottom: var(--filter-gap);
box-shadow: var(--filter-shadow-light);
transition: var(--transition-normal);
position: relative;
z-index: 50;
}
.search-section:hover {
box-shadow: var(--filter-shadow-medium);
transform: translateY(-2px);
}
.section-header {
background: var(--filter-accent-gradient);
color: var(--filter-text-white);
padding: var(--filter-padding-small);
border-radius: var(--filter-radius) var(--filter-radius) 0 0;
margin: 0;
}
.search-section-title {
display: flex;
align-items: center;
gap: 12px;
margin: 0;
font-size: 16px;
font-weight: 600;
color: var(--filter-text-white);
}
.section-icon {
width: 20px;
height: 20px;
stroke-width: 2.5;
}
.search-options-grid,
.field-search-grid,
.range-search-grid,
.advanced-options-grid {
display: grid;
gap: var(--filter-gap);
padding: var(--filter-padding);
}
.search-options-grid {
grid-template-columns: 2fr 1fr 1fr;
}
.field-search-grid {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.range-search-grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.advanced-options-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.search-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.search-group label {
font-size: 14px;
font-weight: 600;
color: var(--filter-text-primary);
margin-bottom: 4px;
}
.search-group input,
.search-group select {
padding: 12px 16px;
border: 2px solid #e2e8f0;
border-radius: var(--filter-radius-small);
font-size: 14px;
font-family: inherit;
background: var(--filter-bg-primary);
color: var(--filter-text-primary);
transition: var(--transition-normal);
}
.search-group input:focus,
.search-group select:focus {
outline: none;
border-color: var(--filter-text-accent);
box-shadow: var(--filter-focus-shadow);
transform: translateY(-1px);
}
.search-group input::placeholder {
color: var(--filter-text-secondary);
font-style: italic;
}
.range-group {
display: flex;
flex-direction: column;
gap: 12px;
}
.range-group label {
font-size: 14px;
font-weight: 600;
color: var(--filter-text-primary);
}
.range-inputs {
display: flex;
align-items: center;
gap: 12px;
}
.range-inputs input {
flex: 1;
padding: 12px 16px;
border: 2px solid #e2e8f0;
border-radius: var(--filter-radius-small);
font-size: 14px;
background: var(--filter-bg-primary);
color: var(--filter-text-primary);
transition: var(--transition-normal);
}
.range-inputs input:focus {
outline: none;
border-color: var(--filter-text-accent);
box-shadow: var(--filter-focus-shadow);
}
.range-separator {
font-weight: 600;
color: var(--filter-text-secondary);
font-size: 14px;
white-space: nowrap;
padding: 0 4px;
}
.checkbox-group {
display: flex;
align-items: center;
justify-content: flex-start;
padding: 12px 0;
}
.checkbox-label {
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
color: var(--filter-text-primary);
transition: color 0.3s ease;
user-select: none;
}
.checkbox-label:hover {
color: var(--filter-text-accent);
}
.checkbox-label input[type="checkbox"] {
display: none;
}
.checkmark {
position: relative;
width: 20px;
height: 20px;
border: 2px solid #e2e8f0;
border-radius: 4px;
background: var(--filter-bg-primary);
transition: var(--transition-normal);
flex-shrink: 0;
}
.checkmark::after {
content: '';
position: absolute;
left: 6px;
top: 2px;
width: 6px;
height: 10px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
opacity: 0;
transition: opacity 0.3s ease;
}
.checkbox-label input[type="checkbox"]:checked + .checkmark {
background: var(--filter-accent-gradient);
border-color: var(--filter-text-accent);
}
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
opacity: 1;
}
.search-actions {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
padding: var(--filter-padding);
background: var(--filter-bg-secondary);
border-top: 1px solid #e2e8f0;
border-radius: 0 0 var(--filter-radius) var(--filter-radius);
}
.action-button {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 20px;
border: none;
border-radius: var(--filter-radius-small);
font-size: 14px;
font-weight: 600;
font-family: inherit;
cursor: pointer;
transition: var(--transition-normal);
text-decoration: none;
min-width: 140px;
justify-content: center;
}
.button-icon {
width: 18px;
height: 18px;
stroke-width: 2;
}
.primary-button {
background: var(--filter-accent-gradient);
color: var(--filter-text-white);
box-shadow: var(--filter-shadow-light);
}
.primary-button:hover {
transform: translateY(-2px);
box-shadow: var(--filter-shadow-heavy);
}
.secondary-button {
background: var(--filter-bg-primary);
color: var(--filter-text-secondary);
border: 2px solid #e2e8f0;
}
.secondary-button:hover {
background: var(--filter-bg-secondary);
color: var(--filter-text-primary);
border-color: var(--filter-text-accent);
transform: translateY(-1px);
}
.info-button {
background: var(--filter-info-gradient);
color: var(--filter-text-white);
box-shadow: var(--filter-shadow-light);
}
.info-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
}
.success-button {
background: var(--filter-success-gradient);
color: var(--filter-text-white);
box-shadow: var(--filter-shadow-light);
}
.success-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}
@media (max-width: 1200px) {
.search-options-grid {
grid-template-columns: 1fr 1fr;
}
.field-search-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.range-search-grid {
grid-template-columns: 1fr;
}
.advanced-options-grid {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
}
@media (max-width: 768px) {
.search-options-grid,
.field-search-grid,
.range-search-grid,
.advanced-options-grid {
grid-template-columns: 1fr;
gap: 16px;
padding: 16px;
}
.range-inputs {
flex-direction: column;
align-items: stretch;
gap: 8px;
}
.range-separator {
text-align: center;
padding: 4px 0;
}
.search-actions {
flex-direction: column;
gap: 8px;
}
.action-button {
min-width: auto;
width: 100%;
}
.section-header {
padding: 16px;
}
.search-section-title {
font-size: 15px;
}
.section-icon {
width: 18px;
height: 18px;
}
}
@media (max-width: 480px) {
.search-section {
margin-bottom: 16px;
border-radius: var(--filter-radius-small);
}
.section-header {
border-radius: var(--filter-radius-small) var(--filter-radius-small) 0 0;
padding: 12px;
}
.search-section-title {
font-size: 14px;
gap: 8px;
}
.section-icon {
width: 16px;
height: 16px;
}
.search-group input,
.search-group select {
padding: 10px 12px;
font-size: 13px;
}
.action-button {
padding: 10px 16px;
font-size: 13px;
}
.button-icon {
width: 16px;
height: 16px;
}
}
.checkbox-field {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
}
.checkbox-field input[type="checkbox"] {
width: 16px;
height: 16px;
accent-color: #007cba;
}
.checkbox-field label {
font-size: 14px;
color: #333;
cursor: pointer;
}
.search-buttons {
display: flex;
gap: 10px;
justify-content: flex-end;
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.search-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
border: none;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.search-btn-primary {
background: #007cba;
color: white;
}
.search-btn-primary:hover {
background: #005a87;
transform: translateY(-1px);
}
.search-btn-secondary {
background: #6c757d;
color: white;
}
.search-btn-secondary:hover {
background: #545b62;
transform: translateY(-1px);
}
.statistics-overview {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.stat-card {
background: white;
border-radius: var(--radius-md);
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
border-left: 4px solid #007cba;
transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.stat-card h4 {
margin: 0 0 10px 0;
color: #666;
font-size: 14px;
font-weight: 500;
}
.stat-value {
font-size: 28px;
font-weight: 700;
color: #007cba;
margin: 0;
}
.charts-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
.chart-card {
background: white;
border-radius: var(--radius-md);
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.chart-card h4 {
margin: 0 0 20px 0;
color: #333;
font-size: 16px;
font-weight: 600;
text-align: center;
}
.chart-container {
position: relative;
height: 300px;
}
.filters-controls-row {
display: flex;
align-items: center;
gap: 16px;
margin: 16px 0;
flex-wrap: wrap;
}
.filter-stats-card.horizontal-stats {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
border: 2px solid #e2e8f0;
border-radius: 12px;
padding: 12px 20px;
min-width: 280px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.filter-stats-card.horizontal-stats .filter-stats-content {
display: flex;
flex-direction: column;
gap: 6px;
}
.stats-row {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
color: #374151;
}
.stats-label {
font-weight: 500;
color: #6b7280;
}
.stats-value {
font-weight: 700;
color: #059669;
font-size: 15px;
}
.stats-total {
font-weight: 600;
color: #374151;
}
.stats-separator {
color: #9ca3af;
font-weight: 400;
}
.stats-percentage {
font-weight: 700;
color: #7c3aed;
font-size: 15px;
}
@media (max-width: 768px) {
.function-tabs {
flex-direction: column;
}
.function-tab {
border-bottom: 1px solid #e5e7eb;
}
.function-tab:last-child {
border-bottom: none;
}
.function-tab.active::after {
height: 0;
left: 0;
width: 4px;
top: 0;
bottom: 0;
}
.tab-content {
padding: 16px;
}
.search-options {
grid-template-columns: 1fr;
}
.range-inputs {
flex-direction: column;
align-items: stretch;
}
.range-separator {
text-align: center;
padding: 4px 0;
}
.search-actions {
flex-direction: column;
}
.stats-overview {
grid-template-columns: 1fr;
}
.charts-section {
grid-template-columns: 1fr;
}
.chart-container {
padding: 16px;
}
.search-field-group {
grid-template-columns: 1fr;
}
.search-buttons {
flex-direction: column;
}
.search-btn {
justify-content: center;
}
.statistics-overview {
grid-template-columns: 1fr;
}
.charts-container {
grid-template-columns: 1fr;
}
.notification {
left: 10px;
right: 10px;
bottom: 10px;
max-width: none;
transform: translateX(100%);
}
.notification.show {
transform: translateX(0);
}
}
@media (max-width: 480px) {
.multi-function-container {
margin: 0 -10px 20px -10px;
border-radius: 0;
border-left: none;
border-right: none;
}
.function-tab {
padding: 12px 16px;
font-size: 13px;
}
.tab-icon {
width: 16px;
height: 16px;
}
}
:root {
--filter-bg-primary: #ffffff;
--filter-bg-secondary: #fafbfc;
--filter-bg-tertiary: #f0f4f8;
--filter-bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
--filter-accent-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
--filter-success-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
--filter-info-gradient: linear-gradient(135deg, #0891b2 0%, #0ea5e9 100%);
--filter-warning-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
--filter-danger-gradient: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
--filter-premium-gradient: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
--filter-border: 2px solid #e2e8f0;
--filter-border-focus: 2px solid #4f46e5;
--filter-shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
--filter-shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
--filter-shadow-heavy: 0 12px 45px rgba(79, 70, 229, 0.25);
--filter-focus-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
--filter-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
--filter-text-primary: #1e293b;
--filter-text-secondary: #64748b;
--filter-text-white: #ffffff;
--filter-text-dark: #0f172a;
--filter-text-accent: #4f46e5;
--filter-radius: 16px;
--filter-radius-small: 10px;
--filter-radius-tiny: 8px;
--filter-padding: 24px;
--filter-padding-small: 18px;
--filter-padding-tiny: 12px;
--filter-gap: 20px;
--filter-gap-small: 12px;
--filter-transition: var(--transition-smooth);
--filter-transition-fast: all 0.2s cubic-bezier(0.4, 0, 1, 1);
--filter-transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
--filter-glass-bg: rgba(255, 255, 255, 0.95);
--filter-glass-border: 1px solid rgba(255, 255, 255, 0.2);
--filter-glass-blur: blur(12px);
}
.filters-container {
background: var(--filter-glass-bg);
backdrop-filter: var(--filter-glass-blur);
-webkit-backdrop-filter: var(--filter-glass-blur);
border-radius: var(--filter-radius);
padding: var(--filter-padding);
margin-bottom: var(--filter-padding);
box-shadow: var(--filter-glass-shadow);
border: var(--filter-glass-border);
position: relative;
z-index: 50;
overflow: hidden;
transition: var(--filter-transition-smooth);
}
.filters-container:hover {
transform: translateY(-2px);
box-shadow: var(--filter-shadow-heavy);
background: rgba(255, 255, 255, 0.98);
}
.filters-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: var(--filter-accent-gradient);
background-size: 200% 100%;
animation: gradientMove 3s ease-in-out infinite;
z-index: 1;
}
.filters-container::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
animation: shimmer 3s infinite;
pointer-events: none;
}
.filters-with-counter {
display: grid !important;
grid-template-columns: 2fr 280px !important;
gap: 10px !important;
width: 100% !important;
max-width: 100% !important;
margin-bottom: 6px !important;
align-items: start !important;
}
.filters-with-counter .filter-stats-card {
grid-column: 2 !important;
max-width: 280px !important;
min-height: 140px !important;
padding: 16px !important;
}
.filters-with-counter .filters {
grid-column: 1 !important;
order: initial !important;
}
.filters-with-counter .dasht-toggle-container {
grid-column: 2 !important;
align-self: start;
margin-top: 8px;
}
.filters-with-counter .dasht-toggle-container .checkbox-label {
display: inline-flex;
align-items: center;
gap: 8px;
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 10px 12px;
color: #374151;
}
.filter-stats-card {
background: #ffffff !important;
border-radius: 16px !important;
padding: 20px !important;
color: #1f2937 !important;
box-shadow: 0 10px 25px rgba(31,41,55,0.08) !important;
border: 1px solid #e5e7eb !important;
position: relative !important;
overflow: hidden !important;
}
.filter-stats-card::before {
content: '';
position: absolute;
top: 0;
inset-inline-start: 0;
height: 6px;
width: 30%;
border-top-left-radius: 16px;
background: linear-gradient(90deg,#7c3aed,#22d3ee,#22c55e);
}
.filter-stats-card::after {
display: none !important;
content: none !important;
}
.filter-stats-content {
display: grid;
grid-template-columns: repeat(3,minmax(0,1fr));
gap: 12px;
align-items: center;
text-align: center;
}
.filter-stats-number {
font-size: 3rem !important;
font-weight: 800 !important;
line-height: 1 !important;
color: #0f172a !important;
}
.filter-stats-label {
font-size: 1.1rem !important;
font-weight: 700 !important;
color: #374151 !important;
}
.filter-stats-description {
color: #6b7280 !important;
}
.filter-stats-content::after {
content: '';
grid-column: 1 / -1;
margin-top: 14px;
height: 3px;
border-radius: 999px;
background: #e5e7eb;
opacity: .6;
}
.filter-stats-label {
font-size: 0.85rem !important;
font-weight: 600 !important;
opacity: 0.9;
text-transform: uppercase;
letter-spacing: 0.5px;
margin: 0;
}
.filter-stats-description {
font-size: 0.75rem !important;
opacity: 0.8;
margin-top: 4px !important;
font-weight: 500;
}
.filters {
display: grid !important;
grid-template-columns: repeat(3, minmax(0,1fr)) !important;
gap: 10px !important;
width: 100% !important;
max-width: 100% !important;
order: 1 !important;
align-items: start !important;
}
.filters .filter-group {
display: flex !important;
flex-direction: column !important;
gap: 8px !important;
min-width: 0 !important;
}
.filters .filter-group.span-2 {
grid-column: 1 / -1 !important;
}
.filters label {
font-weight: 600 !important;
color: var(--filter-text-primary) !important;
font-size: 14px !important;
margin-bottom: 4px !important;
display: block !important;
}
.filters select,
.filters input {
padding: 10px 14px;
border: var(--filter-border);
border-radius: 10px;
font-size: 14px;
font-weight: 500;
background: var(--filter-bg-primary);
transition: var(--filter-transition-smooth);
width: 100%;
max-width: 100%;
position: relative;
color: var(--filter-text-primary);
font-family: inherit;
}
.filters select:focus,
.filters input:focus {
outline: none;
border: var(--filter-border-focus);
box-shadow: var(--filter-focus-shadow);
transform: translateY(-2px);
background: var(--filter-bg-primary);
}
.filters select:hover,
.filters input:hover {
border-color: #c7d2fe;
box-shadow: 0 4px 16px rgba(79, 70, 229, 0.1);
transform: translateY(-1px);
}
.filters input[type="search"] {
background-position: right 16px center;
background-size: 18px;
padding-right: 48px;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3e%3cpath fill-rule='evenodd' d='M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z' clip-rule='evenodd'/%3e%3c/svg%3e");
}
.filters input[type="search"]:focus {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3e%3cpath fill-rule='evenodd' d='M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z' clip-rule='evenodd'/%3e%3c/svg%3e");
}
.filters select {
cursor: pointer;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3e%3cpath fill-rule='evenodd' d='M10 3a.75.75 0 01.55.24l3.25 3.5a.75.75 0 11-1.1 1.02L10 4.852 7.3 7.76a.75.75 0 11-1.1-1.02l3.25-3.5A.75.75 0 0110 3z' clip-rule='evenodd'/%3e%3c/svg%3e");
background-position: right 16px center;
background-repeat: no-repeat;
background-size: 16px;
padding-right: 48px;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
.filters select:focus {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3e%3cpath fill-rule='evenodd' d='M10 3a.75.75 0 01.55.24l3.25 3.5a.75.75 0 11-1.1 1.02L10 4.852 7.3 7.76a.75.75 0 11-1.1-1.02l3.25-3.5A.75.75 0 0110 3z' clip-rule='evenodd'/%3e%3c/svg%3e");
}
.filters select {
cursor: pointer;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 12px center;
background-repeat: no-repeat;
background-size: 16px;
padding-right: 40px;
}
.filters input[type="search"],
.filters input[type="text"] {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z'/%3e%3c/svg%3e");
background-position: right 12px center;
background-repeat: no-repeat;
background-size: 16px;
padding-right: 40px;
}
.filters-with-counter .filters {
background: var(--filter-glass-bg);
backdrop-filter: var(--filter-glass-blur);
-webkit-backdrop-filter: var(--filter-glass-blur);
padding: 12px;
border-radius: 12px;
border: var(--filter-glass-border);
box-shadow: var(--filter-glass-shadow);
transition: var(--filter-transition-smooth);
}
.filters-with-counter .filters:hover {
box-shadow: var(--filter-shadow-medium);
background: rgba(255, 255, 255, 0.98);
}
.filters-with-counter .filters label {
font-weight: 600;
color: var(--filter-text-primary);
margin-bottom: 12px;
display: block;
font-size: 15px;
position: relative;
padding-left: 20px;
}
.filters-with-counter .filters label::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
background: var(--filter-accent-gradient);
border-radius: 3px;
opacity: 0.8;
}
.filters-with-counter .filters .filter-group {
margin-bottom: 6px;
position: relative;
padding: 6px;
background: rgba(248, 250, 252, 0.4);
border-radius: var(--radius-md);
border: 1px solid rgba(226, 232, 240, 0.5);
transition: var(--filter-transition-fast);
}
.filters-with-counter .filters .filter-group:hover {
background: rgba(248, 250, 252, 0.8);
border-color: rgba(199, 210, 254, 0.5);
transform: translateX(4px);
}
.filters-with-counter .filters .filter-group:last-child {
margin-bottom: 0;
}
.smart-search-container {
position: relative;
margin-bottom: var(--filter-gap);
}
.smart-search-input {
width: 100%;
padding: 16px 52px 16px 20px;
border: 2px solid #e2e8f0;
border-radius: var(--filter-radius);
font-size: 16px;
font-weight: 500;
background: var(--filter-bg-primary);
transition: var(--filter-transition-smooth);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.smart-search-input:focus {
outline: none;
border-color: var(--filter-text-accent);
box-shadow: 0 8px 30px rgba(79, 70, 229, 0.15);
transform: translateY(-2px);
}
.smart-search-input::placeholder {
color: #94a3b8;
font-weight: 400;
}
.smart-search-icon {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
color: #94a3b8;
font-size: 18px;
transition: var(--filter-transition-fast);
}
.smart-search-input:focus + .smart-search-icon {
color: var(--filter-text-accent);
}
.filter-categories {
display: flex;
flex-wrap: wrap;
gap: var(--filter-gap-small);
margin-bottom: var(--filter-gap);
}
.filter-category-btn {
padding: 10px 20px;
border: 2px solid #e2e8f0;
border-radius: var(--filter-radius-small);
background: var(--filter-bg-primary);
color: var(--filter-text-secondary);
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: var(--filter-transition-fast);
display: flex;
align-items: center;
gap: 8px;
}
.filter-category-btn:hover {
border-color: var(--filter-text-accent);
color: var(--filter-text-accent);
transform: translateY(-1px);
box-shadow: 0 4px 16px rgba(79, 70, 229, 0.1);
}
.filter-category-btn.active {
background: var(--filter-accent-gradient);
border-color: transparent;
color: var(--filter-text-white);
box-shadow: 0 6px 20px rgba(79, 70, 229, 0.2);
}
.filter-category-btn .category-icon {
font-size: 16px;
}
.advanced-filter-section {
background: var(--filter-bg-gradient);
border-radius: var(--filter-radius);
padding: var(--filter-padding);
margin-bottom: var(--filter-gap);
border: 1px solid rgba(226, 232, 240, 0.5);
}
.advanced-filter-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--filter-gap);
padding-bottom: 12px;
border-bottom: 2px solid rgba(226, 232, 240, 0.5);
}
.advanced-filter-title {
font-size: 18px;
font-weight: 700;
color: var(--filter-text-primary);
margin: 0;
}
.advanced-filter-toggle {
background: none;
border: none;
color: var(--filter-text-secondary);
cursor: pointer;
font-size: 14px;
transition: var(--filter-transition-fast);
}
.advanced-filter-toggle:hover {
color: var(--filter-text-accent);
}
.simple-filter-counter {
display: flex;
align-items: center;
gap: 16px;
margin-top: var(--filter-gap);
padding: 16px 20px;
background: rgba(79, 70, 229, 0.05);
border-radius: var(--filter-radius-small);
border: 2px solid rgba(79, 70, 229, 0.1);
transition: var(--filter-transition-smooth);
backdrop-filter: blur(8px);
}
.simple-filter-counter:hover {
background: rgba(79, 70, 229, 0.08);
border-color: rgba(79, 70, 229, 0.2);
transform: translateY(-1px);
box-shadow: 0 4px 16px rgba(79, 70, 229, 0.1);
}
.simple-filter-counter input[type="checkbox"] {
width: 22px;
height: 22px;
accent-color: var(--filter-text-accent);
cursor: pointer;
border-radius: 6px;
transition: var(--filter-transition-fast);
border: 2px solid #e2e8f0;
}
.simple-filter-counter input[type="checkbox"]:hover {
transform: scale(1.15);
border-color: var(--filter-text-accent);
}
.simple-filter-counter input[type="checkbox"]:checked {
background: var(--filter-accent-gradient);
border-color: transparent;
}
.simple-filter-counter label {
font-size: 15px;
font-weight: 600;
color: var(--filter-text-primary);
cursor: pointer;
margin: 0;
user-select: none;
flex: 1;
}
.quick-filter-buttons {
display: flex;
flex-wrap: wrap;
gap: var(--filter-gap-small);
margin: var(--filter-gap) 0;
padding: var(--filter-padding-small);
background: var(--filter-bg-gradient);
border-radius: var(--filter-radius);
border: 1px solid rgba(226, 232, 240, 0.5);
}
.quick-filter-btn {
padding: 12px 24px;
border: 2px solid #e2e8f0;
border-radius: var(--filter-radius-small);
background: var(--filter-bg-primary);
color: var(--filter-text-secondary);
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: var(--filter-transition-fast);
display: flex;
align-items: center;
gap: 8px;
position: relative;
overflow: hidden;
}
.quick-filter-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
transition: left 0.5s ease;
}
.quick-filter-btn:hover::before {
left: 100%;
}
.quick-filter-btn:hover {
border-color: var(--filter-text-accent);
color: var(--filter-text-accent);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(79, 70, 229, 0.15);
}
.quick-filter-btn.active {
background: var(--filter-accent-gradient);
border-color: transparent;
color: var(--filter-text-white);
box-shadow: 0 8px 25px rgba(79, 70, 229, 0.25);
transform: translateY(-2px);
}
.quick-filter-btn .btn-icon {
font-size: 16px;
transition: transform 0.3s ease;
}
.quick-filter-btn:hover .btn-icon {
transform: scale(1.2);
}
.quick-filter-btn.active .btn-icon {
transform: scale(1.2) rotate(15deg);
}
.quick-filter-btn.primary {
background: var(--filter-accent-gradient);
border-color: transparent;
color: var(--filter-text-white);
box-shadow: 0 6px 20px rgba(79, 70, 229, 0.2);
}
.quick-filter-btn.success {
background: var(--filter-success-gradient);
border-color: transparent;
color: var(--filter-text-white);
box-shadow: 0 6px 20px rgba(5, 150, 105, 0.2);
}
.quick-filter-btn.warning {
background: var(--filter-warning-gradient);
border-color: transparent;
color: var(--filter-text-white);
box-shadow: 0 6px 20px rgba(217, 119, 6, 0.2);
}
.quick-filter-btn.danger {
background: var(--filter-danger-gradient);
border-color: transparent;
color: var(--filter-text-white);
box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
}
.quick-filter-btn.info {
background: var(--filter-info-gradient);
border-color: transparent;
color: var(--filter-text-white);
box-shadow: 0 6px 20px rgba(8, 145, 178, 0.2);
}
.quick-filter-bar {
display: flex;
align-items: center;
gap: var(--filter-gap-small);
margin: var(--filter-gap) 0;
padding: var(--filter-padding-small);
background: var(--filter-glass-bg);
backdrop-filter: var(--filter-glass-blur);
-webkit-backdrop-filter: var(--filter-glass-blur);
border-radius: var(--filter-radius);
border: var(--filter-glass-border);
box-shadow: var(--filter-glass-shadow);
}
.quick-filter-label {
font-size: 14px;
font-weight: 600;
color: var(--filter-text-secondary);
white-space: nowrap;
}
.quick-filter-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.quick-filter-tag {
padding: 8px 16px;
background: var(--filter-bg-primary);
border: 2px solid #e2e8f0;
border-radius: 20px;
color: var(--filter-text-secondary);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: var(--filter-transition-fast);
display: flex;
align-items: center;
gap: 6px;
}
.quick-filter-tag:hover {
border-color: var(--filter-text-accent);
color: var(--filter-text-accent);
transform: translateY(-1px);
}
.quick-filter-tag.active {
background: var(--filter-accent-gradient);
border-color: transparent;
color: var(--filter-text-white);
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}
.elegant-filter-counter {
width: 100% !important;
max-width: 100% !important;
flex: none !important;
order: 2 !important;
background: var(--filter-accent-gradient);
color: var(--filter-text-white);
border-radius: 16px;
padding: 24px;
box-shadow: var(--filter-shadow-heavy);
position: relative;
overflow: hidden;
margin-top: var(--filter-padding);
backdrop-filter: blur(10px);
transition: var(--filter-transition);
}
.elegant-filter-counter:hover {
transform: translateY(-2px);
box-shadow: 0 16px 48px rgba(102, 126, 234, 0.4);
}
.elegant-filter-counter::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
animation: pulse 4s ease-in-out infinite;
pointer-events: none;
}
.elegant-filter-counter .counter-header {
display: flex;
align-items: center;
margin-bottom: 20px;
position: relative;
z-index: 2;
gap: 16px;
}
.elegant-filter-counter .counter-icon {
width: 48px;
height: 48px;
background: rgba(255, 255, 255, 0.2);
border-radius: var(--filter-radius);
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
backdrop-filter: blur(10px);
transition: transform 0.3s ease;
}
.elegant-filter-counter:hover .counter-icon {
transform: scale(1.1) rotate(5deg);
}
.elegant-filter-counter .counter-title {
font-size: clamp(16px, 4vw, 18px);
font-weight: 600;
margin: 0;
flex: 1;
}
.elegant-filter-counter .counter-content {
position: relative;
z-index: 2;
}
.elegant-filter-counter .counter-number {
font-size: clamp(28px, 8vw, 36px);
font-weight: 700;
display: block;
margin-bottom: 8px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
background: linear-gradient(45deg, #ffffff, #f0f0f0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.elegant-filter-counter .counter-label {
font-size: 14px;
opacity: 0.9;
margin-bottom: 16px;
font-weight: 500;
}
.elegant-filter-counter .counter-details {
font-size: 12px;
opacity: 0.8;
line-height: 1.5;
}
.elegant-filter-counter .progress-bar {
width: 100%;
height: 8px;
background: rgba(255, 255, 255, 0.2);
border-radius: 4px;
margin-top: 16px;
overflow: hidden;
position: relative;
z-index: 2;
}
.elegant-filter-counter .progress-fill {
height: 100%;
background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
border-radius: 4px;
transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
position: relative;
}
.elegant-filter-counter .progress-fill::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
animation: shimmer 2s infinite;
}
.refresh-data-btn {
background: var(--filter-success-gradient);
color: var(--filter-text-white);
border: none;
padding: 12px 24px;
border-radius: var(--filter-radius-small);
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: var(--filter-transition);
display: inline-flex;
align-items: center;
gap: 8px;
box-shadow: 0 4px 16px rgba(40, 167, 69, 0.2);
margin-top: var(--filter-gap-small);
position: relative;
overflow: hidden;
}
.refresh-data-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.refresh-data-btn:hover::before {
left: 100%;
}
.refresh-data-btn:hover {
background: linear-gradient(135deg, #218838 0%, #1ba085 100%);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}
.refresh-data-btn:active {
transform: translateY(0);
}
.refresh-data-btn .icon {
font-size: 16px;
transition: transform 0.3s ease;
}
.refresh-data-btn:hover .icon {
transform: rotate(180deg);
}
.update-notification {
background: var(--filter-info-gradient);
color: var(--filter-text-white);
padding: 16px 20px;
border-radius: var(--filter-radius-small);
margin: var(--filter-gap-small) 0;
box-shadow: 0 4px 16px rgba(23, 162, 184, 0.2);
display: flex;
align-items: center;
gap: 12px;
animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.update-notification::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: rgba(255, 255, 255, 0.3);
}
.update-notification .notification-icon {
font-size: 20px;
flex-shrink: 0;
animation: bounce 2s infinite;
}
.update-notification .notification-text {
flex: 1;
font-size: 14px;
line-height: 1.4;
font-weight: 500;
}
.update-notification.success {
background: var(--filter-success-gradient);
}
.update-notification.error {
background: var(--filter-danger-gradient);
}
.update-notification.warning {
background: var(--filter-warning-gradient);
color: var(--filter-text-dark);
}
@keyframes gradientMove {
0%, 100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}
@keyframes pulse {
0%, 100% {
opacity: 0.5;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.05);
}
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes shimmer {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-4px);
}
60% {
transform: translateY(-2px);
}
}
@media (max-width: 1024px) {
.filters-with-counter {
grid-template-columns: 1fr !important;
gap: var(--filter-gap) !important;
}
.filters-with-counter .filter-stats-card,
.filters-with-counter .filters {
grid-column: auto !important;
}
.filter-stats-card {
order: -1;
margin-bottom: var(--filter-gap);
}
}
@media (max-width: 768px) {
.filters-with-counter {
grid-template-columns: 1fr !important;
gap: var(--filter-gap-small) !important;
}
.filters {
grid-template-columns: 1fr !important;
gap: var(--filter-gap-small) !important;
}
.filter-group {
grid-column: 1 / -1 !important;
}
.filters select,
.filters input {
max-width: 100%;
}
.filters-container {
padding: var(--filter-padding-small);
}
.filter-stats-card {
padding: var(--filter-padding-small);
min-height: 120px;
order: -1;
margin-bottom: var(--filter-gap);
}
.filter-stats-number {
font-size: 2rem !important;
}
.filter-stats-label {
font-size: 0.8rem !important;
}
.filter-stats-description {
font-size: 0.75rem !important;
}
.elegant-filter-counter {
padding: var(--filter-padding-small);
}
.elegant-filter-counter .counter-header {
flex-direction: column;
text-align: center;
gap: 12px;
}
}
@media (max-width: 480px) {
.filters-container {
padding: var(--filter-padding-tiny);
margin-bottom: var(--filter-gap-small);
}
.elegant-filter-counter {
padding: var(--filter-padding-tiny);
border-radius: var(--filter-radius-small);
}
.simple-filter-counter {
flex-direction: column;
text-align: center;
gap: 8px;
}
.refresh-data-btn {
width: 100%;
justify-content: center;
}
}
.ripple-effect {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.6);
transform: scale(0);
animation: ripple 0.6s linear;
pointer-events: none;
}
@keyframes ripple {
to {
transform: scale(4);
opacity: 0;
}
}
.filters-overlay-active::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 998;
backdrop-filter: blur(4px);
}
.filters-overlay-active #filters-container {
z-index: 999;
position: relative;
}
@media (prefers-reduced-motion: reduce) {
.filters-container::before,
.elegant-filter-counter::before,
.elegant-filter-counter .counter-icon,
.refresh-data-btn .icon,
.update-notification .notification-icon,
.elegant-filter-counter .progress-fill::after {
animation: none;
}
.elegant-filter-counter:hover,
.refresh-data-btn:hover {
transform: none;
}
}
@media print {
.filters-container,
.elegant-filter-counter,
.update-notification {
box-shadow: none;
border: 1px solid #ddd;
break-inside: avoid;
}
.filters-container::before,
.elegant-filter-counter::before,
.refresh-data-btn::before,
.update-notification::before {
display: none;
}
.refresh-data-btn {
display: none;
}
}
.filter-toggle-container {
width: 100%;
margin-bottom: var(--filter-gap);
display: flex;
justify-content: center;
}
.filter-toggle-btn {
background: var(--filter-accent-gradient);
color: var(--filter-text-white);
border: none;
border-radius: var(--filter-radius);
padding: 16px 24px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
transition: var(--filter-transition);
display: flex;
align-items: center;
gap: 12px;
box-shadow: var(--filter-shadow-medium);
position: relative;
overflow: hidden;
min-width: 200px;
justify-content: center;
text-transform: uppercase;
letter-spacing: 0.5px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.filter-toggle-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.6s ease;
}
.filter-toggle-btn:hover::before {
left: 100%;
}
.filter-toggle-btn:hover {
background: linear-gradient(135deg, #3730a3 0%, #6366f1 100%);
transform: translateY(-3px) scale(1.05);
box-shadow: var(--filter-shadow-heavy);
}
.filter-toggle-btn:active {
transform: translateY(-1px) scale(1.02);
}
.filter-toggle-btn .filter-icon {
width: 20px;
height: 20px;
transition: var(--filter-transition);
}
.filter-toggle-btn .filter-text {
font-weight: 700;
font-size: 16px;
}
.filter-toggle-btn .chevron-icon {
width: 18px;
height: 18px;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-toggle-btn.active .chevron-icon {
transform: rotate(180deg);
}
.filter-toggle-btn.active {
background: var(--filter-success-gradient);
box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}
.filter-toggle-btn.active .filter-icon {
transform: scale(1.1) rotate(5deg);
}
.filters {
max-height: 0;
overflow: hidden;
opacity: 0;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
transform: translateY(-20px);
}
.filters.show {
max-height: 1000px;
opacity: 1;
transform: translateY(0);
margin-bottom: var(--filter-gap);
}
.filters.show .filter-group {
animation: slideInUp 0.5s ease-out forwards;
}
.filters.show .filter-group:nth-child(1) { animation-delay: 0.1s; }
.filters.show .filter-group:nth-child(2) { animation-delay: 0.2s; }
.filters.show .filter-group:nth-child(3) { animation-delay: 0.3s; }
.filters.show .filter-group:nth-child(4) { animation-delay: 0.4s; }
.filters.show .filter-group:nth-child(5) { animation-delay: 0.5s; }
.filters.show .filter-group:nth-child(6) { animation-delay: 0.6s; }
.filters.show .filter-group:nth-child(7) { animation-delay: 0.7s; }
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 768px) {
.filter-toggle-btn {
min-width: 180px;
padding: 14px 20px;
font-size: 14px;
}
.filter-toggle-btn .filter-icon,
.filter-toggle-btn .chevron-icon {
width: 16px;
height: 16px;
}
.filter-toggle-btn .filter-text {
font-size: 14px;
}
}
@media (max-width: 480px) {
.filter-toggle-btn {
min-width: 160px;
padding: 12px 16px;
font-size: 13px;
}
.filter-toggle-container {
margin-bottom: var(--filter-gap-small);
}
}
#filters-tab .filters-with-counter { display: grid !important; }
#filters-tab .filters-with-counter .filter-stats-card { position: relative !important; }
#filters-tab .filters-with-counter .filters { position: relative !important; }
#filters-tab .filters label {
display: none !important;
}
#filters-tab .filters select,
#filters-tab .filters input {
flex: 1 1 auto !important;
width: 100% !important;
max-width: 100% !important;
background-image: none !important;
padding-right: 16px !important;
appearance: auto !important;
-webkit-appearance: auto !important;
-moz-appearance: auto !important;
}
#filters-tab .filters label::before { display: none !important; }
#filters-tab .filters {
gap: 12px !important;
}
.active-filters-bar {
display: flex;
align-items: center;
gap: 12px;
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 10px;
padding: 10px 12px;
margin: 12px 0 16px;
}
.chips-container {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.filter-chip {
display: inline-flex;
align-items: center;
gap: 8px;
background: #6366f1;
border: 1px solid #4f46e5;
border-radius: 999px;
padding: 6px 10px;
font-size: 13px;
color: #ffffff;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.filter-chip .chip-label {
font-weight: 600;
color: #ffffff;
}
.filter-chip .chip-value {
color: #e0e7ff;
}
.filter-chip .chip-remove {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
color: #ffffff;
border: 1px solid rgba(255, 255, 255, 0.3);
cursor: pointer;
transition: all .2s ease;
}
.filter-chip .chip-remove:hover {
background: rgba(255, 255, 255, 0.3);
color: #ffffff;
transform: scale(1.1);
}
.clear-filters-btn {
margin-inline-start: auto;
padding: 8px 12px;
}
.print-fields-controls {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 12px;
margin: 16px 0;
overflow: hidden;
}
.print-fields-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
background: #f1f5f9;
border-bottom: 1px solid #e2e8f0;
cursor: pointer;
}
.print-fields-header h4 {
margin: 0;
font-size: 16px;
font-weight: 600;
color: #334155;
}
.toggle-print-fields {
background: none;
border: none;
color: #64748b;
cursor: pointer;
padding: 4px;
border-radius: 4px;
transition: var(--transition-fast);
}
.toggle-print-fields:hover {
background: #e2e8f0;
color: #475569;
}
.print-fields-content {
padding: 20px;
}
.available-fields-section h5,
.custom-fields-section h5 {
margin: 0 0 12px 0;
font-size: 14px;
font-weight: 600;
color: #475569;
}
.available-fields-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 12px;
margin-bottom: 20px;
}
.field-checkbox {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: var(--radius-md);
cursor: pointer;
transition: var(--transition-fast);
}
.field-checkbox:hover {
border-color: #cbd5e1;
background: #f8fafc;
}
.field-checkbox input[type="checkbox"] {
margin: 0;
}
.field-checkbox span {
font-size: 14px;
color: #334155;
}
.custom-fields-container {
margin-bottom: 20px;
}
.add-custom-field {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
.custom-field-name {
flex: 1;
padding: 8px 12px;
border: 1px solid #e2e8f0;
border-radius: 6px;
font-size: 14px;
}
.add-custom-field-btn {
padding: 8px 16px;
background: #3b82f6;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
transition: background 0.2s ease;
}
.add-custom-field-btn:hover {
background: #2563eb;
}
.custom-fields-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.custom-field-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 6px;
}
.custom-field-name-display {
flex: 1;
font-size: 14px;
color: #334155;
}
.remove-custom-field {
background: #ef4444;
color: white;
border: none;
border-radius: 4px;
width: 24px;
height: 24px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}
.remove-custom-field:hover {
background: #dc2626;
}
.print-actions {
text-align: center;
padding-top: 16px;
border-top: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
.available-fields-grid {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.add-custom-field {
flex-direction: column;
}
.print-fields-header {
padding: 12px 16px;
}
.print-fields-content {
padding: 16px;
}
}
.filters select {
background-image: none !important;
padding-right: 12px !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
.filters select::-ms-expand { display: none; }

/* === tabs.css === */
:root {
--tab-primary: #667eea;
--tab-secondary: #764ba2;
--tab-accent: #f093fb;
--tab-success: #4facfe;
--tab-warning: #f093fb;
--tab-danger: #fa709a;
--tab-bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--tab-bg-secondary: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
--tab-bg-glass: rgba(255, 255, 255, 0.1);
--tab-bg-hover: rgba(102, 126, 234, 0.1);
--tab-bg-active: rgba(255, 255, 255, 0.15);
--tab-shadow-light: 0 4px 16px rgba(0, 0, 0, 0.05);
--tab-shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.08);
--tab-shadow-heavy: 0 8px 24px rgba(102, 126, 234, 0.3);
--tab-shadow-glow: 0 0 20px rgba(102, 126, 234, 0.4);
--tab-border-radius: 16px;
--tab-border-radius-small: 12px;
--tab-border-radius-large: 20px;
--tab-border: 1px solid rgba(0, 0, 0, 0.05);
--tab-border-active: 2px solid var(--tab-primary);
--tab-padding-small: 10px 14px;
--tab-padding-medium: 14px 18px;
--tab-padding-large: 18px 22px;
--tab-gap-small: 4px;
--tab-gap-medium: 8px;
--tab-gap-large: 12px;
--tab-font-size-small: 12px;
--tab-font-size-medium: 14px;
--tab-font-size-large: 16px;
--tab-font-weight-normal: 500;
--tab-font-weight-bold: 600;
--tab-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
--tab-transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--tab-transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
--tab-transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
--tab-text-primary: #212529;
--tab-text-secondary: #6c757d;
--tab-text-muted: #adb5bd;
--tab-text-white: #ffffff;
--tab-text-active: var(--tab-text-white);
}
.team-portal-shell {
display: flex;
gap: 28px;
align-items: flex-start;
width: 100%;
direction: rtl;
}
.team-portal-main {
flex: 1 1 auto;
min-width: 0;
direction: rtl;
}
.tp-bitrix-sidebar {
width: 280px;
min-width: 260px;
background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.92) 40%, rgba(51, 65, 85, 0.88) 100%);
color: #f8fafc;
border-radius: 28px;
padding: 20px 18px;
box-shadow: 0 25px 55px rgba(15, 23, 42, 0.28);
position: sticky;
top: 32px;
max-height: calc(100vh - 64px);
display: flex;
flex-direction: column;
transition: width 0.3s ease, padding 0.3s ease;
overflow: hidden;
backdrop-filter: blur(18px);
}
.tp-bitrix-sidebar::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(160deg, rgba(99, 102, 241, 0.18) 0%, rgba(14, 165, 233, 0.12) 40%, rgba(236, 72, 153, 0.08) 100%);
opacity: 0.85;
pointer-events: none;
}
.tp-bitrix-sidebar .tp-sidebar-inner {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
height: 100%;
gap: 18px;
}
.tp-sidebar-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
}
.tp-sidebar-branding {
display: flex;
align-items: center;
gap: 12px;
flex: 1;
}
.tp-sidebar-logo {
width: 44px;
height: 44px;
border-radius: 14px;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(59, 130, 246, 0.45));
display: grid;
place-items: center;
font-size: 18px;
color: #ffffff;
box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25);
}
.tp-sidebar-meta {
display: flex;
flex-direction: column;
gap: 4px;
}
.tp-sidebar-title {
font-size: 16px;
font-weight: 700;
}
.tp-sidebar-plan {
font-size: 12px;
font-weight: 500;
opacity: 0.7;
}
.tp-sidebar-toggle {
background: rgba(255, 255, 255, 0.08);
border: none;
width: 40px;
height: 40px;
border-radius: 12px;
color: #f8fafc;
display: grid;
place-items: center;
cursor: pointer;
transition: transform 0.3s ease, background 0.3s ease;
}
.tp-sidebar-toggle:hover {
background: rgba(255, 255, 255, 0.14);
}
.tp-sidebar-toggle i {
transition: transform 0.3s ease;
}
.tp-sidebar-search {
position: relative;
background: rgba(15, 23, 42, 0.45);
border-radius: 14px;
padding: 10px 14px;
display: flex;
align-items: center;
gap: 10px;
border: 1px solid rgba(148, 163, 184, 0.15);
}
.tp-sidebar-search i {
color: rgba(226, 232, 240, 0.65);
font-size: 14px;
}
#tpSidebarFilter {
flex: 1;
background: transparent;
border: none;
color: #f8fafc;
font-size: 13px;
outline: none;
direction: rtl;
}
#tpSidebarFilter::placeholder {
color: rgba(226, 232, 240, 0.5);
}
.tp-sidebar-groups {
flex: 1 1 auto;
overflow-y: auto;
padding-left: 4px;
padding-right: 2px;
display: flex;
flex-direction: column;
gap: 18px;
}
.tp-sidebar-groups::-webkit-scrollbar {
width: 4px;
}
.tp-sidebar-groups::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.35);
border-radius: 4px;
}
.tp-sidebar-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.tp-sidebar-group-label {
font-size: 11px;
letter-spacing: 1px;
text-transform: uppercase;
opacity: 0.55;
padding: 0 4px;
}
.tp-sidebar-link {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 14px;
background: transparent;
border: none;
border-radius: 14px;
color: #e2e8f0;
cursor: pointer;
gap: 12px;
transition: background 0.25s ease, transform 0.25s ease;
position: relative;
text-align: right;
flex-direction: row;
box-shadow: none;
min-width: 0;
}
.tp-sidebar-link:focus-visible {
outline: 3px solid rgba(129, 140, 248, 0.75);
outline-offset: 3px;
}
.tp-sidebar-link .tp-link-icon {
width: 36px;
height: 36px;
border-radius: 12px;
display: grid;
place-items: center;
background: rgba(148, 163, 184, 0.15);
color: #f1f5f9;
font-size: 16px;
flex-shrink: 0;
transition: background 0.3s ease;
}
.tp-sidebar-link .tp-link-text {
display: flex;
flex-direction: column;
gap: 2px;
align-items: flex-end;
flex: 1;
}
.tp-link-title {
font-size: 14px;
font-weight: 600;
}
.tp-link-subtitle {
font-size: 11px;
opacity: 0.6;
}
.tp-link-badge {
font-size: 10px;
font-weight: 700;
padding: 4px 8px;
border-radius: 999px;
background: rgba(248, 250, 252, 0.18);
color: #f8fafc;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.tp-link-badge-pro {
background: linear-gradient(135deg, #f59e0b, #ef4444);
color: #ffffff;
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}
.tp-sidebar-link:hover {
background: rgba(148, 163, 184, 0.18);
transform: translateX(-4px);
}
.tp-sidebar-link:hover .tp-link-icon {
background: rgba(79, 70, 229, 0.3);
}
.tp-sidebar-link.active {
background: rgba(99, 102, 241, 0.22);
box-shadow: 0 10px 26px rgba(99, 102, 241, 0.2);
border: 1px solid rgba(255, 255, 255, 0.16);
color: #ffffff;
}
.tp-sidebar-link.active .tp-link-icon {
background: linear-gradient(135deg, rgba(129, 140, 248, 0.6), rgba(59, 130, 246, 0.6));
}
.tp-sidebar-footer {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-top: auto;
padding: 14px;
background: rgba(15, 23, 42, 0.45);
border-radius: 18px;
border: 1px solid rgba(148, 163, 184, 0.18);
}
.tp-sidebar-footer-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
background: rgba(148, 163, 184, 0.16);
border-radius: 12px;
border: none;
color: #f8fafc;
padding: 10px 12px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: background 0.25s ease, transform 0.25s ease;
}
.tp-sidebar-footer-btn:hover {
background: rgba(99, 102, 241, 0.3);
transform: translateY(-2px);
}
.tp-footer-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 18px;
height: 18px;
padding: 0 6px;
border-radius: 10px;
background: #f97316;
color: #fff;
font-size: 11px;
font-weight: 700;
}
.tp-bitrix-sidebar[data-collapsed="true"],
.tp-bitrix-sidebar.is-collapsed {
width: 92px;
padding: 20px 12px;
}
.tp-bitrix-sidebar[data-collapsed="true"] .tp-sidebar-meta,
.tp-bitrix-sidebar[data-collapsed="true"] .tp-sidebar-group-label,
.tp-bitrix-sidebar[data-collapsed="true"] .tp-link-text,
.tp-bitrix-sidebar[data-collapsed="true"] .tp-link-badge,
.tp-bitrix-sidebar.is-collapsed .tp-sidebar-meta,
.tp-bitrix-sidebar.is-collapsed .tp-sidebar-group-label,
.tp-bitrix-sidebar.is-collapsed .tp-link-text,
.tp-bitrix-sidebar.is-collapsed .tp-link-badge {
opacity: 0;
pointer-events: none;
}
.tp-bitrix-sidebar[data-collapsed="true"] .tp-sidebar-link,
.tp-bitrix-sidebar.is-collapsed .tp-sidebar-link {
justify-content: center;
padding: 12px;
}
.team-portal-shell,
.team-portal-main,
.team-portal-container,
.portal-main-container,
.main-header-row,
.tab-selection-cards,
.tab-selection-cards .large-tab-card,
.control-buttons,
.modern-tabs,
.modern-tabs::before,
.modern-tabs .tab-nav,
.modern-tabs .tab-nav::before,
.modern-tabs .tab-nav::after,
.modern-tabs .tab-btn,
.modern-tabs .tab-btn::before,
.modern-tabs .tab-btn::after,
.modern-tabs .tab-btn.active,
.modern-tabs .tab-btn:hover,
.tab-content,
.team-portal-container .card,
.team-portal-container table,
.team-portal-container th,
.team-portal-container td,
.dataTables_wrapper,
.dataTables_wrapper table,
.dark-bottom-bar,
.dark-bottom-bar * {
background: transparent !important;
background-image: none !important;
box-shadow: none !important;
}
.tp-bitrix-sidebar,
.tp-bitrix-sidebar::before,
.tp-sidebar-logo,
.tp-sidebar-search,
.tp-sidebar-link,
.tp-sidebar-link .tp-link-icon,
.tp-sidebar-link.active,
.tp-sidebar-link:hover,
.tp-sidebar-footer,
.tp-sidebar-footer-btn,
.tp-sidebar-footer-btn:hover {
background: transparent !important;
background-image: none !important;
border: none !important;
box-shadow: none !important;
backdrop-filter: none !important;
}
.tp-sidebar-toggle {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
.team-portal-shell .tab-indicator,
.team-portal-shell .tab-glow,
.team-portal-shell .tab-ripple,
.team-portal-shell .tab-overlay,
.team-portal-shell .card-overlay {
display: none !important;
}
.team-portal-container td,
.team-portal-container th {
border-color: rgba(148, 163, 184, 0.2) !important;
}
.tp-bitrix-sidebar[data-collapsed="true"] .tp-sidebar-link .tp-link-icon,
.tp-bitrix-sidebar.is-collapsed .tp-sidebar-link .tp-link-icon {
background: rgba(99, 102, 241, 0.45);
}
.tp-bitrix-sidebar[data-collapsed="true"] .tp-sidebar-toggle i,
.tp-bitrix-sidebar.is-collapsed .tp-sidebar-toggle i {
transform: rotate(180deg);
}
.tp-bitrix-sidebar[data-collapsed="true"] .tp-sidebar-footer,
.tp-bitrix-sidebar.is-collapsed .tp-sidebar-footer {
grid-template-columns: 1fr;
}
.tp-bitrix-sidebar[data-collapsed="true"] .tp-sidebar-footer-btn span,
.tp-bitrix-sidebar.is-collapsed .tp-sidebar-footer-btn span {
display: none;
}
.tp-bitrix-sidebar[data-collapsed="true"] .tp-sidebar-footer-btn {
padding: 12px;
}
@media (max-width: 1199px) {
.team-portal-shell {
flex-direction: column;
}
.tp-bitrix-sidebar {
position: relative;
top: 0;
max-height: none;
width: 100%;
min-width: 100%;
padding: 18px 16px;
}
.tp-bitrix-sidebar[data-collapsed="true"],
.tp-bitrix-sidebar.is-collapsed {
width: 100%;
}
}
@media (max-width: 720px) {
.tp-bitrix-sidebar {
border-radius: 20px;
padding: 16px 14px;
}
.tp-sidebar-footer {
grid-template-columns: 1fr;
}
}
.tab-nav {
display: flex;
background: var(--tab-bg-secondary);
border-radius: var(--tab-border-radius);
padding: var(--tab-gap-medium);
margin: 0;
box-shadow: var(--tab-shadow-light);
border: var(--tab-border);
overflow-x: auto;
gap: var(--tab-gap-small);
position: relative;
}
.tab-nav::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: var(--tab-bg-primary);
border-radius: calc(var(--tab-border-radius) + 2px);
opacity: 0;
transition: opacity var(--tab-transition-normal);
z-index: -1;
pointer-events: none;
}
.tab-nav:hover::before {
opacity: 0.1;
}
.tab-nav::-webkit-scrollbar {
height: 4px;
}
.tab-nav::-webkit-scrollbar-track {
background: transparent;
border-radius: 2px;
}
.tab-nav::-webkit-scrollbar-thumb {
background: rgba(102, 126, 234, 0.3);
border-radius: 2px;
transition: background var(--tab-transition-normal);
}
.tab-nav::-webkit-scrollbar-thumb:hover {
background: rgba(102, 126, 234, 0.5);
}
.tab-btn {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
border: 2px solid rgba(255, 255, 255, 0.1);
padding: 16px 28px;
border-radius: 16px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
color: #ffffff;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
transition: var(--transition-slow);
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
min-width: 140px;
white-space: nowrap;
overflow: hidden;
transform-origin: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
flex: 0 0 auto;
}
.tab-btn::before {
content: '';
position: absolute;
top: 8px;
right: 8px;
width: 10px;
height: 10px;
background: transparent;
opacity: 0;
border-radius: 50%;
transition: var(--transition-slow);
z-index: 2;
box-shadow: none;
}
.tab-btn::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid transparent;
opacity: 0;
transition: var(--transition-slow);
z-index: 2;
}
.tab-btn.active::before {
background: #ffffff;
opacity: 1;
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3),
0 2px 8px rgba(255, 255, 255, 0.5);
animation: pulseCircle 2s infinite;
}
.tab-btn.active::after {
border-top-color: #ffffff;
opacity: 1;
animation: arrowBounce 2s infinite;
}
.tab-btn.active {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
border: 2px solid rgba(255, 255, 255, 0.4);
color: #ffffff;
transform: translateY(0) scale(1);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2),
0 0 0 1px rgba(255, 255, 255, 0.1);
filter: brightness(1.05);
}
.tab-btn:hover:not(.active) {
background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
border-color: rgba(255, 255, 255, 0.25);
color: #ffffff;
transform: translateY(-2px) scale(1.02);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.tab-btn:active {
transform: translateY(-1px) scale(0.98);
}
.tab-icon {
font-size: 28px;
position: relative;
z-index: 1;
transition: var(--transition-slow);
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
color: rgba(255, 255, 255, 0.95);
}
.tab-btn.active .tab-icon {
transform: scale(1.1);
filter: drop-shadow(0 3px 8px rgba(255, 255, 255, 0.3));
color: #ffffff;
}
.tab-btn:hover .tab-icon {
transform: scale(1.05);
}
.tab-label {
font-size: 15px;
position: relative;
z-index: 1;
letter-spacing: 0.5px;
font-weight: 700;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
transition: var(--transition-slow);
color: rgba(255, 255, 255, 0.95);
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.tab-btn.active .tab-label {
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
color: #ffffff;
font-size: 16px;
letter-spacing: 0.8px;
}
.tab-indicator {
position: absolute;
bottom: 8px;
left: 50%;
transform: translateX(-50%) scale(0);
width: 0;
height: 0;
background: transparent;
border-radius: 0;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1;
box-shadow: none;
display: none;
}
.tab-btn.active .tab-indicator {
transform: translateX(-50%) scale(0);
animation: none;
}
@keyframes pulseCircle {
0%, 100% {
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3),
0 2px 8px rgba(255, 255, 255, 0.5);
}
50% {
box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1),
0 2px 12px rgba(255, 255, 255, 0.7);
}
}
@keyframes arrowBounce {
0%, 100% {
transform: translateX(-50%) translateY(0);
}
50% {
transform: translateX(-50%) translateY(3px);
}
}
@keyframes pulse {
0%, 100% {
box-shadow: 0 2px 12px rgba(255, 255, 255, 0.5), 0 0 0 0 rgba(255, 255, 255, 0.9);
}
50% {
box-shadow: 0 2px 12px rgba(255, 255, 255, 0.5), 0 0 0 10px rgba(255, 255, 255, 0);
}
}
.tabcontent {
display: none;
opacity: 0;
transform: translateY(20px) scale(0.98);
transition: all var(--tab-transition-slow);
}
.tabcontent.active {
display: block;
opacity: 1;
transform: translateY(0) scale(1);
animation: tabContentFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-content {
display: none;
opacity: 0;
transform: translateY(20px) scale(0.98);
transition: all var(--tab-transition-slow);
}
.tab-content.active {
display: block;
opacity: 1;
transform: translateY(0) scale(1);
animation: tabContentFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes tabContentFadeIn {
from {
opacity: 0;
transform: translateY(30px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.modern-tabs {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(102, 126, 234, 0.2);
overflow: hidden;
margin: 0;
position: relative;
width: 100%;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.modern-tabs::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #667eea 0%, #f093fb 50%, #4facfe 100%);
z-index: 1;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}
.modern-tabs .tab-nav {
margin: 0;
border-radius: 0;
box-shadow: none;
border: none;
padding: 12px 16px;
position: relative;
overflow-x: auto;
overflow-y: hidden;
display: flex;
flex-wrap: nowrap;
width: 100%;
min-height: 48px;
gap: 12px;
background: transparent;
}
.modern-tabs .tab-nav::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
transform: translateX(-100%);
animation: shimmer 4s infinite;
pointer-events: none;
}
.modern-tabs .tab-nav::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
opacity: 0.3;
pointer-events: none;
}
.modern-tabs .tab-nav .tab-btn {
flex: 1 1 0%;
min-width: 120px;
max-width: none;
position: relative;
z-index: 999999;
pointer-events: auto;
}
.modern-tabs .tab-slider {
pointer-events: none;
}
@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
.modern-tabs .tab-btn[data-tab="Services"] {
background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 16px 28px;
min-width: 140px;
position: relative;
transition: var(--transition-slow);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 16px;
font-weight: 600;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
flex: 0 0 auto;
margin: 0;
}
.modern-tabs .tab-btn[data-tab="Files"] {
background: linear-gradient(135deg, rgba(240, 147, 251, 0.9) 0%, rgba(245, 87, 108, 0.9) 100%);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 16px 28px;
min-width: 140px;
position: relative;
transition: var(--transition-slow);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 16px;
font-weight: 600;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
flex: 0 0 auto;
margin: 0;
}
.modern-tabs .tab-btn[data-tab="Tasks"] {
background: linear-gradient(135deg, rgba(56, 239, 125, 0.9) 0%, rgba(17, 153, 142, 0.9) 100%);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 16px 28px;
min-width: 140px;
position: relative;
transition: var(--transition-slow);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 16px;
font-weight: 600;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 12px rgba(56, 239, 125, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
flex: 0 0 auto;
margin: 0;
}
.modern-tabs .tab-btn[data-tab="Appeals"] {
background: linear-gradient(135deg, rgba(252, 92, 125, 0.9) 0%, rgba(106, 130, 251, 0.9) 100%);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 16px 28px;
min-width: 140px;
position: relative;
transition: var(--transition-slow);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 16px;
font-weight: 600;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 12px rgba(252, 92, 125, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
flex: 0 0 auto;
margin: 0;
}
.modern-tabs .tab-btn[data-tab="Archive"] {
background: linear-gradient(135deg, rgba(79, 172, 254, 0.9) 0%, rgba(0, 242, 254, 0.9) 100%);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 16px 28px;
min-width: 140px;
position: relative;
transition: var(--transition-slow);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 16px;
font-weight: 600;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
flex: 0 0 auto;
margin: 0;
}
.modern-tabs .tab-btn[data-tab="Documents"] {
background: linear-gradient(135deg, rgba(251, 146, 60, 0.9) 0%, rgba(234, 88, 12, 0.9) 100%);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 16px 28px;
min-width: 140px;
position: relative;
transition: var(--transition-slow);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 16px;
font-weight: 600;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 12px rgba(251, 146, 60, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
flex: 0 0 auto;
margin: 0;
}
.modern-tabs .tab-btn[data-tab="Sessions"] {
background: linear-gradient(135deg, rgba(168, 85, 247, 0.9) 0%, rgba(236, 72, 153, 0.9) 100%);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 16px 28px;
min-width: 140px;
position: relative;
transition: var(--transition-slow);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 16px;
font-weight: 600;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
flex: 0 0 auto;
margin: 0;
}
.modern-tabs .tab-btn .tab-icon {
font-size: 22px;
margin-bottom: 8px;
transition: all var(--tab-transition-normal);
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
z-index: 2;
position: relative;
}
.modern-tabs .tab-btn .tab-label {
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
transition: all var(--tab-transition-normal);
z-index: 2;
position: relative;
}
.modern-tabs .tab-btn::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.1);
opacity: 0;
transition: opacity var(--tab-transition-normal);
z-index: 1;
pointer-events: none;
}
.modern-tabs .tab-btn::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 6px;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
transform: scaleX(0);
transition: transform var(--tab-transition-normal);
transform-origin: center;
box-shadow: 0 2px 12px rgba(255, 255, 255, 0.6);
z-index: 3;
pointer-events: none;
}
.modern-tabs .tab-btn.active {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
box-shadow:
0 0 30px rgba(255, 255, 255, 0.4),
0 0 60px rgba(255, 255, 255, 0.2),
inset 0 2px 20px rgba(255, 255, 255, 0.1);
filter: brightness(1.3) saturate(1.2);
transform: none !important;
flex: 1 1 0% !important;
max-width: none !important;
border: 2px solid rgba(255, 255, 255, 0.3);
}
.modern-tabs .tab-btn.active::before {
opacity: 1;
background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 70%);
pointer-events: none;
}
.modern-tabs .tab-btn.active::after {
transform: scaleX(1);
background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
box-shadow:
0 2px 12px rgba(255, 255, 255, 0.8),
0 0 20px rgba(255, 255, 255, 0.6);
pointer-events: none;
}
.modern-tabs .tab-btn.active .tab-icon {
transform: scale(1.15);
filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
animation: iconGlow 2s ease-in-out infinite alternate;
}
.modern-tabs .tab-btn.active .tab-label {
text-shadow:
0 4px 8px rgba(0, 0, 0, 0.4),
0 0 20px rgba(255, 255, 255, 0.8);
animation: textGlow 2s ease-in-out infinite alternate;
}
@keyframes iconGlow {
0% { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)); }
100% { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)); }
}
@keyframes textGlow {
0% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.8); }
100% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 1); }
}
.modern-tabs .tab-btn:hover:not(.active) {
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
filter: brightness(1.1);
flex: 1 1 0% !important;
max-width: none !important;
transform: none !important;
}
.modern-tabs .tab-btn:hover:not(.active)::before {
opacity: 0.7;
}
.modern-tabs .tab-btn:hover:not(.active) .tab-icon {
transform: scale(1.05);
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}
.modern-tabs .tab-btn:hover:not(.active) .tab-icon {
transform: scale(1.1);
}
.modern-tabs .tab-content {
padding: 32px 24px;
position: relative;
}
.modern-tabs .tab-content::before {
content: '';
position: absolute;
top: 0;
left: 24px;
right: 24px;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
}
.vertical-tabs {
display: flex;
gap: 32px;
align-items: flex-start;
}
.vertical-tabs .tab-nav {
flex-direction: column;
width: 240px;
margin-bottom: 0;
padding: var(--tab-gap-large);
background: var(--tab-text-white);
box-shadow: var(--tab-shadow-medium);
}
.vertical-tabs .tab-btn {
min-width: auto;
width: 100%;
text-align: right;
justify-content: flex-start;
flex-direction: row;
gap: var(--tab-gap-large);
padding: 18px 20px;
border-radius: var(--tab-border-radius-small);
}
.vertical-tabs .tab-btn::before {
border-radius: var(--tab-border-radius-small);
}
.vertical-tabs .tab-btn.active {
transform: translateX(8px) scale(1.02);
}
.vertical-tabs .tab-content-wrapper {
flex: 1;
background: var(--tab-text-white);
border-radius: var(--tab-border-radius);
box-shadow: var(--tab-shadow-medium);
padding: 32px;
min-height: 400px;
}
.compact-tabs .tab-nav {
padding: var(--tab-gap-small);
margin-bottom: 16px;
border-radius: var(--tab-border-radius-small);
}
.compact-tabs .tab-btn {
padding: var(--tab-padding-small);
min-width: 100px;
font-size: 13px;
border-radius: var(--radius-md);
}
.compact-tabs .tab-icon {
font-size: 16px;
}
.compact-tabs .tab-label {
font-size: 11px;
}
.compact-tabs .tab-indicator {
width: 6px;
height: 6px;
}
.tab-content-slide {
position: relative;
overflow: hidden;
border-radius: var(--tab-border-radius);
background: var(--tab-text-white);
box-shadow: var(--tab-shadow-light);
}
.tab-content-slide .tab-content {
position: absolute;
top: 0;
left: 0;
right: 0;
transform: translateX(100%) scale(0.95);
transition: all var(--tab-transition-slow);
opacity: 0;
padding: 24px;
}
.tab-content-slide .tab-content.active {
position: relative;
transform: translateX(0) scale(1);
opacity: 1;
}
.tab-content-slide .tab-content.prev {
transform: translateX(-100%) scale(0.95);
opacity: 0;
}
.tab-content-slide .tab-content.next {
transform: translateX(100%) scale(0.95);
opacity: 0;
}
.tab-progress {
height: 4px;
background: rgba(0, 0, 0, 0.08);
position: relative;
margin-bottom: 20px;
border-radius: 2px;
overflow: hidden;
}
.tab-progress::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
transform: translateX(-100%);
animation: progressShimmer 2s infinite;
}
@keyframes progressShimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
.tab-progress-bar {
height: 100%;
background: var(--tab-bg-primary);
transition: width var(--tab-transition-slow);
border-radius: 2px;
position: relative;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.tab-progress-bar::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 20px;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
border-radius: 2px;
}
.tab-counter {
background: rgba(255, 255, 255, 0.25);
color: var(--tab-text-white);
font-size: 10px;
font-weight: var(--tab-font-weight-bold);
padding: 4px 8px;
border-radius: 12px;
margin-right: 8px;
min-width: 20px;
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
transition: all var(--tab-transition-normal);
}
.tab-btn:not(.active) .tab-counter {
background: rgba(108, 117, 125, 0.15);
color: var(--tab-text-secondary);
border: 1px solid rgba(108, 117, 125, 0.2);
}
.tab-btn.active .tab-counter {
transform: scale(1.1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.tab-loading {
position: relative;
overflow: hidden;
}
.tab-loading::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg,
transparent 0%,
var(--tab-primary) 25%,
var(--tab-secondary) 50%,
var(--tab-accent) 75%,
transparent 100%);
animation: tabLoadingSlide 2s ease-in-out infinite;
border-radius: 0 0 2px 2px;
}
@keyframes tabLoadingSlide {
0% {
transform: translateX(-100%) scaleX(0.5);
opacity: 0;
}
50% {
opacity: 1;
transform: translateX(0) scaleX(1);
}
100% {
transform: translateX(100%) scaleX(0.5);
opacity: 0;
}
}
.glass-tabs {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: var(--tab-border-radius-large);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.glass-tabs .tab-nav {
background: transparent;
border: none;
box-shadow: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.glass-tabs .tab-btn {
color: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
}
.glass-tabs .tab-btn::before {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(20px);
}
.glass-tabs .tab-btn.active {
color: var(--tab-text-white);
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.glass-tabs .tab-content {
padding: 32px;
background: rgba(255, 255, 255, 0.05);
}
@media (max-width: 768px) {
.tab-nav {
padding: 8px;
gap: 8px;
border-radius: 12px;
}
.tab-btn {
padding: 14px 20px;
min-width: 120px;
font-size: 14px;
border-radius: 12px;
}
.tab-icon {
font-size: 24px;
}
.tab-label {
font-size: 13px;
font-weight: 700;
}
.tab-btn.active {
transform: translateY(-4px) scale(1.05);
}
.vertical-tabs {
flex-direction: column;
gap: 16px;
}
.vertical-tabs .tab-nav {
width: 100%;
flex-direction: row;
overflow-x: auto;
}
.vertical-tabs .tab-content-wrapper {
padding: 20px;
}
.modern-tabs .tab-btn {
padding: 14px 18px;
font-size: 14px;
}
.modern-tabs .tab-content {
padding: 20px 16px;
}
}
@media (max-width: 480px) {
.tab-btn {
padding: 12px 16px;
min-width: 100px;
font-size: 13px;
gap: 6px;
border-radius: 10px;
}
.tab-icon {
font-size: 20px;
}
.tab-label {
font-size: 12px;
letter-spacing: 0.4px;
font-weight: 700;
}
.tab-btn.active {
transform: translateY(-3px) scale(1.04);
}
.tab-nav {
padding: 6px;
margin-bottom: 16px;
}
.tab-indicator {
width: 6px;
height: 6px;
bottom: 8px;
}
.tab-counter {
padding: 2px 6px;
font-size: 9px;
min-width: 16px;
margin-right: 6px;
}
.modern-tabs .tab-content {
padding: 16px 12px;
}
.vertical-tabs .tab-content-wrapper {
padding: 16px;
}
}
@media (prefers-reduced-motion: reduce) {
.tab-btn,
.tab-content,
.tab-indicator,
.tab-progress-bar {
transition: none !important;
animation: none !important;
}
.tab-btn.active {
transform: none !important;
}
.tab-content.active {
animation: none !important;
}
}
@media (prefers-contrast: high) {
.tab-btn {
border: 2px solid currentColor;
}
.tab-btn.active {
background: var(--tab-text-primary) !important;
color: var(--tab-text-white) !important;
}
}
@media print {
.tab-nav {
display: none !important;
}
.tab-content {
display: block !important;
opacity: 1 !important;
transform: none !important;
box-shadow: none !important;
background: transparent !important;
}
.tab-progress,
.tab-loading::after {
display: none !important;
}
}
.tab-btn.pulse-effect {
animation: tabPulse 2s infinite;
}
@keyframes tabPulse {
0%, 100% {
box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
}
50% {
box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
}
}
.tab-btn.glow-effect:hover {
box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
filter: brightness(1.15);
}
body.dark-mode .tab-btn {
background: linear-gradient(135deg, #0f172a 0%, #000000 100%);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.dark-mode .tab-btn:hover:not(.active) {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
border-color: rgba(255, 255, 255, 0.25);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6),
inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
body.dark-mode .tab-btn.active {
background: linear-gradient(135deg, #0f172a 0%, #000000 100%);
border-color: rgba(255, 255, 255, 0.45);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.tab-content.fade-slide {
animation: fadeSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeSlideIn {
from {
opacity: 0;
transform: translateY(40px) scale(0.9);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

/* === view-toggle.css === */
.view-toggle-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 8px;
font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
position: relative;
overflow: hidden;
margin-left: 12px;
}
.view-toggle-btn:hover {
transform: translateY(-2px) scale(1.05);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.view-toggle-btn:active {
transform: translateY(0) scale(1);
}
.view-toggle-btn i {
font-size: 16px;
transition: transform 0.3s ease;
}
.view-toggle-btn:hover i {
transform: rotate(180deg) scale(1.1);
}
.view-toggle-btn span {
font-weight: 600;
letter-spacing: 0.3px;
}
.view-toggle-btn.cards-view {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}
.view-toggle-btn.cards-view:hover {
box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
.view-toggle-btn.new {
animation: pulse 2s ease-in-out 3;
}
@media (max-width: 768px) {
.view-toggle-btn {
padding: 8px 12px;
font-size: 13px;
margin-left: 8px;
}
.view-toggle-btn span {
display: none;
}
.view-toggle-btn i {
font-size: 18px;
margin: 0;
}
}
.cards-view-mode #posts-table_wrapper .dataTables_scroll {
display: none;
}
.cards-view-mode #posts-table {
display: none !important;
}
.cards-view-mode #posts-table_wrapper::after {
content: '';
display: block;
clear: both;
}
.cards-view-mode tbody tr {
display: inline-block;
width: calc(33.333% - 16px);
margin: 8px;
vertical-align: top;
background: white;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
padding: 20px;
transition: all 0.3s ease;
}
.cards-view-mode tbody tr:hover {
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}
.cards-view-mode tbody tr td {
display: block;
border: none !important;
padding: 8px 0 !important;
}
.cards-view-mode tbody tr td::before {
content: attr(data-label);
font-weight: 700;
color: #667eea;
display: inline-block;
margin-left: 8px;
min-width: 120px;
}
@media (max-width: 1024px) {
.cards-view-mode tbody tr {
width: calc(50% - 16px);
}
}
@media (max-width: 768px) {
.cards-view-mode tbody tr {
width: calc(100% - 16px);
}
}
.cards-view-mode .dataTables_paginate {
display: flex !important;
justify-content: center;
margin-top: 20px;
}
.cards-view-mode .dataTables_info {
text-align: center;
margin-top: 20px;
color: #667eea;
font-weight: 600;
}

/* === cards.css === */
:root {
--card-bg-primary: #ffffff;
--card-bg-secondary: #f8f9fa;
--card-bg-gradient: linear-gradient(135deg, var(--card-bg-primary) 0%, var(--card-bg-secondary) 100%);
--card-accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
--card-shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
--card-shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
--card-shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
--card-border: 1px solid rgba(255, 255, 255, 0.2);
--card-border-hover: 1px solid rgba(102, 126, 234, 0.3);
--card-title-color: #2c3e50;
--card-text-color: #7f8c8d;
--card-text-light: #95a5a6;
--card-text-white: #ffffff;
--card-radius: 16px;
--card-radius-small: 12px;
--card-radius-tiny: 8px;
--card-padding: 24px;
--card-padding-medium: 20px;
--card-padding-small: 16px;
--card-padding-tiny: 12px;
--card-transition: var(--transition-slow);
--card-hover-transform: translateY(-8px) scale(1.02);
}
.service-card {
background: var(--card-bg-gradient);
border-radius: 20px;
padding: 32px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
border: 1px solid rgba(102, 126, 234, 0.1);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
cursor: pointer;
display: flex;
flex-direction: column;
gap: 16px;
min-height: 240px;
justify-content: space-between;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: var(--card-accent-gradient);
background-size: 300% 100%;
animation: gradientShift 4s ease-in-out infinite;
}
.service-card::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.service-card:hover::after {
opacity: 1;
}
.service-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
border: 1px solid rgba(102, 126, 234, 0.3);
}
.service-card .card-icon {
width: 64px;
height: 64px;
background: var(--card-accent-gradient);
border-radius: var(--card-radius);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
font-size: 28px;
color: var(--card-text-white);
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
transition: transform 0.3s ease;
}
.service-card:hover .card-icon {
transform: scale(1.1) rotate(5deg);
}
.service-card .card-title {
font-size: clamp(16px, 4vw, 20px);
font-weight: 600;
color: var(--card-title-color);
margin-bottom: 12px;
line-height: 1.3;
transition: color 0.3s ease;
}
.service-card .card-description {
font-size: clamp(12px, 3vw, 14px);
color: var(--card-text-color);
line-height: 1.6;
margin-bottom: 20px;
opacity: 0.9;
}
.service-card .service-title {
font-size: 20px;
font-weight: 700;
color: var(--card-title-color);
margin-bottom: 12px;
line-height: 1.3;
transition: color 0.3s ease;
}
.service-card:hover .service-title {
color: #667eea;
}
.service-card .service-desc {
font-size: 14.5px;
color: var(--card-text-color);
line-height: 1.7;
margin-bottom: auto;
opacity: 0.9;
flex-grow: 1;
}
.service-card .service-icon {
width: 80px;
height: 80px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
font-size: 36px;
color: white;
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
flex-shrink: 0;
}
.service-card:hover .service-icon {
transform: scale(1.08) rotate(-3deg);
box-shadow: 0 12px 32px rgba(102, 126, 234, 0.45);
}
.service-card .service-link {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px 28px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 12px;
text-decoration: none;
font-weight: 600;
font-size: 15px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
margin-top: 8px;
width: 100%;
text-align: center;
}
.service-card:hover .service-link {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
.service-card .service-link i {
transition: transform 0.3s ease;
}
.service-card .service-link:hover i {
transform: translateX(-2px) translateY(-2px);
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 28px;
align-items: stretch;
margin-top: 24px;
padding: 24px;
max-width: 100%;
}
@media (min-width: 1400px) {
.services-grid {
grid-template-columns: repeat(4, 1fr);
}
}
@media (max-width: 1200px) {
.services-grid {
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
}
@media (max-width: 992px) {
.services-grid {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
padding: 16px;
}
}
@media (max-width: 576px) {
.services-grid {
grid-template-columns: 1fr;
gap: 16px;
padding: 12px;
}
}
.service-card .card-stats {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 16px;
border-top: 1px solid rgba(0, 0, 0, 0.05);
gap: 12px;
}
.service-card .stat-item {
text-align: center;
flex: 1;
padding: 8px;
border-radius: var(--radius-md);
transition: background-color 0.3s ease;
}
.service-card .stat-item:hover {
background-color: rgba(102, 126, 234, 0.05);
}
.service-card .stat-value {
font-size: clamp(16px, 4vw, 18px);
font-weight: 700;
color: var(--card-title-color);
display: block;
margin-bottom: 4px;
}
.service-card .stat-label {
font-size: clamp(10px, 2.5vw, 12px);
color: var(--card-text-light);
}
.multi-value-card {
background: var(--card-accent-gradient);
color: var(--card-text-white);
border-radius: var(--card-radius);
padding: var(--card-padding);
box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
position: relative;
overflow: hidden;
transition: var(--card-transition);
}
.multi-value-card::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 100%;
height: 100%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
animation: float 6s ease-in-out infinite;
pointer-events: none;
}
.multi-value-card:hover {
transform: translateY(-4px);
box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}
.multi-value-card .card-header {
display: flex;
align-items: center;
margin-bottom: 20px;
gap: 16px;
}
.multi-value-card .card-icon {
width: 48px;
height: 48px;
background: rgba(255, 255, 255, 0.2);
border-radius: var(--card-radius-small);
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
backdrop-filter: blur(10px);
transition: transform 0.3s ease;
}
.multi-value-card:hover .card-icon {
transform: scale(1.1);
}
.multi-value-card .card-title {
font-size: clamp(16px, 4vw, 18px);
font-weight: 600;
margin: 0;
flex: 1;
}
.multi-value-card .values-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 16px;
}
.multi-value-card .value-item {
text-align: center;
padding: 12px;
background: rgba(255, 255, 255, 0.1);
border-radius: var(--card-radius-tiny);
backdrop-filter: blur(10px);
transition: var(--transition-normal);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.multi-value-card .value-item:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.multi-value-card .value-number {
font-size: clamp(20px, 5vw, 24px);
font-weight: 700;
display: block;
margin-bottom: 4px;
background: linear-gradient(45deg, #ffffff, #f0f0f0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.multi-value-card .value-label {
font-size: clamp(10px, 2.5vw, 12px);
opacity: 0.9;
}
@keyframes gradientShift {
0%, 100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-20px) rotate(180deg);
}
}
@media (max-width: 1200px) {
.service-card {
padding: var(--card-padding-medium);
}
.service-card .card-icon {
width: 56px;
height: 56px;
font-size: 24px;
}
}
@media (max-width: 768px) {
.service-card {
padding: var(--card-padding-small);
border-radius: var(--card-radius-small);
}
.service-card .card-icon {
width: 48px;
height: 48px;
font-size: 20px;
border-radius: var(--card-radius-small);
}
.multi-value-card {
padding: var(--card-padding-small);
}
.multi-value-card .values-grid {
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
gap: 12px;
}
}
@media (max-width: 480px) {
.service-card {
padding: var(--card-padding-tiny);
border-radius: var(--card-radius-tiny);
}
.service-card .card-icon {
width: 40px;
height: 40px;
font-size: 16px;
border-radius: var(--card-radius-tiny);
}
.service-card .card-stats {
flex-direction: column;
gap: 8px;
}
.service-card .stat-item {
width: 100%;
}
.multi-value-card {
padding: var(--card-padding-tiny);
}
.multi-value-card .card-header {
flex-direction: column;
text-align: center;
gap: 12px;
}
.multi-value-card .values-grid {
grid-template-columns: 1fr 1fr;
gap: 8px;
}
}
@media (prefers-reduced-motion: reduce) {
.service-card,
.multi-value-card,
.service-card .card-icon,
.multi-value-card .card-icon,
.service-card .stat-item,
.multi-value-card .value-item {
animation: none;
transition: none;
}
.service-card:hover,
.multi-value-card:hover {
transform: none;
}
}
@media print {
.service-card,
.multi-value-card {
box-shadow: none;
border: 1px solid #ddd;
break-inside: avoid;
}
.service-card::before,
.service-card::after,
.multi-value-card::before {
display: none;
}
}
.pdf-preview-container {
position: relative;
background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
transition: all 0.3s ease;
}
.pdf-preview-container canvas {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.pdf-preview-container:hover canvas {
transform: scale(1.02);
}
.pdf-loading {
animation: pdfPulse 1.5s ease-in-out infinite;
}
@keyframes pdfPulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
.pdf-loading .fa-spinner {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.document-thumbnail {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.document-thumbnail:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
transform: scale(1.05);
}
.document-thumbnail::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
z-index: 1;
}
.document-thumbnail:hover::before {
opacity: 1;
}
.document-card {
animation: documentFadeIn 0.4s ease-out;
transform-origin: center;
}
@keyframes documentFadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.document-card:hover .document-thumbnail {
z-index: 2;
}
.document-group-header {
animation: groupHeaderSlide 0.5s ease-out;
position: relative;
overflow: hidden;
}
@keyframes groupHeaderSlide {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.document-group-header::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
animation: groupShimmer 3s infinite;
}
@keyframes groupShimmer {
0% { left: -100%; }
50%, 100% { left: 100%; }
}

/* === mobile-card-view.css === */
.tp-mobile-view {
}
.tp-mobile-view table.dataTable {
border-collapse: separate;
border-spacing: 0;
}
.tp-mobile-view table.dataTable thead {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
}
.tp-mobile-view table.dataTable tbody {
display: block;
width: 100%;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
display: block;
width: 100%;
margin-bottom: 16px;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 8px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
transition: all 0.2s ease;
overflow: hidden;
}
body.dark-mode .tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
background: #1f2937;
border-color: #374151;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:hover {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transform: translateY(-2px);
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:focus-within {
outline: 2px solid var(--focus-ring-color, #3b82f6);
outline-offset: 2px;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card.tp-card-active {
background: #f9fafb;
transform: scale(0.98);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
body.dark-mode .tp-mobile-view table.dataTable tbody tr.tp-mobile-card.tp-card-active {
background: #111827;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td {
display: block;
width: 100%;
padding: 0;
border: none;
background: transparent;
}
.tp-card-item {
display: flex;
align-items: flex-start;
padding: 12px 16px;
border-bottom: 1px solid #f3f4f6;
min-height: 44px;
}
body.dark-mode .tp-card-item {
border-bottom-color: #374151;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:last-child .tp-card-item {
border-bottom: none;
}
.tp-card-label {
flex: 0 0 120px;
font-weight: 600;
font-size: 13px;
color: #6b7280;
padding-right: 12px;
line-height: 1.5;
margin-top: 2px;
}
body.dark-mode .tp-card-label {
color: #9ca3af;
}
.tp-card-value {
flex: 1;
font-size: 14px;
color: #111827;
line-height: 1.5;
word-break: break-word;
}
body.dark-mode .tp-card-value {
color: #f3f4f6;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:first-child .tp-card-item {
background: #f9fafb;
padding: 16px;
border-bottom: 2px solid #e5e7eb;
}
body.dark-mode .tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:first-child .tp-card-item {
background: #111827;
border-bottom-color: #4b5563;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:first-child .tp-card-value {
font-size: 16px;
font-weight: 600;
color: #1f2937;
}
body.dark-mode .tp-mobile-view table.dataTable tbody tr.tp-mobile-card td:first-child .tp-card-value {
color: #f9fafb;
}
.tp-card-value .status-badge,
.tp-card-value .badge {
display: inline-block;
padding: 4px 12px;
border-radius: 12px;
font-size: 12px;
font-weight: 500;
}
.tp-card-value button,
.tp-card-value .btn {
min-width: 44px;
min-height: 44px;
padding: 8px 16px;
margin: 4px 0;
}
.tp-card-value a {
color: #3b82f6;
text-decoration: underline;
min-height: 44px;
display: inline-flex;
align-items: center;
}
.tp-card-value a:hover {
color: #2563eb;
}
.tp-card-value a:focus {
outline: 2px solid var(--focus-ring-color, #3b82f6);
outline-offset: 2px;
border-radius: 2px;
}
.tp-mobile-view table.dataTable.processing tbody tr.tp-mobile-card {
opacity: 0.5;
pointer-events: none;
}
.tp-mobile-view .dataTables_empty {
display: block;
padding: 48px 24px;
text-align: center;
color: #6b7280;
font-size: 14px;
}
@keyframes cardFadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
animation: cardFadeIn 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card,
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:hover,
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card.tp-card-active {
animation: none;
transition: none;
transform: none;
}
}
@media (max-width: 767px) {
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
width: 100%;
margin-left: 0;
margin-right: 0;
}
.tp-card-item {
padding: 10px 12px;
}
@media (max-width: 480px) {
.tp-card-item {
flex-direction: column;
align-items: flex-start;
}
.tp-card-label {
flex: 1;
padding-right: 0;
padding-bottom: 4px;
margin-top: 0;
}
.tp-card-value {
padding-left: 0;
}
}
}
@media (min-width: 768px) {
.tp-card-item {
display: contents;
}
.tp-card-label {
display: none;
}
}
.tp-mobile-view .dataTables_paginate {
margin-top: 16px;
text-align: center;
}
.tp-mobile-view .dataTables_paginate .paginate_button {
min-width: 44px;
min-height: 44px;
padding: 8px 12px;
margin: 4px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.tp-mobile-view .dataTables_info {
text-align: center;
padding: 12px;
font-size: 13px;
color: #6b7280;
}
@media (prefers-contrast: high) {
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
border-width: 2px;
border-color: #000000;
}
.tp-card-item {
border-bottom-width: 2px;
}
.tp-card-label {
font-weight: 700;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:focus-within {
outline-width: 3px;
}
}
.tp-card-sr-only {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card:focus-visible {
outline: 3px solid var(--focus-ring-color, #3b82f6);
outline-offset: 3px;
}
.tp-card-value button,
.tp-card-value .btn,
.tp-card-value a,
.tp-card-value input,
.tp-card-value select {
min-width: 44px;
min-height: 44px;
}
@media print {
.tp-mobile-view table.dataTable thead {
position: static;
width: auto;
height: auto;
}
.tp-mobile-view table.dataTable tbody {
display: table-row-group;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card {
display: table-row;
margin: 0;
border: 1px solid #000;
box-shadow: none;
}
.tp-mobile-view table.dataTable tbody tr.tp-mobile-card td {
display: table-cell;
padding: 8px;
border: 1px solid #000;
}
.tp-card-label {
display: none;
}
.tp-card-item {
display: contents;
}
}
