/* Thynk Digital Solution - CRM & HRMS Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --thynk-primary: #D32F2F;
  --thynk-primary-rgb: 211, 47, 47;
  --thynk-primary-dark: #B71C1C;
  --thynk-bg: #F5F5F5;
  --thynk-card-bg: #FFFFFF;
  --thynk-text-dark: #1E1E24;
  --thynk-text-muted: #6C757D;
  --thynk-sidebar-bg: #111115;
  --thynk-sidebar-hover: #1D1D24;
  --thynk-sidebar-active: #2C1B1B;
  --thynk-border-color: #E9ECEF;
  --thynk-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  --thynk-shadow-hover: 0 10px 30px rgba(211, 47, 47, 0.08);
  --transition-speed: 0.25s;
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 70px;
}

/* Global Reset & Base */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--thynk-bg);
  color: var(--thynk-text-dark);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--thynk-text-dark);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #D1D1D1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--thynk-primary);
}

/* App Wrapper Layout */
#app-wrapper {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Authentication Screen */
#login-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #2A080C 0%, #B71C1C 50%, #D32F2F 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#login-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--thynk-primary-dark);
  letter-spacing: -0.5px;
}

.login-logo span {
  color: var(--thynk-text-dark);
}

/* Sidebar Styling */
#sidebar {
  width: var(--sidebar-width);
  height: 100%;
  background-color: var(--thynk-sidebar-bg);
  display: flex;
  flex-direction: column;
  transition: width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  flex-shrink: 0;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

#sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
}

.sidebar-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-brand-logo {
  width: 32px;
  height: 32px;
  background-color: var(--thynk-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  flex-shrink: 0;
}

.sidebar-brand-name {
  transition: opacity var(--transition-speed);
}

#sidebar.collapsed .sidebar-brand-name {
  opacity: 0;
  width: 0;
  pointer-events: none;
}

.sidebar-toggle-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.sidebar-toggle-btn:hover {
  color: #FFFFFF;
  background-color: var(--thynk-sidebar-hover);
}

.sidebar-menu {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 15px 0;
}

.sidebar-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.35);
  padding: 10px 20px 5px 20px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity var(--transition-speed);
}

#sidebar.collapsed .sidebar-category {
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  gap: 15px;
  border-left: 3px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  position: relative;
}

.sidebar-item i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-item span {
  transition: opacity var(--transition-speed);
}

#sidebar.collapsed .sidebar-item span {
  opacity: 0;
  width: 0;
  pointer-events: none;
}

.sidebar-item:hover {
  background-color: var(--thynk-sidebar-hover);
  color: #FFFFFF;
}

.sidebar-item.active {
  background-color: var(--thynk-sidebar-active);
  color: var(--thynk-primary);
  border-left-color: var(--thynk-primary);
  font-weight: 600;
}

.sidebar-item.active i {
  color: var(--thynk-primary);
}

/* Main Container Layout */
#main-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* Topbar Header */
#topbar {
  height: 70px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--thynk-border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 99;
  flex-shrink: 0;
}

.search-bar {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.search-bar input {
  width: 100%;
  padding: 8px 15px 8px 38px;
  border-radius: 30px;
  border: 1px solid var(--thynk-border-color);
  background-color: #F8F9FA;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.search-bar input:focus {
  background-color: #FFFFFF;
  border-color: var(--thynk-primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
  outline: none;
}

.search-bar i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--thynk-text-muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-btn {
  background: none;
  border: none;
  color: var(--thynk-text-dark);
  font-size: 1.15rem;
  cursor: pointer;
  position: relative;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.topbar-btn:hover {
  background-color: #F1F1F1;
}

.topbar-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--thynk-primary);
  border: 1.5px solid #FFFFFF;
}

.user-profile-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 30px;
  transition: background-color 0.2s;
}

.user-profile-menu:hover {
  background-color: #F1F1F1;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--thynk-primary);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
}

.user-name {
  font-weight: 600;
  font-size: 0.88rem;
}

/* Page Workspace Content */
#content-workspace {
  flex-grow: 1;
  padding: 30px;
  overflow-y: auto;
  position: relative;
}

/* Cards & Widgets */
.thynk-card {
  background-color: var(--thynk-card-bg);
  border-radius: 14px;
  box-shadow: var(--thynk-shadow);
  border: 1px solid var(--thynk-border-color);
  padding: 24px;
  margin-bottom: 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.thynk-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--thynk-shadow-hover);
  border-color: rgba(211, 47, 47, 0.15);
}

.kpi-card {
  position: relative;
  overflow: hidden;
}

.kpi-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  transition: background-color 0.2s;
}

.kpi-card:hover::after {
  background-color: var(--thynk-primary);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.kpi-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.kpi-label {
  color: var(--thynk-text-muted);
  font-weight: 500;
  font-size: 0.85rem;
}

/* Custom Status Badges */
.badge-status {
  padding: 6px 12px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid transparent;
}

.badge-active, .badge-running, .badge-paid, .badge-active-status {
  background-color: #E8F5E9;
  color: #2E7D32;
  border-color: #C8E6C9;
}

.badge-pending, .badge-partial, .badge-expiring {
  background-color: #FFF3E0;
  color: #EF6C00;
  border-color: #FFE0B2;
}

.badge-expired, .badge-high, .badge-unpaid, .badge-pending-payment {
  background-color: #FFEBEE;
  color: #C62828;
  border-color: #FFCDD2;
}

.badge-completed, .badge-medium {
  background-color: #E3F2FD;
  color: #1565C0;
  border-color: #BBDEFB;
}

.badge-inactive, .badge-low {
  background-color: #ECEFF1;
  color: #37474F;
  border-color: #CFD8DC;
}

/* Tables Custom styling */
.table-responsive {
  border-radius: 12px;
  border: 1px solid var(--thynk-border-color);
  overflow-x: auto;
}

.thynk-table {
  width: 100%;
  margin-bottom: 0;
  vertical-align: middle;
}

.thynk-table th {
  background-color: #F8F9FA;
  font-weight: 600;
  color: var(--thynk-text-dark);
  font-family: 'Outfit', sans-serif;
  border-bottom: 2px solid var(--thynk-border-color);
  padding: 14px 20px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.thynk-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--thynk-border-color);
  color: #495057;
  font-size: 0.86rem;
}

.thynk-table tr:last-child td {
  border-bottom: none;
}

.thynk-table tr:hover td {
  background-color: #FAFAFA;
}

/* DataTables Styling Overrides */
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.dataTables_wrapper .dataTables_filter input {
  border: 1px solid var(--thynk-border-color);
  border-radius: 20px;
  padding: 6px 16px;
  outline: none;
  font-size: 0.85rem;
  color: var(--thynk-text-dark);
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--thynk-primary);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--thynk-border-color);
  border-radius: 8px;
  padding: 5px 24px 5px 12px;
  outline: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--thynk-text-dark);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23495057' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0 6px;
  cursor: pointer;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dataTables_wrapper .dataTables_length select:focus {
  border-color: var(--thynk-primary);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 4px !important;
  padding: 4px 10px !important;
  margin-left: 4px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--thynk-primary) !important;
  border-color: var(--thynk-primary) !important;
  color: white !important;
}

/* Kanban Board Styling */
.kanban-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 15px;
  height: calc(100vh - 220px);
  min-height: 500px;
}

.kanban-column {
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  background-color: #EBECF0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  max-height: 100%;
}

.kanban-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.kanban-count {
  background-color: #DFE1E6;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5E6C84;
}

.kanban-cards-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kanban-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: grab;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  border-color: rgba(211, 47, 47, 0.15);
}

.kanban-card.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.kanban-card-title {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--thynk-text-dark);
}

.kanban-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--thynk-text-muted);
}

/* Activity Timeline */
.timeline-wrapper {
  position: relative;
  padding-left: 30px;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--thynk-border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: -30px;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid var(--thynk-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--thynk-primary);
  z-index: 1;
}

.timeline-time {
  font-size: 0.78rem;
  color: var(--thynk-text-muted);
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: #495057;
}

/* Floating Action Button (FAB) */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.fab-btn {
  width: 56px;
  height: 56px;
  background-color: var(--thynk-primary);
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background-color 0.2s, transform 0.2s;
}

.fab-btn:hover {
  background-color: var(--thynk-primary-dark);
  transform: scale(1.05);
}

/* CRM Client Profile Styles */
.crm-profile-header {
  border-bottom: 1px solid var(--thynk-border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.crm-avatar {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background-color: rgba(211, 47, 47, 0.1);
  color: var(--thynk-primary);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
}

.crm-nav-tabs {
  border-bottom: 1px solid var(--thynk-border-color);
  gap: 15px;
}

.crm-nav-tabs .nav-link {
  border: none;
  color: var(--thynk-text-muted);
  font-weight: 600;
  padding: 10px 5px;
  position: relative;
  background: none;
  font-family: 'Outfit', sans-serif;
}

.crm-nav-tabs .nav-link:hover {
  color: var(--thynk-text-dark);
}

.crm-nav-tabs .nav-link.active {
  color: var(--thynk-primary);
  background: none;
}

.crm-nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--thynk-primary);
}

/* Note pinboards */
.note-card {
  background-color: #FFFDE7;
  border-left: 4px solid #FBC02D;
}

.note-card.pinned {
  background-color: #FFF9C4;
  border-left-color: var(--thynk-primary);
}

.note-pin-btn {
  color: var(--thynk-text-muted);
  cursor: pointer;
  transition: color 0.15s;
}

.note-pin-btn:hover, .note-card.pinned .note-pin-btn {
  color: var(--thynk-primary);
}

/* Custom Calendar Adjustments */
.fc .fc-toolbar-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.fc .fc-button-primary {
  background-color: var(--thynk-primary) !important;
  border-color: var(--thynk-primary) !important;
}

.fc .fc-button-primary:hover {
  background-color: var(--thynk-primary-dark) !important;
  border-color: var(--thynk-primary-dark) !important;
}

.fc .fc-button-primary:disabled {
  background-color: #E0E0E0 !important;
  border-color: #E0E0E0 !important;
  color: #9E9E9E !important;
}

.fc-daygrid-event {
  border-radius: 4px !important;
  padding: 2px 4px !important;
  font-size: 0.78rem !important;
}

/* Fullscreen print media rules for invoices */
@media print {
  body * {
    visibility: hidden;
  }
  #invoice-print-area, #invoice-print-area * {
    visibility: visible;
  }
  #invoice-print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #sidebar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--sidebar-width);
    transform: translateX(-100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
  }

  #sidebar.show-mobile {
    transform: translateX(0);
  }

  #sidebar.collapsed {
    transform: translateX(-100%);
  }

  #main-container {
    width: 100vw;
  }
}

/* Custom Nav Pills styling */
.nav-pills .nav-link {
  color: var(--thynk-text-dark);
  background-color: var(--thynk-card-bg);
  transition: all var(--transition-speed) ease;
}
.nav-pills .nav-link:hover {
  color: var(--thynk-primary);
  background-color: rgba(211, 47, 47, 0.05);
}
.nav-pills .nav-link.active {
  color: #FFFFFF !important;
  background-color: var(--thynk-primary) !important;
  border-color: var(--thynk-primary) !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
}

/* Search Dropdown Hover styling */
.client-search-item {
  transition: background-color 0.15s ease;
}
.client-search-item:hover {
  background-color: rgba(211, 47, 47, 0.08) !important;
}

/* CRM Leads Action Column styling */
.leads-action-cell {
  vertical-align: middle !important;
}

.leads-action-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.leads-action-group .btn {
  width: 135px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

/* CRM Leads Refinement Styles */
.leads-kpi-container {
  margin-bottom: 24px;
}

.leads-kpi-card {
  border-left: 4px solid transparent;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.leads-kpi-card.kpi-total { border-left-color: var(--thynk-primary); }
.leads-kpi-card.kpi-value { border-left-color: #2E7D32; }
.leads-kpi-card.kpi-hot { border-left-color: #C62828; }
.leads-kpi-card.kpi-warm { border-left-color: #EF6C00; }

.company-avatar-initial {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  border-radius: 8px;
  background: rgba(211, 47, 47, 0.08);
  color: var(--thynk-primary);
  flex-shrink: 0;
}

.employee-avatar-circle {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.source-badge {
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.leads-priority-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leads-priority-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.priority-hot {
  background-color: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

.priority-warm {
  background-color: #FFF3E0;
  color: #EF6C00;
  border: 1px solid #FFE0B2;
}

.priority-cold {
  background-color: #E0F2F1;
  color: #00796B;
  border: 1px solid #B2DFDB;
}

.priority-default {
  background-color: #F5F5F5;
  color: #616161;
  border: 1px solid #E0E0E0;
}

/* Compact horizontal table action group */
.table-action-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.table-action-group .btn {
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 0 10px !important;
  border-radius: 6px !important;
  gap: 4px !important;
  white-space: nowrap !important;
  width: auto !important;
}

.table-action-group .btn-profile,
.table-action-group .btn-service {
  width: 92px !important;
}

.table-action-group .btn-icon-only {
  width: 30px !important;
  padding: 0 !important;
}

/* Custom nowrap style */
.thynk-nowrap {
  white-space: nowrap !important;
}


