@import url(https://fonts.googleapis.com/css?family=Montserrat);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap);
.swal-popup-custom {
  border: 1px solid #0000000d !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 40px #00000026 !important;
}

.swal-title-custom {
  color: #2c3e50 !important;
  margin-bottom: 16px !important;
  font-size: 24px !important;
  font-weight: 600 !important;
}

.swal-content-custom {
  color: #34495e !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.swal-confirm-button-custom {
  background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all .3s !important;
  box-shadow: 0 4px 12px #e74c3c4d !important;
}

.swal-confirm-button-custom:hover {
  background: linear-gradient(135deg, #c0392b, #a93226) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px #e74c3c66 !important;
}

.swal-cancel-button-custom {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all .3s !important;
  box-shadow: 0 4px 12px #95a5a64d !important;
}

.swal-cancel-button-custom:hover {
  background: linear-gradient(135deg, #7f8c8d, #6c7b7d) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px #95a5a666 !important;
}

.swal2-show {
  animation: .3s ease-out swal2-show !important;
}

@keyframes swal2-show {
  0% {
    opacity: 0;
    transform: scale(.8)translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

.swal-content-custom div {
  font-family: Roboto, Helvetica, Arial, sans-serif !important;
}

.swal2-popup-enhanced {
  border-radius: 12px !important;
  width: 600px !important;
  max-width: 90vw !important;
  padding: 2rem !important;
  box-shadow: 0 10px 40px #0003 !important;
}

.swal2-html-container-enhanced {
  text-align: left !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.swal2-html-container-enhanced > div {
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.swal2-confirm-enhanced {
  background-color: #dc3545 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all .3s !important;
  box-shadow: 0 4px 12px #dc35454d !important;
}

.swal2-confirm-enhanced:hover {
  background-color: #c82333 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px #dc354566 !important;
}

.swal2-cancel-enhanced {
  background-color: #6c757d !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all .3s !important;
  box-shadow: 0 4px 12px #6c757d4d !important;
}

.swal2-cancel-enhanced:hover {
  background-color: #5a6268 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px #6c757d66 !important;
}

.swal2-textarea {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 480px) {
  .swal-popup-custom {
    width: 90% !important;
    margin: 0 auto !important;
  }

  .swal2-popup-enhanced {
    width: 90vw !important;
    padding: 1.5rem !important;
  }

  .swal-title-custom {
    font-size: 20px !important;
  }

  .swal-content-custom {
    font-size: 14px !important;
  }

  .swal-confirm-button-custom, .swal-cancel-button-custom {
    padding: 10px 20px !important;
    font-size: 12px !important;
  }
}

.role-rights-card {
  border: 1px solid #0000000d;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.role-rights-card:hover {
  border-color: #0d6efd33;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px #00000026;
}

.nav-tabs .nav-link {
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.nav-tabs .nav-link:before {
  content: "";
  background: linear-gradient(90deg, #0000, #fff3, #0000);
  width: 100%;
  height: 100%;
  transition: left .5s;
  position: absolute;
  top: 0;
  left: -100%;
}

.nav-tabs .nav-link:hover:before {
  left: 100%;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-color: #0d6efd;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  border: none;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.btn-primary:before {
  content: "";
  background: linear-gradient(90deg, #0000, #fff3, #0000);
  width: 100%;
  height: 100%;
  transition: left .5s;
  position: absolute;
  top: 0;
  left: -100%;
}

.btn-primary:hover:before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px #0d6efd4d;
}

.table-hover tbody tr {
  transition: all .2s;
}

.table-hover tbody tr:hover {
  background-color: #0d6efd0d;
  transform: scale(1.01);
}

.badge {
  letter-spacing: .5px;
  font-weight: 500;
  transition: all .2s;
}

.badge:hover {
  transform: scale(1.05);
}

.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 40px #00000026;
}

.modal-header {
  border-bottom: 1px solid #0000001a;
  border-radius: 16px 16px 0 0;
}

.modal-footer {
  border-top: 1px solid #0000001a;
  border-radius: 0 0 16px 16px;
}

.form-control:focus {
  border-color: #0d6efd;
  transform: scale(1.02);
  box-shadow: 0 0 0 .2rem #0d6efd40;
}

.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 .2rem #0d6efd40;
}

.pagination .page-link {
  color: #6c757d;
  border: none;
  border-radius: 8px;
  margin: 0 2px;
  transition: all .2s;
}

.pagination .page-link:hover {
  color: #0d6efd;
  background-color: #e9ecef;
  transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  border: none;
  transform: translateY(-1px);
}

.alert {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px #0000001a;
}

.spinner-border {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.dropdown-menu {
  border: none;
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 8px 24px #00000026;
}

.dropdown-item {
  border-radius: 8px;
  margin: 2px 8px;
  transition: all .2s;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  transform: translateX(4px);
}

.input-group .form-control:focus {
  z-index: 3;
}

.input-group .btn {
  transition: all .2s;
}

.input-group .btn:hover {
  transform: scale(1.05);
}

.card-body {
  transition: all .3s;
}

.stats-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 1px solid #0000000d;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.stats-card:hover {
  transform: translateY(-8px)scale(1.02);
  box-shadow: 0 16px 32px #0000001a;
}

.lucide {
  transition: all .2s;
}

.lucide:hover {
  transform: scale(1.1);
}

.loading-overlay {
  position: relative;
}

.loading-overlay:after {
  content: "";
  z-index: 10;
  background: #fffc;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

@media (max-width: 768px) {
  .role-rights-card:hover, .table-hover tbody tr:hover, .btn-primary:hover {
    transform: none;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.fade-in {
  animation: .5s ease-in fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: .5s ease-out slideInLeft;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: .5s ease-out slideInRight;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pulse {
  animation: 2s infinite pulse;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.gradient-text {
  background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.glass-effect {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #ffffff1a;
  border: 1px solid #fff3;
}

.form-control:focus, .form-select:focus, .btn:focus {
  outline: none;
  box-shadow: 0 0 0 .2rem #0d6efd40;
}

.shadow-sm {
  box-shadow: 0 2px 4px #0000001a !important;
}

.shadow {
  box-shadow: 0 4px 8px #00000026 !important;
}

.shadow-lg {
  box-shadow: 0 8px 16px #0003 !important;
}

.sidebar-container {
  position: relative;
}

.sidebar-menu {
  scrollbar-width: thin;
  scrollbar-color: #a583434d transparent;
}

.sidebar-menu::-webkit-scrollbar {
  width: 6px;
}

.sidebar-menu::-webkit-scrollbar-track {
  background: none;
}

.sidebar-menu::-webkit-scrollbar-thumb {
  background-color: #a583434d;
  border-radius: 3px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
  background-color: #a5834380;
}

.sidebar-menu-item {
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.sidebar-menu-item:hover {
  transform: translateX(4px);
}

.sidebar-category-header {
  font-weight: 500;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.sidebar-category-header:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px #a5834326;
}

.sidebar-submenu {
  animation: .3s ease-out slideDown;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar-submenu-item {
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}

.sidebar-submenu-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px #a5834340;
}

.sidebar-submenu-item:before {
  content: "";
  background-color: #a583434d;
  border-radius: 0 2px 2px 0;
  width: 3px;
  height: 24px;
  transition: all .3s;
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
}

.sidebar-submenu-item:hover:before {
  background-color: #a5834399;
  height: 28px;
}

.sidebar-container .MuiListItem-root {
  margin-bottom: 4px;
}

.sidebar-container .MuiListItemButton-root {
  border-radius: 8px;
}

.sidebar-container .Mui-selected {
  background-color: #a5834326 !important;
  border-left: 3px solid #a58343 !important;
}

.sidebar-container .Mui-selected:hover {
  background-color: #a5834333 !important;
}

@media (max-width: 768px) {
  .sidebar-container {
    width: 100%;
  }

  .sidebar-menu {
    padding: 8px;
  }
}

[data-theme="dark"] .sidebar-submenu {
  background-color: #ffffff05;
}

[data-theme="dark"] .sidebar-menu-item:hover, [data-theme="dark"] .sidebar-category-header:hover {
  background-color: #ffffff14;
}

.MuiCollapse-root {
  transition: height .3s cubic-bezier(.4, 0, .2, 1);
}

.sidebar-container .MuiListItemIcon-root {
  justify-content: center;
  align-items: center;
  min-width: 36px;
  display: flex;
}

.sidebar-container .MuiListItemText-primary {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.lead-management-wrapper {
  min-height: 100vh;
  padding: 32px 20px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
}

.lead-management-container {
  background: #fff;
  border-radius: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px;
  box-shadow: 0 4px 20px #00000014;
}

.lead-title {
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 2.5rem;
  font-weight: 700;
}

.lead-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  margin-bottom: 1rem;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  padding: 1.25rem !important;
}

.lead-item:hover {
  background: #fff;
  border-color: #f59e0b66;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px #f59e0b40, 0 8px 16px #1e40af26;
}

.lead-avatar {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  box-shadow: 0 4px 12px #00000026;
}

.lead-details {
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .5rem;
  display: flex;
}

.lead-detail-item {
  color: #6c757d;
  align-items: center;
  font-size: .9rem;
  display: flex;
}

.lead-detail-item i {
  color: #1e40af;
}

.status-badge, .type-badge {
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .75rem;
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -.02em;
  font-weight: 600;
}

.text-muted {
  color: #6b7280 !important;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px #00000014;
}

.card-body {
  padding: 1.5rem;
}

.list-group-item {
  border: none;
  padding: 0;
}

.input-group-text {
  color: #6b7280;
  background: #f8fafc;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px 0 0 12px;
}

.form-control, .form-select {
  color: #374151;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.form-control:focus, .form-select:focus {
  border-color: #f59e0b;
  outline: none;
  box-shadow: 0 0 0 4px #f59e0b1f, 0 2px 8px #00000014;
}

.btn {
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #f59e0b59;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  box-shadow: 0 2px 8px #f59e0b40;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.pagination {
  margin-bottom: 0;
}

.page-link {
  color: #1e40af;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  margin: 0 2px;
  font-weight: 500;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.page-link:hover {
  color: #f59e0b;
  background: #f9fafb;
  border-color: #f59e0b;
  transform: translateY(-2px);
}

.page-item.active .page-link {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #f59e0b;
  box-shadow: 0 2px 8px #f59e0b40;
}

.page-item.disabled .page-link {
  color: #6c757d;
  cursor: not-allowed;
  opacity: .5;
}

@media (max-width: 768px) {
  .lead-title {
    font-size: 2rem;
  }

  .lead-details {
    flex-direction: column;
    gap: .5rem;
  }

  .lead-item {
    padding: 1rem !important;
  }
}

:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --success: #06d6a0;
  --warning: #ffd166;
  --danger: #ef476f;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --border-radius: 12px;
  --shadow: 0 10px 30px #00000014;
  --transition: all .3s ease;
}

.ticket-popup-overlay {
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  transition: var(--transition);
  background-color: #00000080;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999 !important;
}

.ticket-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ticket-popup {
  border-radius: var(--border-radius);
  opacity: 0;
  width: 90%;
  max-width: 900px;
  transition: var(--transition);
  background-color: #fff;
  flex-direction: column;
  max-height: 90vh;
  display: flex;
  overflow: hidden;
  transform: scale(.9);
  box-shadow: 0 20px 60px #0003;
}

.ticket-popup-overlay.active .ticket-popup {
  opacity: 1;
  transform: scale(1);
}

.ticket-popup-header {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  display: flex;
}

.ticket-id-popup {
  color: #fff;
  background: #4361ee1a;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 1em;
  font-weight: 600;
}

.status-badge {
  background: #fff3;
  border-radius: 50px;
  margin-top: 8px;
  padding: 6px 15px;
  font-size: .9rem;
  font-weight: 600;
}

.close-btn {
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 28px;
  line-height: 1;
  display: flex;
}

.close-btn:hover {
  background: #fff3;
}

.ticket-popup-body {
  flex: 1;
  padding: 0;
  overflow-y: auto;
}

.ticket-popup-content {
  padding: 30px;
}

.section {
  margin-bottom: 30px;
}

.section-title {
  color: var(--dark);
  border-bottom: 2px solid var(--gray-light);
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
}

.section-title i {
  color: var(--primary);
}

.details-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  display: grid;
}

.detail-item {
  flex-direction: column;
  display: flex;
}

.detail-label {
  color: var(--gray);
  margin-bottom: 8px;
  font-size: .9rem;
  font-weight: 600;
}

.detail-value {
  color: var(--dark);
  font-weight: 500;
}

.status-badge-text.status-resolved, .status-badge-text.status-open, .status-badge-text.status-in-progress, .status-badge-text.status-closed, .priority-badge-text.priority-high, .priority-badge-text.priority-medium, .priority-badge-text.priority-low {
  border: none;
  padding: 0;
  display: inline-block;
  background: none !important;
}

.resolution-text {
  line-height: 1.6;
  color: var(--dark) !important;
}

.no-comments-message {
  text-align: center;
  color: var(--gray);
  padding: 20px;
  font-size: .95rem;
}

.description-box, .comments-box {
  border-left: 4px solid var(--primary);
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
}

.description-text {
  line-height: 1.6;
  color: var(--dark) !important;
}

.workflow-history {
  border-left: 4px solid var(--success);
  background-color: var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
}

.history-item {
  border-bottom: 1px solid var(--gray-light);
  background: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  display: flex;
}

.history-item:last-child {
  border-bottom: none;
}

.history-action {
  color: var(--dark);
  align-items: center;
  gap: 10px;
  font-weight: 600;
  display: flex;
}

.history-action i {
  color: var(--primary);
}

.history-date {
  color: var(--gray);
  font-size: .9rem;
}

.add-comment {
  margin-top: 20px;
}

.ticket-popup textarea {
  border: 1px solid var(--gray-light);
  resize: vertical;
  width: 100%;
  min-height: 120px;
  transition: var(--transition);
  color: var(--dark);
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  font-family: inherit;
}

.ticket-popup textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px #4361ee1a;
}

.ticket-popup textarea::placeholder {
  color: var(--gray);
}

.add-comment-btn {
  background-color: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 12px 25px;
  font-weight: 600;
  display: inline-flex;
}

.add-comment-btn:hover:not(:disabled) {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.add-comment-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.priority-medium {
  color: var(--warning);
  font-weight: 600;
}

.priority-high {
  color: var(--danger);
  font-weight: 600;
}

.priority-low, .status-resolved {
  color: var(--success);
  font-weight: 600;
}

.status-open {
  color: var(--primary);
  font-weight: 600;
}

.status-in-progress {
  color: var(--warning);
  font-weight: 600;
}

.status-closed {
  color: var(--gray);
  font-weight: 600;
}

.resolution-box {
  border-left: 4px solid var(--success);
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
}

.comment-item {
  border-left: 3px solid var(--primary);
  transition: var(--transition);
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 15px;
}

.comment-item:hover {
  box-shadow: 0 2px 8px #4361ee1a;
}

.comment-author {
  color: var(--dark);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  display: flex;
}

.comment-author strong {
  color: var(--dark);
  font-weight: 600;
}

.comment-date {
  color: var(--gray);
  font-size: .85rem;
}

.comment-text {
  color: var(--dark);
  margin-top: 8px;
  line-height: 1.6;
}

.ticket-popup-footer {
  border-top: 1px solid var(--gray-light);
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 30px;
  display: flex;
}

.btn-action {
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  box-shadow: 0 4px 15px #4361ee4d;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #4361ee66;
}

.btn-action.btn-secondary {
  background: var(--gray);
  box-shadow: 0 4px 15px #6c757d4d;
}

.btn-action.btn-secondary:hover {
  background: #5a6268;
}

.btn-action.btn-success {
  background: var(--success);
  box-shadow: 0 4px 15px #06d6a04d;
}

.btn-action.btn-success:hover {
  background: #05c18f;
}

.btn-action.btn-gold {
  background: var(--warning);
  color: var(--dark);
  box-shadow: 0 4px 15px #ffd1664d;
}

.btn-action.btn-gold:hover {
  background: #ffc94d;
}

.btn-action:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.btn-action:disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px #4361ee4d;
}

.dialog-overlay {
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  transition: var(--transition);
  background-color: #00000080;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000 !important;
}

.dialog-overlay.active {
  opacity: 1;
  visibility: visible;
}

.dialog {
  border-radius: var(--border-radius);
  opacity: 0;
  width: 90%;
  max-width: 600px;
  transition: var(--transition);
  background-color: #fff;
  overflow: hidden;
  transform: scale(.9);
  box-shadow: 0 20px 60px #0003;
}

.dialog-overlay.active .dialog {
  opacity: 1;
  transform: scale(1);
}

.dialog-header {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  display: flex;
}

.dialog-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.dialog-body {
  padding: 25px;
}

.dialog-footer {
  border-top: 1px solid var(--gray-light);
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 25px;
  display: flex;
}

.form-label {
  color: var(--dark);
  margin-bottom: 8px;
  font-size: .95rem;
  font-weight: 600;
  display: block;
}

.form-control {
  border: 1px solid var(--gray-light);
  width: 100%;
  transition: var(--transition);
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px #4361ee1a;
}

.alert-info {
  border: 1px solid #4361ee33;
  border-left: 4px solid var(--primary);
  color: var(--dark);
  background-color: #4361ee1a;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
}

.form-switch {
  align-items: center;
  gap: 10px;
  display: flex;
}

.form-switch input[type="checkbox"] {
  cursor: pointer;
  width: 50px;
  height: 26px;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border {
  vertical-align: text-bottom;
  border: .25em solid;
  border-right-color: #0000;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  animation: .75s linear infinite spinner-border;
  display: inline-block;
}

.spinner-border-sm {
  border-width: .2em;
  width: 1rem;
  height: 1rem;
}

@media (max-width: 768px) {
  .ticket-popup-content {
    padding: 20px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .ticket-popup-footer {
    flex-direction: column;
  }

  .btn-action {
    justify-content: center;
    width: 100%;
  }

  .ticket-id {
    font-size: 1.2rem;
  }
}

:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #6c757d;
  --success: #38b000;
  --warning: #f59e0b;
  --danger: #e63946;
  --light: #f8f9fa;
  --dark: #212529;
  --brand-gold: #a58343;
  --brand-gold-light: #d4af37;
  --brand-navy: #132d50;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px #0000001f;
  --transition: all .3s ease;
}

.ticket-container {
  min-height: 100vh;
  color: var(--gray-800);
  background-color: #d5dde7;
  padding: 1rem 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-header {
  color: var(--brand-navy);
  margin-bottom: .5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.sub-text {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-size: .95rem;
  font-weight: 500;
}

.stats-card {
  border-radius: var(--border-radius);
  transition: var(--transition);
  border-left: 4px solid var(--brand-gold);
  background: #fff;
  border: 1px solid #a5834333;
  height: 100%;
  padding: 1.5rem;
  box-shadow: 0 4px 15px #00000026;
}

.stats-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px #0003;
}

.stats-icon {
  border: 2px solid;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  box-shadow: 0 2px 8px #00000026;
}

.stats-icon i, .stats-icon svg {
  color: inherit;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  font-weight: 700;
}

.stats-icon svg {
  display: block;
}

.stats-icon.open {
  background-color: var(--warning);
  color: #fff;
  border-color: var(--warning);
}

.stats-icon.resolved {
  background-color: var(--success);
  color: #fff;
  border-color: var(--success);
}

.stats-icon.completed {
  background-color: var(--brand-gold);
  color: #fff;
  border-color: var(--brand-gold);
}

.stats-number {
  color: var(--gray-800);
  margin-bottom: .25rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.stats-label {
  color: var(--gray-600);
  font-size: .875rem;
  font-weight: 500;
}

.filter-bar {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background: #fff;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  display: flex;
}

.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-box input {
  border: 2px solid var(--gray-400);
  width: 100%;
  transition: var(--transition);
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px 10px 42px;
  font-size: .9rem;
  font-weight: 500;
}

.search-box input:focus {
  border-color: var(--brand-gold);
  outline: none;
  box-shadow: 0 0 0 3px #a5834333;
}

.search-box i {
  color: var(--brand-gold);
  z-index: 1;
  font-size: 1rem;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}

.filter-select {
  border: 2px solid var(--gray-400);
  color: var(--gray-700);
  transition: var(--transition);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27%3E%3Cpath fill=%27%23A58343%27 d=%27M6 9L1 4h10z%27/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
  border-radius: 8px;
  padding: 10px 32px 10px 12px;
  font-size: .9rem;
  font-weight: 600;
}

.filter-select:focus {
  border-color: var(--brand-gold);
  outline: none;
  box-shadow: 0 0 0 3px #a5834333;
}

.filter-select:hover {
  border-color: var(--brand-gold);
}

.nav-tabs {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background: #fff;
  border: none;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: .5rem;
  display: flex;
}

.nav-tabs .nav-link {
  color: var(--gray-700);
  transition: var(--transition);
  cursor: pointer;
  background: #a583430d;
  border: 2px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 700;
  display: flex;
}

.nav-tabs .nav-link i {
  color: var(--gray-700);
  font-size: 1.1rem;
  font-weight: 600;
}

.nav-tabs .nav-link.active {
  background-color: var(--brand-gold);
  color: var(--gray-900);
  border-color: var(--brand-gold);
  font-weight: 700;
  box-shadow: 0 4px 12px #a5834380;
}

.nav-tabs .nav-link.active i {
  color: var(--gray-900);
}

.nav-tabs .nav-link:hover:not(.active) {
  color: var(--brand-gold);
  background-color: #a5834326;
  border-color: #a583434d;
}

.nav-tabs .nav-link:hover:not(.active) i {
  color: var(--brand-gold);
}

.ticket-card {
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: #fff;
  border-left: 4px solid #0000;
  margin-bottom: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px #0000000a;
}

.ticket-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px #00000014;
}

.ticket-card.priority-high {
  border-left-color: var(--danger);
}

.ticket-card.priority-medium {
  border-left-color: var(--warning);
}

.ticket-card.priority-low {
  border-left-color: var(--success);
}

.ticket-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .75rem;
  display: flex;
}

.ticket-title {
  color: var(--gray-800);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  margin-right: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  overflow: hidden;
}

.ticket-id {
  color: var(--primary);
  background: #4361ee1a;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: Courier New, monospace;
  font-size: .9em;
  font-weight: 600;
}

.ticket-description {
  color: var(--gray-600);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: .9rem;
  display: flex;
}

.ticket-footer {
  color: var(--gray-600);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  display: flex;
}

.ticket-meta {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.ticket-status {
  border: none;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .8rem;
  font-weight: 500;
}

.status-open {
  color: var(--warning);
  background-color: #ff9e001a;
}

.status-resolved {
  color: var(--success);
  background-color: #38b0001a;
}

.status-completed {
  color: var(--primary);
  background-color: #4361ee1a;
}

.ticket-priority {
  border: none;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .8rem;
  font-weight: 500;
}

.priority-high {
  color: var(--danger);
  background-color: #e639461a;
}

.priority-medium {
  color: var(--warning);
  background-color: #ff9e001a;
}

.priority-low {
  color: var(--success);
  background-color: #38b0001a;
}

.ticket-date {
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  display: flex;
}

.view-btn {
  background-color: var(--brand-gold);
  color: #fff;
  border: 2px solid var(--brand-gold);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  box-shadow: 0 3px 10px #a5834366;
}

.view-btn i {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.view-btn:hover {
  background-color: var(--brand-gold-light);
  border-color: var(--brand-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #a5834380;
}

.view-btn:hover i {
  color: #fff;
}

.view-btn:disabled {
  background-color: var(--gray-400);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.refresh-btn {
  background-color: var(--brand-navy);
  color: #fff;
  border: 2px solid var(--brand-navy);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  box-shadow: 0 3px 10px #132d5066;
}

.refresh-btn i {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.refresh-btn:hover:not(:disabled) {
  background-color: var(--brand-gold);
  color: #fff;
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #a5834380;
}

.refresh-btn:hover:not(:disabled) i {
  color: #fff;
}

.refresh-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ticket-actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.btn-brand-success {
  background-color: var(--success);
  color: #fff;
  border: 2px solid var(--success);
  transition: var(--transition);
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  box-shadow: 0 3px 8px #38b00066;
}

.btn-brand-success i {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.btn-brand-success:hover {
  background-color: #2d8c00;
  border-color: #2d8c00;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px #38b00080;
}

.btn-brand-success:hover i {
  color: #fff;
}

.btn-brand-gold {
  background-color: var(--brand-gold);
  color: #fff;
  border: 2px solid var(--brand-gold);
  transition: var(--transition);
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  box-shadow: 0 3px 8px #a5834366;
}

.btn-brand-gold i {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.btn-brand-gold:hover {
  background-color: var(--brand-gold-light);
  border-color: var(--brand-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px #a5834380;
}

.btn-brand-gold:hover i {
  color: #fff;
}

.empty-state {
  text-align: center;
  color: var(--gray-500);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background: #fff;
  padding: 3rem 1rem;
}

.empty-state-icon {
  opacity: .5;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.empty-state h5 {
  color: var(--gray-600);
  margin-bottom: .5rem;
}

.empty-state p {
  color: var(--gray-500);
  margin-bottom: 0;
}

.notification-container {
  z-index: 9999;
  min-width: 300px;
  position: fixed;
  top: 20px;
  right: 20px;
}

@media (max-width: 768px) {
  .dashboard-container {
    padding: 0 10px;
  }

  .ticket-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ticket-header {
    flex-direction: column;
    gap: 10px;
  }

  .ticket-title {
    white-space: normal;
    text-overflow: clip;
    margin-right: 0;
    overflow: visible;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 100%;
  }

  .nav-tabs {
    flex-direction: column;
  }

  .nav-tabs .nav-link {
    justify-content: center;
  }

  .ticket-actions {
    justify-content: flex-start;
  }

  .stats-card {
    padding: 1rem;
  }

  .stats-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .page-header {
    font-size: 1.5rem;
  }

  .ticket-card {
    padding: 1rem;
  }

  .ticket-header {
    flex-direction: column;
    align-items: stretch;
  }

  .view-btn {
    justify-content: center;
    width: 100%;
  }

  .ticket-meta {
    justify-content: flex-start;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.fa-spin {
  animation: 1s linear infinite spin;
}

.fas, .far, .fab {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.fa-solid, .fa-regular, .fa-brands {
  font-family: "Font Awesome 6 Free";
}

.bi:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bi-eye:before {
  content: "";
}

.bi-arrow-clockwise:before {
  content: "";
}

.bi-inbox:before {
  content: "";
}

.bi-check-circle:before, .bi-check-circle-fill:before {
  content: "";
}

.bi-info-circle:before {
  content: "";
}

.bi-person:before {
  content: "";
}

.bi-calendar:before {
  content: "";
}

.bi-briefcase:before {
  content: "";
}

.tab-nav-custom {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  background: #fff;
  border: 1px solid #a5834333;
  border-bottom: none;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding: .5rem;
  display: flex;
  box-shadow: 0 4px 15px #00000026;
}

.tab-nav-custom .nav-link {
  color: var(--gray-700);
  transition: var(--transition);
  cursor: pointer;
  background: #a583430d;
  border: 2px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 700;
  display: flex;
}

.tab-nav-custom .nav-link i {
  color: var(--gray-700);
  font-size: 1.1rem;
  font-weight: 600;
}

.tab-nav-custom .nav-link.active {
  background-color: var(--brand-gold);
  color: var(--gray-900);
  border-color: var(--brand-gold);
  font-weight: 700;
  box-shadow: 0 4px 12px #a5834380;
}

.tab-nav-custom .nav-link.active i {
  color: var(--gray-900);
}

.tab-nav-custom .nav-link:hover:not(.active) {
  color: var(--brand-gold);
  background-color: #a5834326;
  border-color: #a583434d;
}

.tab-nav-custom .nav-link:hover:not(.active) i {
  color: var(--brand-gold);
}

.btn-outline-primary {
  color: var(--brand-gold);
  border: 2px solid var(--brand-gold);
  transition: var(--transition);
  background-color: #0000;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 700;
  display: inline-flex;
  box-shadow: 0 2px 6px #a5834333;
}

.btn-outline-primary i {
  color: var(--brand-gold);
  font-size: 1rem;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background-color: var(--brand-gold);
  color: #fff;
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #a5834366;
}

.btn-outline-primary:hover i {
  color: #fff;
}

.ticket-description i {
  color: var(--brand-gold);
  font-size: 1rem;
  font-weight: 600;
}

.ticket-date i {
  color: var(--brand-gold);
  font-size: .9rem;
  font-weight: 600;
}

.status-completed {
  color: var(--brand-gold);
  background-color: #a5834326;
  border: 1px solid #a583434d;
}

.section-title {
  color: var(--brand-navy);
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
}

.spinner-border.text-primary {
  color: var(--brand-gold) !important;
}

.ticket-card {
  border: 1px solid #a5834326;
  box-shadow: 0 4px 15px #0000001f;
}

.ticket-card:hover {
  border-color: var(--brand-gold);
}

.filter-bar, .nav-tabs {
  border: 1px solid #a5834333;
  box-shadow: 0 4px 15px #00000026;
}

.status-open, .status-resolved {
  border: 1px solid;
}

.status-open {
  background-color: #f59e0b26;
  border-color: #f59e0b4d;
}

.status-resolved {
  background-color: #38b00026;
  border-color: #38b0004d;
}

.priority-high, .priority-medium, .priority-low {
  border: 1px solid;
}

.priority-high {
  background-color: #e6394626;
  border-color: #e639464d;
}

.priority-medium {
  background-color: #f59e0b26;
  border-color: #f59e0b4d;
}

.priority-low {
  background-color: #38b00026;
  border-color: #38b0004d;
}

.pin-entry-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.pin-entry-card {
  background: #fff;
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

.pin-icon-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  display: inline-flex;
  box-shadow: 0 10px 30px #667eea4d;
}

.pin-icon {
  color: #fff;
}

.pin-title {
  color: #2d3748;
  font-size: 2rem;
  font-weight: 700;
}

.pin-subtitle {
  color: #718096;
  font-size: .95rem;
}

.pin-input-group {
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
  display: flex;
}

.pin-input {
  text-align: center;
  color: #2d3748;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  width: 60px;
  height: 70px;
  font-size: 2rem;
  font-weight: 600;
  transition: all .3s;
}

.pin-input:focus {
  background: #fff;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px #667eea1a;
}

.pin-input:disabled {
  cursor: not-allowed;
  opacity: .6;
  background: #e2e8f0;
}

.pin-input::placeholder {
  color: #cbd5e0;
}

.pin-submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 4px 15px #667eea4d;
}

.pin-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #667eea66;
}

.pin-submit-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.pin-submit-btn:active {
  transform: translateY(0);
}

.shift-info {
  background: #f7fafc;
  border-radius: 12px;
  padding: 20px;
}

.shift-info h6 {
  color: #2d3748;
  margin-bottom: 12px;
  font-weight: 600;
}

.shift-details {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.shift-item {
  color: #4a5568;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  display: flex;
}

.shift-item strong {
  color: #2d3748;
  min-width: 100px;
}

@media (max-width: 768px) {
  .pin-entry-page {
    padding: 10px;
  }

  .pin-entry-card .card-body {
    padding: 30px 20px !important;
  }

  .pin-title {
    font-size: 1.5rem;
  }

  .pin-input {
    width: 50px;
    height: 60px;
    font-size: 1.5rem;
  }

  .pin-input-group {
    gap: 8px;
  }

  .pin-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .pin-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 576px) {
  .pin-input {
    width: 45px;
    height: 55px;
    font-size: 1.3rem;
  }

  .pin-input-group {
    gap: 6px;
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.pin-input.error {
  background: #fed7d7;
  border-color: #e53e3e;
  animation: .3s shake;
}

.spinner-border-primary {
  color: #667eea;
}

@font-face {
  font-family: bebas_neueregular;
  src: url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_regular-webfont.eot");
  src: url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_regular-webfont.woff2") format("woff2"), url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_regular-webfont.woff") format("woff"), url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_regular-webfont.ttf") format("truetype"), url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_regular-webfont.svg#bebas_neueregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: bebas_neuebold;
  src: url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_bold-webfont.eot");
  src: url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_bold-webfont.woff2") format("woff2"), url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_bold-webfont.woff") format("woff"), url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_bold-webfont.ttf") format("truetype"), url("https://dl.dropboxusercontent.com/u/81135676/bebasneue_bold-webfont.svg#bebas_neuebold") format("svg");
  font-weight: normal;
  font-style: normal;
}

.coming-soon {
  background: radial-gradient(circle, #000, #3e3c3c);
  width: 100%;
  height: 100vh;
  font-family: bebas_neuebold, Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

#beerCanvas {
  z-index: 100;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.coming_content {
  color: #fff;
  text-align: center;
  z-index: 101;
  width: 70%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.coming_content h1 {
  letter-spacing: 2px;
  text-align: center;
  color: #fff;
  margin: 0;
  font-size: 5.625em;
}

.coming_content .separator_container {
  text-align: center;
  width: 100%;
  margin: 12px 0;
  display: block;
  position: relative;
}

.coming_content .separator_container:before, .coming_content .separator_container:after {
  content: "";
  display: table;
}

.coming_content .separator_container:after {
  clear: both;
}

.coming_content .separator {
  color: #fff;
  width: 11em;
  margin: 0 auto 1em;
}

.coming_content .line_separator svg {
  width: 30px;
  height: 20px;
}

.coming_content .line_separator:before, .coming_content .line_separator:after {
  content: " ";
  border: 1px solid #fff;
  width: 40%;
  margin-top: 14px;
  display: block;
}

.coming_content .line_separator:before {
  float: left;
}

.coming_content .line_separator:after {
  float: right;
}

.coming_content h3 {
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 2;
}

.coming_content h3 a {
  text-decoration: underline;
}

.flight-search-container {
  gap: 1.5rem;
  margin-top: 2rem;
  display: flex;
}

.flight-filters {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  height: -moz-fit-content;
  height: fit-content;
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.flight-filters h3 {
  color: #1e293b;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section-title {
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
  font-size: .875rem;
  font-weight: 600;
}

.price-range-container {
  padding: 1rem 0;
}

.price-range-display {
  color: #1e293b;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
}

.price-range-container > div {
  background: #e2e8f0;
  border-radius: 3px;
  height: 20px;
  margin-top: .5rem;
  position: relative;
}

.price-range-slider {
  -webkit-appearance: none;
  background: none;
  border-radius: 3px;
  outline: none;
  width: 100%;
  height: 6px;
  position: absolute;
  top: 0;
  left: 0;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  z-index: 3;
  background: #d4af37;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  position: relative;
  box-shadow: 0 2px 6px #d4af3766;
}

.price-range-slider::-moz-range-thumb {
  cursor: pointer;
  z-index: 3;
  background: #d4af37;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  position: relative;
  box-shadow: 0 2px 6px #d4af3766;
}

.price-range-slider::-webkit-slider-runnable-track {
  background: none;
  border-radius: 3px;
  height: 6px;
}

.price-range-slider::-moz-range-track {
  background: none;
  border-radius: 3px;
  height: 6px;
}

.layover-options {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.layover-chip {
  cursor: pointer;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .5rem;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
}

.layover-chip:hover {
  background: #fef9e7;
  border-color: #d4af37;
}

.layover-chip.active {
  color: #fff;
  background: #d4af37;
  border-color: #d4af37;
}

.time-options {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.time-option {
  cursor: pointer;
  border: 1px solid #e2e8f0;
  border-radius: .5rem;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  transition: all .2s;
  display: flex;
}

.time-option:hover {
  background: #fef9e7;
  border-color: #d4af37;
}

.time-option input[type="checkbox"] {
  cursor: pointer;
  accent-color: #d4af37;
  width: 18px;
  height: 18px;
}

.time-option-label {
  flex: 1;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.time-option-label span:first-child {
  color: #1e293b;
  font-size: .875rem;
  font-weight: 500;
}

.time-option-label span:last-child {
  color: #64748b;
  font-size: .75rem;
}

.flight-results-main {
  flex: 1;
}

.sort-options {
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.sort-option {
  cursor: pointer;
  color: #475569;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: .5rem;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.sort-option:hover {
  background: #fef9e7;
  border-color: #d4af37;
}

.sort-option.active {
  color: #fff;
  background: #d4af37;
  border-color: #d4af37;
}

.sort-option-price {
  opacity: .8;
  font-size: .75rem;
  font-weight: 400;
}

.results-count {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: .875rem;
  font-weight: 500;
}

.flight-cards-container {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.flight-card {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: 1.5rem;
  transition: all .3s;
  position: relative;
}

.flight-card:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #d4af3726;
}

.flight-card.selected {
  background: #fef9e7;
  border-width: 2px;
  border-color: #d4af37;
}

.flight-card-header {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  display: flex;
}

.flight-airline {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.flight-airline-icon {
  color: #fff;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: .5rem;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
}

.flight-airline-info h4 {
  color: #1e293b;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.flight-airline-info p {
  color: #64748b;
  margin: .25rem 0 0;
  font-size: .75rem;
}

.flight-price {
  text-align: right;
}

.flight-price-amount {
  color: #d4af37;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.flight-price-label {
  color: #64748b;
  margin: .25rem 0 0;
  font-size: .75rem;
}

.flight-details {
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  display: flex;
}

.flight-time-section {
  flex: 1;
  align-items: center;
  gap: 1rem;
  display: flex;
}

.flight-time {
  text-align: center;
  flex: 1;
}

.flight-time-value {
  color: #1e293b;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.flight-time-label {
  color: #64748b;
  margin: .25rem 0 0;
  font-size: .75rem;
}

.flight-duration {
  text-align: center;
  flex: 1;
  padding: 0 1rem;
  position: relative;
}

.flight-duration:before {
  content: "";
  background: #e2e8f0;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.flight-duration-line {
  background: #d4af37;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.flight-duration-dot {
  z-index: 1;
  background: #d4af37;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.flight-duration-text {
  z-index: 2;
  color: #475569;
  background: #fff;
  padding: 0 .5rem;
  font-size: .875rem;
  font-weight: 500;
  position: relative;
}

.flight-layover {
  text-align: center;
  background: #f1f5f9;
  border-radius: .5rem;
  margin-top: .75rem;
  padding: .5rem;
}

.flight-layover-badge {
  color: #475569;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: .375rem;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 500;
  display: inline-block;
}

.flight-card-footer {
  border-top: 1px solid #f1f5f9;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
}

.flight-amenities {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.amenity-badge {
  color: #475569;
  background: #f1f5f9;
  border-radius: .375rem;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 500;
}

.flight-select-btn {
  color: #fff;
  cursor: pointer;
  background: #d4af37;
  border: none;
  border-radius: .5rem;
  padding: .5rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s;
}

.flight-select-btn:hover {
  background: #b8941f;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px #d4af374d;
}

@media (max-width: 1024px) {
  .flight-filters {
    display: none;
  }

  .flight-search-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .sort-options {
    flex-direction: column;
  }

  .sort-option {
    justify-content: space-between;
    width: 100%;
  }

  .flight-card-header {
    flex-direction: column;
    gap: 1rem;
  }

  .flight-price {
    text-align: left;
    width: 100%;
  }

  .flight-details {
    flex-direction: column;
    gap: 1rem;
  }

  .flight-time-section {
    width: 100%;
  }

  .flight-duration {
    width: 100%;
    padding: 1rem 0;
  }
}

.mobile-filters-toggle {
  cursor: pointer;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .5rem;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  display: none;
}

@media (max-width: 1024px) {
  .mobile-filters-toggle {
    display: flex;
  }
}

.mobile-filters-overlay {
  z-index: 1000;
  background: #00000080;
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.mobile-filters-overlay.active {
  display: block;
}

.mobile-filters-panel {
  z-index: 1001;
  background: #fff;
  width: 80%;
  max-width: 400px;
  height: 100%;
  padding: 1.5rem;
  transition: transform .3s;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  transform: translateX(-100%);
}

.mobile-filters-panel.active {
  transform: translateX(0);
}

.client-profile-container {
  background: #f8fafc;
  min-height: 100vh;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  position: relative;
}

.loading-container {
  color: #64748b;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  display: flex;
}

.loading-spinner {
  border: 3px solid #e2e8f0;
  border-top-color: #3b82f6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  animation: 1s linear infinite spin;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.message-banner {
  z-index: 9999;
  border-radius: 12px;
  align-items: center;
  gap: .75rem;
  max-width: 400px;
  padding: 1rem 1.5rem;
  animation: .3s ease-out slideIn;
  display: flex;
  position: fixed;
  top: 90px;
  right: 20px;
  box-shadow: 0 10px 25px -5px #0000001a;
}

.message-banner.error {
  color: #dc2626;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 1px solid #fca5a5;
}

.message-banner.success {
  color: #059669;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 1px solid #6ee7b7;
}

.message-banner .close-btn {
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: .25rem;
  transition: background-color .2s;
  display: flex;
}

.message-banner .close-btn:hover {
  background: #0000001a;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn-spinner, .upload-spinner {
  border: 2px solid #0000;
  border-top-color: currentColor;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: 1s linear infinite spin;
}

.profile-details {
  flex-direction: column;
  gap: .5rem;
  margin-top: .5rem;
  display: flex;
}

.member-since {
  color: #64748b;
  font-size: .875rem;
  font-weight: 500;
}

.avatar img {
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  transition: all .3s;
}

.avatar:hover img {
  transform: scale(1.05);
}

.avatar-upload-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.avatar-upload-btn:disabled:hover {
  transform: none;
  box-shadow: 0 4px 12px #3b82f64d;
}

.client-profile-container:before {
  content: "";
  z-index: 1000;
  background: linear-gradient(90deg, #1e40af, #3b82f6, #1e40af);
  height: 4px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.profile-card {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, #ffffffe6 0%, #fffffff2 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;
}

.profile-card:before {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, #3b82f6, #2563eb, #3b82f6);
  height: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.profile-header-section {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  border-radius: 16px 16px 0 0;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  display: flex;
  position: relative;
}

.profile-header-section:after {
  content: "";
  background: linear-gradient(90deg, #0000, #e2e8f0, #0000);
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.avatar-section {
  align-items: center;
  gap: 2rem;
  display: flex;
}

.avatar-container {
  position: relative;
}

.avatar {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
  border: 4px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  font-size: 2rem;
  font-weight: 800;
  transition: all .3s;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px #f59e0b4d;
}

.avatar:hover {
  transform: scale(1.05);
}

.avatar-upload-btn {
  color: #fff;
  cursor: pointer;
  z-index: 2;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 4px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  transition: all .3s;
  display: flex;
  position: absolute;
  bottom: 0;
  right: 0;
  box-shadow: 0 4px 12px #3b82f64d;
}

.avatar-upload-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: scale(1.1);
  box-shadow: 0 6px 20px #3b82f666;
}

.upload-progress {
  color: #64748b;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  font-weight: 500;
  display: flex;
}

.progress-bar {
  background: #e2e8f0;
  border-radius: 3px;
  width: 120px;
  height: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px #0000001a;
}

.progress-fill {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 3px;
  height: 100%;
  animation: 1.5s ease-in-out infinite progress;
}

@keyframes progress {
  0% {
    width: 0%;
  }

  50% {
    width: 70%;
  }

  100% {
    width: 100%;
  }
}

.profile-info {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.profile-name {
  color: #1e293b;
  letter-spacing: -.025em;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
}

.profile-title {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.verification-badge {
  color: #059669;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  align-items: center;
  gap: .5rem;
  width: -moz-fit-content;
  width: fit-content;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  box-shadow: 0 2px 8px #05966926;
}

.header-actions {
  gap: 1rem;
  display: flex;
}

.tabs-navigation {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 0 2rem;
  display: flex;
  position: relative;
}

.tabs-navigation:after {
  content: "";
  background: linear-gradient(90deg, #0000, #e2e8f0, #0000);
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.tab-button {
  color: #64748b;
  cursor: pointer;
  letter-spacing: .025em;
  background: none;
  border: none;
  border-bottom: 3px solid #0000;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 2rem;
  font-size: .875rem;
  font-weight: 600;
  transition: all .3s;
  display: flex;
  position: relative;
}

.tab-button:hover {
  color: #3b82f6;
  background: #3b82f60d;
}

.tab-button.active {
  color: #3b82f6;
  background: #fff;
  border-bottom-color: #3b82f6;
  font-weight: 700;
}

.tab-button svg {
  opacity: .7;
  transition: opacity .3s;
}

.tab-button.active svg {
  opacity: 1;
}

.tab-content {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-radius: 0 0 16px 16px;
  min-height: 500px;
  padding: 2rem;
}

.section-header {
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.section-header h3 {
  color: #1e293b;
  letter-spacing: -.025em;
  margin: 0 0 .5rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.section-header p {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.form-section {
  padding: 0;
}

.form-grid {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: grid;
}

.form-group {
  flex-direction: column;
  gap: .75rem;
  width: 100%;
  display: flex;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: #374151;
  letter-spacing: .025em;
  text-transform: uppercase;
  font-size: .875rem;
  font-weight: 700;
}

.form-input, .form-textarea {
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #ffffffe6;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .3s;
  box-shadow: 0 2px 4px #0000000d;
}

.form-input:focus, .form-textarea:focus {
  background: #fff;
  border-color: #3b82f6;
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px #3b82f61a, 0 4px 12px #3b82f626;
}

.form-input:disabled, .form-textarea:disabled {
  color: #6b7280;
  cursor: not-allowed;
  background: #f9fafb;
  border-color: #d1d5db;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.input-with-icon {
  width: 100%;
  position: relative;
}

.input-with-icon svg {
  color: #9ca3af;
  z-index: 1;
  transition: color .3s;
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
}

.input-with-icon .form-input:focus + svg {
  color: #3b82f6;
}

.input-with-icon .form-input {
  box-sizing: border-box;
  width: 100%;
  padding-left: 3rem;
}

.preferences-section {
  margin-top: 0;
  padding-top: 0;
}

.preferences-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  display: grid;
}

.preference-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  transition: all .3s;
  display: flex;
}

.preference-group:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #0000000d;
}

.preference-group label {
  color: #374151;
  letter-spacing: .025em;
  text-transform: uppercase;
  font-size: .875rem;
  font-weight: 700;
}

.chips-container {
  flex-wrap: wrap;
  gap: .75rem;
  display: flex;
}

.chip {
  color: #92400e;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fde68a;
  border-radius: 20px;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  transition: all .3s;
  display: flex;
  box-shadow: 0 2px 8px #f59e0b26;
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #f59e0b40;
}

.chip-success {
  color: #065f46;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-color: #a7f3d0;
  box-shadow: 0 2px 8px #05966926;
}

.chip-success:hover {
  box-shadow: 0 4px 12px #05966940;
}

.chip-info {
  color: #1e40af;
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  border-color: #93c5fd;
  box-shadow: 0 2px 8px #3b82f626;
}

.chip-info:hover {
  box-shadow: 0 4px 12px #3b82f640;
}

.settings-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  display: grid;
}

.setting-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  transition: all .3s;
  display: flex;
}

.setting-group:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #0000000d;
}

.setting-group label {
  color: #374151;
  letter-spacing: .025em;
  text-transform: uppercase;
  font-size: .875rem;
  font-weight: 700;
}

.setting-options {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.setting-option {
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 12px;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transition: all .3s;
  display: flex;
}

.setting-option:hover {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px #0000000d;
}

.setting-option input[type="checkbox"] {
  accent-color: #3b82f6;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.setting-option span {
  color: #374151;
  font-size: .875rem;
  font-weight: 500;
}

.action-buttons {
  border-top: 1px solid #f1f5f9;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  display: flex;
}

.btn {
  cursor: pointer;
  letter-spacing: .025em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  align-items: center;
  gap: .75rem;
  padding: 1rem 2rem;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  display: flex;
  box-shadow: 0 2px 8px #0000001a;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #3b82f666;
}

.btn-primary:before {
  content: "";
  background: linear-gradient(90deg, #0000, #fff3, #0000);
  width: 100%;
  height: 100%;
  transition: left .5s;
  position: absolute;
  top: 0;
  left: -100%;
}

.btn-primary:hover:before {
  left: 100%;
}

.btn-secondary {
  color: #374151;
  background: #f8fafc;
  border: 2px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.btn-outline {
  color: #374151;
  background: none;
  border: 2px solid #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .profile-card {
    max-width: 1000px;
  }
}

@media (max-width: 768px) {
  .client-profile-container {
    padding: 0;
  }

  .message-banner {
    max-width: none;
    top: 80px;
    left: 10px;
    right: 10px;
  }

  .profile-card {
    border-radius: 0;
    max-width: 100%;
    margin: 0;
  }

  .profile-header-section {
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem;
  }

  .avatar-section {
    text-align: center;
    flex-direction: column;
    gap: 1.5rem;
  }

  .tabs-navigation {
    padding: 0 1rem;
    overflow-x: auto;
  }

  .tab-button {
    white-space: nowrap;
    padding: 1rem 1.5rem;
  }

  .tab-content {
    border-radius: 0;
    padding: 1.5rem;
  }

  .form-section {
    padding: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .preferences-grid, .settings-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .profile-card {
    border-radius: 0;
  }

  .profile-header-section, .tab-content {
    border-radius: 0;
    padding: 1rem;
  }

  .tabs-navigation {
    padding: 0 .5rem;
  }

  .avatar {
    width: 70px;
    height: 70px;
    font-size: 1.25rem;
  }

  .btn {
    padding: .875rem 1.5rem;
    font-size: .8rem;
  }
}

.plan-trip-page {
  background: #f8f9fa;
  min-height: 100vh;
}

.search-input-group {
  border: 2px solid #f59e0b33;
  border-radius: 16px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
  box-shadow: 0 4px 16px #f59e0b26, 0 2px 8px #00000014;
}

.search-input-group:focus-within {
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px #f59e0b1a, 0 8px 24px #f59e0b33;
}

.search-input-group .search-icon {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  padding: 12px 20px;
}

.search-input-group .search-input {
  color: #1f2937;
  background: #ffffffe6;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
}

.search-input-group .search-input:focus {
  box-shadow: none;
  background: #fffffff2;
  border: none;
}

.search-input-group .search-input::placeholder {
  color: #6b7280;
}

.category-filter {
  color: #1f2937;
  background: #ffffffe6;
  border: 2px solid #f59e0b33;
  border-radius: 16px;
  padding: 12px 20px;
  font-weight: 500;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 16px #f59e0b26, 0 2px 8px #00000014;
}

.category-filter:focus {
  background: #fffffff2;
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px #f59e0b1a, 0 8px 24px #f59e0b33;
}

.trip-card {
  background: #fff;
  border: 2px solid #f59e0b33;
  border-radius: 20px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d, 0 4px 20px #f59e0b26;
}

.trip-card:hover {
  border-color: #f59e0b80;
  transform: translateY(-8px)scale(1.01);
  box-shadow: 0 25px 50px -12px #00000040, 0 12px 32px #f59e0b40;
}

.trip-image-container {
  background: #f0f0f0;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.trip-image-carousel {
  width: 100%;
  height: 100%;
  animation: 15s infinite imageSlide;
  display: flex;
  position: relative;
}

.trip-image-carousel:hover {
  animation-play-state: paused;
}

.trip-image {
  -o-object-fit: cover;
  object-fit: cover;
  min-width: 100%;
  height: 100%;
  transition: transform .5s;
}

@keyframes imageSlide {
  0%, 30% {
    transform: translateX(0);
  }

  33.33%, 63.33% {
    transform: translateX(-100%);
  }

  66.66%, 96.66% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0);
  }
}

.trip-badges {
  z-index: 2;
  flex-direction: column;
  gap: 8px;
  display: flex;
  position: absolute;
  top: 15px;
  right: 15px;
}

.rating-badge {
  border-radius: 20px;
  padding: 6px 12px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px #0003;
}

.discount-badge {
  border-radius: 20px;
  padding: 6px 12px;
  font-size: .85rem;
  font-weight: 600;
  animation: 2s infinite pulse;
  box-shadow: 0 2px 8px #0003;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.trip-overlay {
  opacity: 0;
  z-index: 1;
  background: #00000080;
  justify-content: center;
  align-items: center;
  transition: opacity .3s;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.trip-card:hover .trip-overlay {
  opacity: 1;
}

.view-details-btn {
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 25px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all .3s;
}

.view-details-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px #ffffff4d;
}

.trip-card-body {
  padding: 20px;
}

.trip-category {
  margin-bottom: 10px;
}

.category-badge {
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 15px;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 600;
}

.trip-title {
  color: #1f2937;
  min-height: 3rem;
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.trip-destination {
  color: #f59e0b;
  margin-bottom: 5px;
  font-size: .95rem;
  font-weight: 600;
}

.trip-destination i {
  margin-right: 5px;
}

.trip-duration {
  color: #6b7280;
  margin-bottom: 12px;
  font-size: .9rem;
}

.trip-duration i {
  margin-right: 5px;
}

.trip-description {
  color: #6b7280;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.8rem;
  margin-bottom: 15px;
  font-size: .9rem;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
}

.trip-footer {
  border-top: 1px solid #e9ecef;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-top: 15px;
  display: flex;
}

.trip-pricing {
  flex-direction: column;
  display: flex;
}

.trip-price {
  color: #a58343;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 700;
}

.trip-original-price {
  color: #a0aec0;
  margin-left: 8px;
  font-size: .9rem;
  text-decoration: line-through;
}

.trip-reviews {
  color: #6b7280;
  align-items: center;
  gap: 5px;
  font-size: .85rem;
  display: flex;
}

.book-now-btn {
  text-transform: uppercase;
  letter-spacing: .5px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 16px #f59e0b4d;
}

.book-now-btn:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #f59e0b66;
}

.no-results {
  padding: 80px 20px;
}

.no-results h3 {
  color: #1f2937;
  margin-bottom: 12px;
  font-weight: 700;
}

.no-results p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

.trip-details-modal .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

.modal-header-custom {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-bottom: none;
  padding: 20px 30px;
}

.modal-header-custom .btn-close {
  filter: invert();
  opacity: .8;
}

.modal-header-custom .btn-close:hover {
  opacity: 1;
}

.modal-header-custom .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-body-custom {
  padding: 30px;
}

.trip-modal-images {
  margin-bottom: 20px;
}

.main-image-container {
  border-radius: 15px;
  width: 100%;
  height: 400px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px #0000001a;
}

.main-image {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .3s;
}

.main-image:hover {
  transform: scale(1.05);
}

.thumbnail-images {
  gap: 10px;
  padding-bottom: 5px;
  display: flex;
  overflow-x: auto;
}

.thumbnail-images::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-images::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.thumbnail-images::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 10px;
}

.thumbnail-image {
  -o-object-fit: cover;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  min-width: 120px;
  height: 80px;
  transition: all .3s;
  box-shadow: 0 2px 8px #0000001a;
}

.thumbnail-image:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px #0003;
}

.trip-modal-info h4, .trip-modal-info h5 {
  color: #1f2937;
  font-weight: 700;
}

.trip-full-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.8;
}

.trip-highlights, .trip-includes {
  padding: 0;
  list-style: none;
}

.trip-highlights li, .trip-includes li {
  color: #6b7280;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  display: flex;
}

.trip-highlights li i, .trip-includes li i {
  font-size: 1.1rem;
}

.trip-booking-card {
  border: none;
  border-radius: 15px;
  position: sticky;
  top: 20px;
  box-shadow: 0 4px 15px #0000001a;
}

.trip-modal-pricing {
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 16px #f59e0b4d;
}

.modal-price {
  margin-bottom: 5px;
  font-size: 2rem;
  font-weight: 700;
}

.modal-original-price {
  opacity: .8;
  font-size: 1rem;
  text-decoration: line-through;
}

.trip-details-list {
  margin-top: 20px;
}

.detail-item {
  color: #6b7280;
  border-bottom: 1px solid #f59e0b1a;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  display: flex;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item i {
  color: #f59e0b;
  width: 24px;
  font-size: 1.2rem;
}

.book-modal-btn {
  text-transform: uppercase;
  letter-spacing: .5px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 16px #f59e0b4d;
}

.book-modal-btn:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #f59e0b66;
}

.book-modal-btn i {
  margin-right: 8px;
}

@media (max-width: 992px) {
  .trip-image-container {
    height: 220px;
  }

  .main-image-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .trip-image-container {
    height: 200px;
  }

  .trip-card-body {
    padding: 15px;
  }

  .trip-title {
    min-height: auto;
    font-size: 1.1rem;
  }

  .main-image-container {
    height: 250px;
  }

  .modal-body-custom {
    padding: 20px;
  }

  .trip-booking-card {
    margin-top: 20px;
    position: static;
  }
}

@media (max-width: 576px) {
  .trip-image-container {
    height: 180px;
  }

  .trip-price {
    font-size: 1.25rem;
  }

  .main-image-container {
    height: 200px;
  }

  .thumbnail-image {
    min-width: 100px;
    height: 70px;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.trip-card.loading {
  background: linear-gradient(to right, #f0f0f0 0%, #e0e0e0 20%, #f0f0f0 40% 100%) 0 0 / 1000px 100%;
  animation: 2s infinite shimmer;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.trip-booking-container {
  background: #f8f9fa;
  max-width: 1200px;
  min-height: 100vh;
}

.trip-booking-step {
  animation: .3s ease-in fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-stepper {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 2rem;
  padding: 2rem;
  box-shadow: 0 2px 8px #0000001a;
}

.stepper-wrapper {
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.stepper-wrapper:before {
  content: "";
  z-index: 0;
  background: #e5e7eb;
  height: 2px;
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
}

.stepper-item {
  z-index: 1;
  flex-direction: column;
  flex: 1;
  align-items: center;
  display: flex;
  position: relative;
}

.stepper-circle {
  color: #6b7280;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: .5rem;
  font-weight: 600;
  transition: all .3s;
  display: flex;
}

.stepper-item.active .stepper-circle {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #f59e0b;
  transform: scale(1.1);
  box-shadow: 0 4px 12px #f59e0b4d;
}

.stepper-item.completed .stepper-circle {
  color: #fff;
  background: #10b981;
  border-color: #10b981;
}

.stepper-label {
  color: #6b7280;
  text-align: center;
  font-size: .875rem;
  font-weight: 500;
}

.stepper-item.active .stepper-label {
  color: #f59e0b;
  font-weight: 600;
}

.stepper-item.completed .stepper-label {
  color: #10b981;
}

.passenger-type-card {
  background: #fff;
  border: 2px solid #f59e0b40;
  border-radius: 12px;
  transition: all .3s;
}

.passenger-type-card:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #f59e0b26;
}

.passenger-icon {
  color: #fff;
  border-radius: 12px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: flex;
}

.passenger-icon.bg-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.total-summary-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b33;
  border-radius: 12px;
}

.booking-summary-list {
  flex-direction: column;
  gap: 1.5rem;
  display: flex;
}

.summary-item {
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.summary-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.summary-item strong {
  color: #1f2937;
  margin-bottom: .25rem;
  display: block;
}

.price-breakdown {
  margin-bottom: 1rem;
}

.price-breakdown > div {
  border-bottom: 1px solid #e5e7eb;
  padding: .5rem 0;
}

.price-breakdown > div:last-of-type {
  border-bottom: none;
}

.passenger-review-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.passenger-review-item h6 {
  color: #1f2937;
  font-weight: 600;
}

.form-control:focus, .form-select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 .2rem #f59e0b40;
}

.form-label {
  color: #374151;
  margin-bottom: .5rem;
  font-weight: 500;
}

.form-check-input:checked {
  background-color: #f59e0b;
  border-color: #f59e0b;
}

.form-check-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 .2rem #f59e0b40;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  border-radius: 8px;
  padding: .75rem 2rem;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 2px 8px #f59e0b33;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #f59e0b4d;
}

.btn-primary:disabled {
  opacity: .6;
  transform: none;
}

.btn-outline-secondary {
  border-radius: 8px;
  padding: .75rem 2rem;
  font-weight: 600;
  transition: all .3s;
}

.btn-outline-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px #0000001a;
}

.card {
  border: none;
  border-radius: 12px;
  transition: all .3s;
  box-shadow: 0 2px 8px #00000014;
}

.card:hover {
  box-shadow: 0 4px 16px #0000001f;
}

.shadow-sm {
  box-shadow: 0 2px 8px #00000014 !important;
}

.alert {
  border: none;
  border-radius: 12px;
}

.alert-info {
  color: #1e40af;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-left: 4px solid #3b82f6;
}

.alert-danger {
  color: #991b1b;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-left: 4px solid #ef4444;
}

.alert-success {
  color: #065f46;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-left: 4px solid #10b981;
}

@media (max-width: 768px) {
  .stepper-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .stepper-wrapper:before {
    display: none;
  }

  .stepper-item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .stepper-circle {
    margin-bottom: 0;
  }

  .booking-stepper {
    padding: 1.5rem;
  }

  .trip-booking-container {
    padding: 1rem;
  }

  .passenger-type-card {
    margin-bottom: 1rem;
  }
}

.spinner-border-sm {
  border-width: .15em;
  width: 1rem;
  height: 1rem;
}

.badge {
  border-radius: 6px;
  padding: .35em .65em;
  font-weight: 500;
}

.text-primary {
  color: #1e40af !important;
}

.text-warning {
  color: #f59e0b !important;
}

.text-danger {
  color: #ef4444 !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #f59e0b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}

:root {
  --gold: #a58343;
  --navy: #132d50;
  --amber: #f59e0b;
  --orange: #d97706;
  --gold-secondary: #d4af37;
  --blue: #1e40af;
  --blue-medium: #2563eb;
  --blue-dark: #1e3a8a;
  --blue-very-dark: #0f172a;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-yellow: #fbbf24;
  --white: #fff;
  --light-gray: #f9fafb;
  --light-gray-alt: #fafafa;
  --gray: #6b7280;
  --dark-gray: #1f2937;
  --dark-gray-alt: #333;
  --black: #000;
  --gradient-gold: linear-gradient(135deg, #a58343, #d4af37);
  --gradient-navy: linear-gradient(135deg, #132d50, #1e3a8a);
  --gradient-navy-dark: linear-gradient(135deg, #132d50, #0f172a);
  --border-radius: 10px;
  --shadow: 0 4px 12px #00000014;
  --shadow-lg: 0 10px 25px #00000026;
  --transition: all .3s ease;
}

.profile-new-container {
  background-color: var(--light-gray);
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px;
}

.profile-loading {
  min-height: 60vh;
  color: var(--gray);
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  display: flex;
}

.profile-alert {
  box-shadow: var(--shadow);
  border-radius: 16px;
  margin-bottom: 32px;
  padding: 20px 24px;
  animation: .4s profileSlideIn;
}

.profile-alert-success {
  color: #155724;
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 1px solid #c3e6cb;
}

.profile-alert-title {
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

@keyframes profileSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-header {
  border-bottom: 1px solid #132d501a;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 15px 0;
  display: flex;
}

.profile-logo {
  color: var(--navy);
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  display: flex;
}

.profile-logo-icon {
  background: var(--gradient-gold);
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
}

.profile-header-actions {
  gap: 15px;
  display: flex;
}

.profile-btn {
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
}

.profile-btn-primary {
  background: var(--gradient-gold);
  color: #fff;
}

.profile-btn-primary:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.profile-btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background-color: #0000;
}

.profile-btn-outline:hover {
  background-color: #a583431a;
}

.profile-btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.profile-header-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: #fff;
  gap: 25px;
  margin-bottom: 30px;
  padding: 30px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.profile-header-card:before {
  content: "";
  background: var(--gradient-gold);
  width: 100%;
  height: 5px;
  position: absolute;
  top: 0;
  left: 0;
}

.profile-avatar {
  background: var(--gradient-gold);
  color: #fff;
  width: 140px;
  height: 140px;
  box-shadow: var(--shadow);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  font-weight: 700;
  display: flex;
}

.profile-info {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  display: flex;
}

.profile-name {
  color: var(--navy);
  margin-bottom: 5px;
  font-size: 28px;
  font-weight: 700;
}

.profile-position {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.profile-company {
  color: var(--dark-gray);
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
}

.profile-bio {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.profile-badge {
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
}

.profile-badge-primary {
  background-color: var(--navy);
  color: #fff;
}

.profile-badge-secondary {
  background-color: var(--gold);
  color: #fff;
}

.profile-badge-light {
  background-color: var(--light-gray);
  color: var(--dark-gray);
  border: 1px solid #0000001a;
}

.profile-stats {
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  display: flex;
}

.profile-stat-item {
  flex-direction: column;
  align-items: center;
  display: flex;
}

.profile-stat-value {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

.profile-stat-label {
  color: var(--gray);
  font-size: 12px;
}

.profile-mode-toggle {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 20px;
  padding: 5px;
  display: flex;
}

.profile-mode-btn {
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-weight: 600;
  display: flex;
}

.profile-mode-btn.active {
  box-shadow: var(--shadow);
  color: var(--navy);
  background: #fff;
}

.profile-tabs-container {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: #fff;
  margin-bottom: 30px;
  overflow: hidden;
}

.profile-tabs-nav {
  background: var(--gradient-navy);
  flex-wrap: wrap;
  padding: 0 20px;
  display: flex;
}

.profile-tab-btn {
  color: #fffc;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  padding: 15px 25px;
  font-weight: 600;
  position: relative;
}

.profile-tab-btn.active {
  color: #fff;
}

.profile-tab-btn.active:after {
  content: "";
  background: var(--gradient-gold);
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.profile-tab-btn:hover:not(.active) {
  color: #fff;
  background: #ffffff1a;
}

.profile-tab-content {
  padding: 30px;
  display: none;
}

.profile-tab-content.active {
  display: block;
}

.profile-performance-stats {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  display: grid;
}

.profile-stat-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  background: #fff;
  padding: 25px;
}

.profile-stat-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  display: flex;
}

.profile-stat-title {
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
}

.profile-stat-icon {
  color: #fff;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
}

.profile-icon-booking {
  background: var(--gradient-gold);
}

.profile-icon-rating {
  background: var(--accent-green);
}

.profile-icon-response {
  background: var(--accent-cyan);
}

.profile-icon-tasks {
  background: var(--accent-purple);
}

.profile-stat-value-large {
  color: var(--navy);
  margin-bottom: 5px;
  font-size: 32px;
  font-weight: 700;
}

.profile-stat-trend {
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.profile-stat-trend.trend-up {
  color: var(--accent-green);
}

.profile-stat-trend.trend-down {
  color: var(--accent-pink);
}

.profile-content-section {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: #fff;
  margin-bottom: 30px;
  padding: 25px;
}

.profile-section-header {
  border-bottom: 1px solid var(--light-gray);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  display: flex;
}

.profile-section-title {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

.profile-section-subtitle {
  color: var(--gray);
  align-items: center;
  gap: 5px;
  font-size: 14px;
  display: flex;
}

.profile-edit-toggle {
  color: var(--gold);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  display: flex;
}

.profile-edit-toggle:hover {
  color: var(--orange);
}

.profile-form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  display: grid;
}

.profile-form-group {
  margin-bottom: 20px;
}

.profile-form-group.profile-full-width {
  grid-column: 1 / -1;
}

.profile-form-group label {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.profile-form-control {
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  width: 100%;
  transition: var(--transition);
  background-color: var(--light-gray-alt);
  padding: 12px 15px;
  font-family: inherit;
  font-size: 16px;
}

.profile-form-control:focus {
  border-color: var(--gold);
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px #a5834333;
}

.profile-form-control:disabled {
  background-color: var(--light-gray);
  cursor: not-allowed;
  color: var(--gray);
}

.profile-input-with-icon {
  align-items: center;
  display: flex;
  position: relative;
}

.profile-input-with-icon .profile-form-control {
  padding-right: 45px;
}

.profile-password-toggle {
  color: var(--gray);
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  font-size: 18px;
  position: absolute;
  right: 15px;
}

.profile-password-toggle:hover {
  color: var(--navy);
}

.profile-phone-input-container {
  position: relative;
}

.profile-phone-input-container .PhoneInput {
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  background: var(--light-gray-alt);
  transition: var(--transition);
  align-items: center;
  padding: 0 15px;
  display: flex;
}

.profile-phone-input-container .PhoneInput:focus-within {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px #a5834333;
}

.profile-phone-input-container .PhoneInputInput {
  background: none;
  border: none;
  flex: 1;
  padding: 12px 0;
  font-size: 16px;
}

.profile-phone-input-container .PhoneInputInput:focus {
  outline: none;
}

.profile-phone-input-container:has(.PhoneInput:disabled) {
  opacity: .6;
  cursor: not-allowed;
}

.profile-select-container {
  position: relative;
}

.profile-select-container .react-select__control {
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  background-color: var(--light-gray-alt);
  min-height: 45px;
  transition: var(--transition);
}

.profile-select-container .react-select__control:hover {
  border-color: var(--gold);
}

.profile-select-container .react-select__control--is-focused {
  border-color: var(--gold);
  background-color: #fff;
  box-shadow: 0 0 0 3px #a5834333;
}

.profile-select-container .react-select__control--is-disabled {
  background-color: var(--light-gray);
  cursor: not-allowed;
}

.profile-select-container .react-select__value-container {
  padding: 0 15px;
}

.profile-select-container .react-select__single-value {
  color: var(--dark-gray);
}

.profile-select-container .react-select__placeholder {
  color: var(--gray);
}

.profile-select-container .react-select__indicator-separator {
  display: none;
}

.profile-select-container .react-select__menu {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
  margin-top: 5px;
}

.profile-select-container .react-select__option {
  cursor: pointer;
  padding: 12px 15px;
}

.profile-select-container .react-select__option--is-focused {
  background-color: #a583431a;
}

.profile-select-container .react-select__option--is-selected {
  background-color: var(--gold);
  color: #fff;
}

.profile-badge-container {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  display: flex;
}

.profile-badge-removable {
  background-color: var(--light-gray);
  border: 1px solid #0000000d;
  border-radius: 20px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 14px;
  display: flex;
}

.profile-badge-remove {
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
  background: none;
  border: none;
  align-items: center;
  padding: 0;
  font-size: 14px;
  display: flex;
}

.profile-badge-remove:hover {
  color: var(--accent-pink);
}

.profile-badge-add {
  border: 1px dashed var(--gray);
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
  background: none;
  border-radius: 20px;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 14px;
  display: flex;
}

.profile-badge-add:hover {
  background-color: var(--light-gray);
  border-color: var(--gold);
  color: var(--gold);
}

.profile-activity-list {
  flex-direction: column;
  gap: 15px;
  display: flex;
}

.profile-activity-item {
  border-bottom: 1px solid var(--light-gray);
  align-items: center;
  padding: 15px 0;
  display: flex;
}

.profile-activity-item:last-child {
  border-bottom: none;
}

.profile-activity-icon {
  background: var(--accent-green);
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  font-size: 18px;
  display: flex;
}

.profile-activity-details {
  flex: 1;
}

.profile-activity-title {
  color: var(--navy);
  margin-bottom: 5px;
  font-weight: 600;
}

.profile-activity-desc {
  color: var(--gray);
  margin-bottom: 5px;
  font-size: 14px;
}

.profile-activity-time {
  color: var(--gray);
  font-size: 12px;
}

.profile-empty-state {
  text-align: center;
  color: var(--gray);
  padding: 40px;
  font-style: italic;
}

.profile-performance-chart {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  justify-content: center;
  align-items: center;
  height: 300px;
  margin-bottom: 20px;
  display: flex;
}

.profile-chart-placeholder {
  text-align: center;
  color: var(--gray);
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 20px;
  display: flex;
}

.profile-chart-placeholder svg {
  opacity: .5;
  margin-bottom: 10px;
  font-size: 48px;
}

.profile-chart-container {
  border-radius: var(--border-radius);
  background: #fff;
  min-height: 300px;
  padding: 20px;
}

.profile-chart-bars {
  justify-content: space-around;
  align-items: flex-end;
  gap: 8px;
  height: 250px;
  padding: 10px 0;
  display: flex;
}

.profile-chart-bar-container {
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  display: flex;
}

.profile-chart-bar {
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 4px 4px 0 0;
  width: 100%;
  min-height: 4px;
  transition: all .3s;
}

.profile-chart-bar:hover {
  opacity: .8;
  transform: scaleY(1.05);
}

.profile-chart-label {
  color: var(--gray);
  text-align: center;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: 8px;
  padding: 0 2px;
  font-size: 10px;
  overflow: hidden;
}

.profile-metric-value {
  color: var(--navy);
  margin-bottom: 5px;
  font-size: 24px;
  font-weight: 700;
}

.profile-metric-desc {
  color: var(--gray);
  font-size: 14px;
}

.profile-metric-desc.positive {
  color: var(--accent-green);
}

.profile-metric-desc.negative {
  color: var(--accent-red);
}

.profile-security-option {
  border-bottom: 1px solid var(--light-gray);
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  display: flex;
}

.profile-security-option:last-child {
  border-bottom: none;
}

.profile-security-info h4 {
  color: var(--navy);
  margin-bottom: 5px;
  font-size: 16px;
}

.profile-security-info p {
  color: var(--gray);
  font-size: 14px;
}

.profile-toggle-switch {
  width: 50px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.profile-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.profile-toggle-slider {
  cursor: pointer;
  background-color: #ccc;
  border-radius: 24px;
  transition: all .4s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.profile-toggle-slider:before {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  transition: all .4s;
  position: absolute;
  bottom: 4px;
  left: 4px;
}

.profile-toggle-switch input:checked + .profile-toggle-slider {
  background-color: var(--accent-green);
}

.profile-toggle-switch input:checked + .profile-toggle-slider:before {
  transform: translateX(26px);
}

.profile-session-item {
  border-bottom: 1px solid var(--light-gray);
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  display: flex;
}

.profile-session-item:last-child {
  border-bottom: none;
}

.profile-session-title {
  color: var(--navy);
  margin-bottom: 5px;
  font-weight: 600;
}

.profile-session-desc {
  color: var(--gray);
  font-size: 14px;
}

.profile-modal {
  z-index: 1000;
  background-color: #00000080;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.profile-modal-content {
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  background: #fff;
  overflow: hidden;
}

.profile-modal-header {
  border-bottom: 1px solid var(--light-gray);
  background: var(--gradient-navy);
  color: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  display: flex;
}

.profile-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.profile-modal-close {
  cursor: pointer;
  color: #fff;
  width: 30px;
  height: 30px;
  transition: var(--transition);
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 24px;
  display: flex;
}

.profile-modal-close:hover {
  background: #ffffff1a;
}

.profile-modal-body {
  padding: 25px;
}

.profile-modal-footer {
  border-top: 1px solid var(--light-gray);
  justify-content: flex-end;
  gap: 15px;
  padding: 20px 25px;
  display: flex;
}

.profile-password-group {
  position: relative;
}

.profile-template-grid {
  flex-direction: column;
  gap: 30px;
  display: flex;
}

.profile-template-category {
  margin-bottom: 30px;
}

.profile-template-category-title {
  color: var(--navy);
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
}

.profile-template-list {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  display: grid;
}

.profile-template-card {
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
  padding: 15px;
  position: relative;
}

.profile-template-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.profile-template-card.selected {
  border-color: var(--gold);
  background: #a583430d;
}

.profile-template-card.premium {
  border-color: var(--accent-purple);
}

.profile-template-preview {
  background: var(--light-gray);
  border-radius: 8px;
  height: 120px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.profile-template-preview-header {
  background: var(--gradient-navy);
  height: 30%;
}

.profile-template-preview-body {
  background: #fff;
  flex-direction: column;
  gap: 5px;
  height: 70%;
  padding: 10px;
  display: flex;
}

.profile-template-preview-body:before {
  content: "";
  background: var(--light-gray);
  border-radius: 4px;
  width: 60%;
  height: 8px;
}

.profile-template-preview-body:after {
  content: "";
  background: var(--light-gray);
  border-radius: 4px;
  width: 80%;
  height: 8px;
}

.profile-template-name {
  color: var(--navy);
  text-align: center;
  margin-bottom: 5px;
  font-weight: 600;
}

.profile-template-badge {
  background: var(--accent-green);
  color: #fff;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  position: absolute;
  top: 10px;
  right: 10px;
}

.profile-template-premium-badge {
  background: var(--accent-purple);
  color: #fff;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  position: absolute;
  top: 10px;
  right: 10px;
}

.profile-template-approval-badge {
  color: var(--amber);
  text-align: center;
  background: #f59e0b1a;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}

.profile-flyers-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
  display: grid;
}

.profile-flyer-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: #fff;
  overflow: hidden;
}

.profile-flyer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.profile-flyer-image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.profile-flyer-image img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.profile-flyer-status-badge {
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  top: 10px;
  right: 10px;
}

.profile-flyer-status-badge.pending {
  color: #fff;
  background: #f59e0be6;
}

.profile-flyer-status-badge.approved {
  color: #fff;
  background: #10b981e6;
}

.profile-flyer-status-badge.rejected {
  color: #fff;
  background: #ef4444e6;
}

.profile-flyer-info {
  padding: 15px;
}

.profile-flyer-info h4 {
  color: var(--navy);
  margin: 0 0 8px;
  font-size: 16px;
}

.profile-flyer-info p {
  color: var(--gray);
  margin: 0 0 8px;
  font-size: 14px;
}

.profile-flyer-date {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.profile-flyer-rejection-reason {
  color: #991b1b;
  background: #ef44441a;
  border-radius: 8px;
  margin-top: 10px;
  padding: 10px;
  font-size: 12px;
}

.profile-color-picker-container {
  align-items: center;
  gap: 10px;
  display: flex;
}

.profile-color-picker {
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  cursor: pointer;
  width: 60px;
  height: 45px;
  padding: 0;
}

.profile-color-picker:hover {
  border-color: var(--gold);
}

.profile-color-picker:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.profile-pending-change {
  border-left: 4px solid var(--amber);
  border-radius: var(--border-radius);
  background: #f59e0b1a;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 15px;
  display: flex;
}

.profile-pending-change-info {
  color: var(--navy);
  flex: 1;
}

.profile-pending-change-status {
  color: var(--amber);
  font-size: 14px;
  font-weight: 600;
}

.profile-admin-filters {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
  display: grid;
}

.profile-admin-pending-section, .profile-admin-agents-section {
  margin-top: 30px;
}

.profile-pending-approvals-list, .profile-agents-list {
  margin-top: 15px;
}

.profile-alert {
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.profile-empty-state {
  text-align: center;
  color: var(--gray);
  border-radius: var(--border-radius);
  border: 2px dashed var(--light-gray);
  background: #fff;
  padding: 40px 20px;
  font-size: 16px;
}

@media (max-width: 992px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }

  .profile-tabs-nav {
    flex-wrap: wrap;
  }

  .profile-template-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .profile-flyers-grid, .profile-admin-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .profile-header-actions {
    justify-content: space-between;
    width: 100%;
  }

  .profile-header-card {
    text-align: center;
    flex-direction: column;
  }

  .profile-performance-stats {
    grid-template-columns: 1fr;
  }

  .profile-stats {
    justify-content: center;
  }

  .profile-new-container {
    padding: 15px;
  }

  .profile-template-list {
    grid-template-columns: 1fr;
  }
}

.pin-display {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  margin: 20px 0;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.pin-display:before {
  content: "";
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.pin-display h2 {
  color: #667eea;
  letter-spacing: 8px;
  font-family: Courier New, monospace;
  font-size: 2.5rem;
  font-weight: 700;
}

.spinning {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.shift-modal .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px #00000026;
}

.shift-modal-header {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-bottom: none;
  padding: 20px 24px;
}

.shift-modal-header .btn-close {
  filter: invert();
  opacity: .9;
}

.shift-modal-header .btn-close:hover {
  opacity: 1;
}

.shift-modal-title {
  color: #fff;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
}

.shift-modal-body {
  background: #fff;
  padding: 28px;
}

.shift-form-label {
  color: #2d3748;
  align-items: center;
  margin-bottom: 8px;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
}

.shift-form-select {
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .95rem;
  transition: all .3s;
}

.shift-form-select:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 4px #667eea1a;
}

.shift-form-select:hover:not(:disabled) {
  border-color: #cbd5e0;
}

.shift-form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .95rem;
  transition: all .3s;
}

.shift-form-control:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 4px #667eea1a;
}

.shift-pin-toggle {
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all .3s;
}

.shift-pin-toggle:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
}

.shift-pin-label {
  color: #2d3748;
  align-items: center;
  font-weight: 500;
  display: flex;
}

.shift-pin-switch .form-check-input {
  cursor: pointer;
  width: 3rem;
  height: 1.5rem;
}

.shift-pin-switch .form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.shift-form-help {
  margin-top: 8px;
  font-size: .85rem;
  display: block;
}

.shift-modal-footer {
  background: #f7fafc;
  border-top: 1px solid #e2e8f0;
  padding: 20px 24px;
}

.shift-modal-btn-cancel {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 500;
  transition: all .3s;
}

.shift-modal-btn-cancel:hover {
  background: #e2e8f0;
  border-color: #cbd5e0;
}

.shift-modal-btn-save {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  align-items: center;
  padding: 10px 24px;
  font-weight: 600;
  transition: all .3s;
  display: flex;
}

.shift-modal-btn-save:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #667eea4d;
}

.shift-modal-btn-save:disabled {
  opacity: .6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .shift-modal-body {
    padding: 20px;
  }

  .shift-modal-title {
    font-size: 1.1rem;
  }

  .shift-form-select, .shift-form-control {
    font-size: 16px;
  }
}

.pin-modal .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px #00000026;
}

.pin-modal-header {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-bottom: none;
  padding: 20px 24px;
}

.pin-modal-header .btn-close {
  filter: invert();
  opacity: .9;
}

.pin-modal-header .btn-close:hover {
  opacity: 1;
}

.pin-modal-title {
  color: #fff;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
}

.pin-modal-body {
  background: #fff;
  padding: 28px;
}

.pin-alert {
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  margin-bottom: 24px;
}

.pin-copy-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  margin-top: 12px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all .3s;
}

.pin-copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #667eea66;
}

.pin-modal-footer {
  background: #f7fafc;
  border-top: 1px solid #e2e8f0;
  padding: 20px 24px;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.gradient-soft {
  background: linear-gradient(#fff 0%, #fafbff 100%);
}

.preview-item {
  border-bottom: 1px dashed #e2e8f0;
  justify-content: space-between;
  padding: 10px 0;
  display: flex;
}

.preview-item .label {
  color: #718096;
  font-weight: 500;
}

.preview-item .value {
  color: #1a202c;
  font-weight: 600;
}

.action-btns {
  gap: 8px;
}

.action-btns .btn {
  justify-content: center;
  align-items: center;
  min-width: 32px;
  min-height: 32px;
  font-size: 16px;
  transition: background .13s;
  display: inline-flex;
  box-shadow: none !important;
  border-radius: 6px !important;
}

.action-btns .btn-outline-primary:hover, .action-btns .btn-outline-danger:hover {
  filter: brightness(1.09);
  box-shadow: 0 1px 8px #667eea0f;
}

.action-btns .action-toggle .form-check-input {
  vertical-align: middle;
  border-radius: 999rem;
  box-shadow: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.spinning {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@media print {
  .btn, .input-group, .card-header {
    display: none !important;
  }

  .d-flex:has(.btn) {
    display: none !important;
  }

  .card {
    box-shadow: none !important;
    border: none !important;
  }
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.roster-stat .stat-title {
  color: #6b7280;
  margin-bottom: 6px;
  font-size: .85rem;
}

.roster-stat .stat-value {
  color: #111827;
  font-size: 1.4rem;
  font-weight: 700;
}

table thead th {
  color: #374151;
  font-weight: 600;
  border-bottom: 2px solid #eef2f7 !important;
}

table tbody td {
  vertical-align: middle;
}

.form-control:focus, .form-select:focus {
  border-color: #a58343;
  box-shadow: 0 0 0 .2rem #a5834340;
}

.form-control, .form-select {
  border-radius: 8px;
  padding: 10px 12px;
  transition: all .2s;
}

.form-control:hover, .form-select:hover {
  border-color: #a58343;
}

.btn-primary {
  background-color: #a58343;
  border-color: #a58343;
}

.btn-primary:hover {
  background-color: #8b6f3a;
  border-color: #8b6f3a;
}

.btn-outline-primary {
  color: #a58343;
  border-color: #a58343;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #a58343;
  border-color: #a58343;
}

.card {
  border: 1px solid #e9ecef;
  transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
  box-shadow: 0 2px 4px #0000001a;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px #00000026;
}

.stat-card {
  border-left: 4px solid #a58343;
  transition: transform .2s ease-in-out;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px #00000026;
}

.badge {
  padding: .35em .65em;
  font-size: .75rem;
  font-weight: 500;
}

.spinning {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.table-hover tbody tr:hover {
  background-color: #a583430d;
}

.table thead th {
  background-color: #a583431a;
  border-bottom: 2px solid #a58343;
  font-weight: 600;
}

.status-badge {
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 20px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: .875rem;
  font-weight: 500;
  display: inline-flex;
}

.status-badge.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.status-badge.warning {
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
}

.status-badge.danger {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

.status-badge.info {
  color: #0c5460;
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
}

.booking-card {
  border-left: 4px solid #0000;
  transition: all .3s;
}

.booking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px #00000026;
}

.booking-card.confirmed {
  border-left-color: #28a745;
}

.booking-card.pending {
  border-left-color: #ffc107;
}

.booking-card.completed {
  border-left-color: #17a2b8;
}

.booking-card.cancelled {
  border-left-color: #dc3545;
}

.modal-header {
  color: #fff;
  background: linear-gradient(135deg, #a58343 0%, #8b6f3a 100%);
  border-bottom: none;
}

.modal-header .btn-close {
  filter: invert();
}

.filter-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 16px;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper .search-icon {
  color: #6c757d;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.search-input-wrapper .form-control {
  padding-left: 40px;
}

.view-mode-buttons .btn {
  border-radius: 4px;
}

.view-mode-buttons .btn.active {
  color: #fff;
  background-color: #a58343;
  border-color: #a58343;
}

.stat-icon {
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  display: flex;
  box-shadow: 0 4px 12px #a583434d;
}

.stat-icon-primary {
  color: #fff;
  background: linear-gradient(135deg, #a58343, #8b6f3a);
}

.stat-icon-success {
  color: #fff;
  background: linear-gradient(135deg, #28a745, #218838);
}

.stat-icon-info {
  color: #fff;
  background: linear-gradient(135deg, #17a2b8, #138496);
}

.stat-icon-warning {
  color: #fff;
  background: linear-gradient(135deg, #ffc107, #e0a800);
}

.stat-card-primary {
  border-left-color: #a58343;
}

.stat-card-success {
  border-left-color: #28a745;
}

.stat-card-info {
  border-left-color: #17a2b8;
}

.stat-card-warning {
  border-left-color: #ffc107;
}

.stat-card-gradient {
  background: linear-gradient(135deg, #a583430d 0%, #a583431a 100%);
}

.progress {
  background-color: #a583431a;
  border-radius: 4px;
  height: 8px;
}

.progress-bar {
  background: linear-gradient(90deg, #a58343, #8b6f3a);
  border-radius: 4px;
}

.rating-stars {
  color: #ffc107;
}

@media (max-width: 768px) {
  .stat-card, .booking-card {
    margin-bottom: 1rem;
  }
}

.fade-in {
  animation: .5s ease-in fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.slide-up {
  animation: .5s ease-out slideUp;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-tabs .nav-link {
  color: #6c757d;
  border: none;
  border-bottom: 2px solid #0000;
  padding: 1rem 1.5rem;
  font-weight: 600;
  transition: all .3s;
}

.nav-tabs .nav-link:hover {
  color: #a58343;
  border-bottom-color: #a5834380;
}

.nav-tabs .nav-link.active {
  color: #a58343;
  background-color: #0000;
  border-bottom-color: #a58343;
}

.alert {
  border: none;
  border-radius: 8px;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
}

.loading-container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  display: flex;
}

.empty-state {
  text-align: center;
  color: #6c757d;
  padding: 3rem;
}

.empty-state-icon {
  opacity: .5;
  margin-bottom: 1rem;
  font-size: 4rem;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #a58343;
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #8b6f3a;
}

.tab-content {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-radius: 0 0 16px 16px;
  min-height: 0;
  padding: 0;
}

:root {
  --primary-900: #1f2937;
  --primary-800: #334155;
  --primary-700: #1e3a8a;
  --primary-500: #2563eb;
  --primary-300: #60a5fa;
  --accent-600: #d97706;
  --accent-500: #f59e0b;
  --neutral-50: #f8fafc;
  --neutral-100: #eef2ff;
  --neutral-200: #e2e8f0;
  --neutral-400: #94a3b8;
  --neutral-600: #475569;
  --white: #fff;
}

.agent-chat-app {
  min-height: 100vh;
  color: var(--primary-900);
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  justify-content: center;
  align-items: stretch;
  padding: 32px 20px 48px;
  font-family: Inter, Segoe UI, -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
}

.agent-chat-app .app-container {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid #94a3b847;
  border-radius: 24px;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 30px;
  display: flex;
  box-shadow: 0 20px 45px #0f172a26;
}

.app-header {
  color: var(--primary-900);
  background: linear-gradient(#fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0e6;
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  display: flex;
  box-shadow: 0 16px 32px #0f172a1f;
}

.chat-stats-container {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 8px 4px 0;
  display: grid;
}

.chat-stat-card {
  background: linear-gradient(135deg, #f59e0b1a 0%, #2563eb1f 100%);
  border: 1px solid #e2e8f0e6;
  border-radius: 18px;
  align-items: center;
  gap: 18px;
  padding: 24px;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 32px #94a3b82e;
}

.chat-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px #94a3b847;
}

.chat-stat-bg-overlay {
  opacity: 0;
  background: linear-gradient(135deg, #ffffff59, #e2e8f033);
  transition: opacity .3s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.chat-stat-card:hover .chat-stat-bg-overlay {
  opacity: 1;
}

.chat-stat-icon {
  color: #fff;
  z-index: 1;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  font-size: 22px;
  display: flex;
  box-shadow: 0 10px 20px #0f172a29;
}

.chat-stat-1 .chat-stat-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.chat-stat-2 .chat-stat-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.chat-stat-3 .chat-stat-icon {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.chat-stat-4 .chat-stat-icon {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

.chat-stat-info {
  z-index: 1;
  position: relative;
}

.chat-stat-info h3 {
  color: var(--primary-900);
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 700;
}

.chat-stat-info p {
  color: #6b7280;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.header-left {
  align-items: center;
  gap: 18px;
  display: flex;
}

.logo-icon {
  background: linear-gradient(135deg, var(--accent-500) 0%, #f8c045 100%);
  width: 54px;
  height: 54px;
  color: var(--primary-900);
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  display: flex;
  box-shadow: 0 12px 24px #f59e0b59;
}

.logo-text {
  letter-spacing: .02em;
  color: var(--primary-900);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.logo-subtitle {
  color: #6b7280;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
}

.user-controls {
  align-items: center;
  gap: 18px;
  display: flex;
}

.primary-button {
  color: var(--primary-900);
  background: linear-gradient(135deg, var(--accent-500) 0%, #f8cb6f 100%);
  border: 1px solid #f8c64d73;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 10px 24px #f59e0b4d;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px #f59e0b6b;
}

.subtle-button {
  color: #475569;
  background: #fff;
  border: 1px solid #94a3b859;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}

.subtle-button:hover {
  background: #e2e8f080;
}

.notification-bell {
  color: #475569;
  cursor: pointer;
  background: #fff;
  border: 1px solid #94a3b866;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  transition: transform .2s;
  display: flex;
  position: relative;
}

.notification-bell:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px #94a3b840;
}

.notification-badge {
  background: #ef4444;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 8px;
  right: 8px;
  box-shadow: 0 0 0 4px #ef444440;
}

.user-profile {
  background: #fff;
  border: 1px solid #94a3b859;
  border-radius: 999px;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  display: flex;
  box-shadow: 0 8px 16px #94a3b826;
}

.user-avatar {
  width: 38px;
  height: 38px;
  color: var(--primary-900);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  display: flex;
  box-shadow: inset 0 0 0 2px #0f172a40;
}

.user-info {
  flex-direction: column;
  line-height: 1.2;
  display: flex;
}

.user-name {
  color: var(--primary-900);
  font-size: 14px;
  font-weight: 600;
}

.user-role {
  color: #6b7280;
  font-size: 12px;
}

.user-role-badge {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #b45309;
  background: #f59e0b1f;
  border: 1px solid #f59e0b4d;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  display: inline-flex;
}

.main-content {
  grid-template-columns: 380px 1fr;
  gap: 28px;
  min-height: 75vh;
  display: grid;
  position: relative;
}

.main-content.has-right-panel {
  grid-template-columns: 380px 1fr 320px;
}

.sidebar {
  color: var(--primary-900);
  background: #fff;
  border: 1px solid #e2e8f0e6;
  border-radius: 20px;
  flex-direction: column;
  display: flex;
  overflow: hidden;
  box-shadow: 0 18px 32px #0f172a1f;
}

.sidebar-header {
  border-bottom: 1px solid #94a3b838;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px;
  display: flex;
}

.sidebar-settings-btn {
  color: #b45309;
  cursor: pointer;
  background: #f59e0b1f;
  border: 1px solid #f59e0b47;
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  transition: background .2s, transform .2s;
  display: flex;
}

.sidebar-settings-btn:hover {
  background: #f59e0b38;
  transform: translateY(-1px);
}

.sidebar-title {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
}

.sidebar-subtitle {
  color: #6b7280;
  font-size: 13px;
}

.search-container {
  border-bottom: 1px solid #94a3b829;
  padding: 20px 24px 18px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  color: var(--primary-900);
  background: #fff;
  border: 1px solid #94a3b84d;
  border-radius: 14px;
  padding: 12px 16px 12px 44px;
  font-size: 14px;
  transition: border .2s, box-shadow .2s;
}

.search-box input::placeholder {
  color: #94a3b8e6;
}

.search-box input:focus {
  border-color: #f59e0b73;
  outline: none;
  box-shadow: 0 0 0 3px #f59e0b33;
}

.search-icon {
  color: #94a3b8d9;
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.connection-pill {
  color: #b45309;
  background: #f59e0b1f;
  border: 1px solid #f59e0b47;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  display: inline-flex;
}

.search-status {
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  display: flex;
}

.notification-alert {
  background: #f59e0b14;
  border: 1px solid #f59e0b33;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  font-size: 13px;
  display: flex;
}

.notification-alert-icon {
  color: #b45309;
  font-size: 14px;
}

.notification-alert-text {
  color: #6b7280;
  flex: 1;
  font-size: 12px;
}

.notification-toggle {
  cursor: pointer;
  background: #cbd5e1;
  border: none;
  border-radius: 12px;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  transition: background .3s;
  position: relative;
}

.notification-toggle.enabled {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
}

.toggle-slider {
  background: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  transition: transform .3s;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 2px 4px #0003;
}

.notification-toggle.enabled .toggle-slider {
  transform: translateX(20px);
}

.search-results {
  background: #fff;
  border: 1px solid #e2e8f0e6;
  border-radius: 14px;
  margin: 0 24px 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px #0f172a1f;
}

.search-result-item {
  cursor: pointer;
  border-bottom: 1px solid #e2e8f0e6;
  padding: 14px 18px;
  transition: background .2s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #f59e0b14;
}

.search-result-snippet {
  color: #6b7280;
  margin-top: 4px;
  font-size: 13px;
}

.search-result-meta {
  color: #94a3b8;
  font-size: 12px;
}

.chat-list {
  flex: 1;
  padding: 8px 12px 24px;
  overflow-y: auto;
}

.chat-item {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e2e8f0e6;
  border-radius: 18px;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px 16px;
  transition: border .2s, background .2s, transform .2s;
  display: flex;
  box-shadow: 0 10px 20px #94a3b82e;
}

.chat-item:hover {
  border-color: #f59e0b80;
  transform: translateY(-2px);
}

.chat-item.active {
  background: linear-gradient(135deg, #f59e0b2e, #2563eb1f);
  border-color: #f59e0bb3;
  box-shadow: 0 16px 28px #94a3b847;
}

.chat-item.has-unread {
  background: linear-gradient(135deg, #ef444414, #fffffff2);
  border-color: #ef444466;
  box-shadow: 0 10px 20px #ef444426;
}

.chat-item.has-unread:hover {
  background: linear-gradient(135deg, #ef44441f, #fffffffa);
  border-color: #ef444499;
}

.chat-avatar {
  width: 48px;
  height: 48px;
  color: var(--primary-900);
  background: linear-gradient(135deg, var(--white) 0%, #e2e8f0 100%);
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  position: relative;
  overflow: visible;
  box-shadow: inset 0 0 0 2px #0f172a33;
}

.chat-avatar img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.chat-info {
  flex-direction: column;
  flex: 1;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.chat-header {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.chat-name {
  color: var(--primary-900);
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.chat-header-right {
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  display: flex;
}

.chat-time {
  color: #94a3b8;
  white-space: nowrap;
  font-size: 12px;
}

.chat-meta {
  color: #6b7280;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  display: flex;
}

.chat-scope-pill {
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #f59e0b26;
  border: 1px solid #f59e0b59;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  display: inline-flex;
}

.chat-preview {
  color: #6b7280;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  overflow: hidden;
}

.chat-preview.empty {
  color: #94a3b8cc;
}

.unread-badge {
  color: #fff;
  background: #ef4444;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  box-shadow: 0 2px 8px #ef444466;
}

.unread-indicator-circle {
  color: #fff;
  z-index: 10;
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: -4px;
  right: -4px;
  box-shadow: 0 2px 8px #ef444480, 0 0 0 3px #ffffffe6;
}

.chat-preview.unread-preview {
  color: var(--primary-900);
  font-weight: 600;
}

.chat-area {
  background: #fff;
  border: 1px solid #e2e8f0e6;
  border-radius: 20px;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 75vh;
  max-height: 75vh;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 36px #0f172a2e;
}

.chat-header-main {
  box-sizing: border-box;
  background: linear-gradient(120deg, #fffffff2 0%, #e2e8f0d9 100%);
  border-bottom: 1px solid #94a3b82e;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 28px 32px;
  display: flex;
}

.chat-header-info {
  align-items: center;
  gap: 18px;
  display: flex;
}

.chat-header-avatar {
  width: 56px;
  height: 56px;
  color: var(--primary-900);
  background: linear-gradient(135deg, #f59e0b29, #2563eb1f);
  border: 1px solid #f59e0b47;
  border-radius: 18px;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  overflow: hidden;
}

.chat-header-avatar img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.chat-header-details {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.chat-header-name {
  color: var(--primary-900);
  font-size: 18px;
  font-weight: 600;
  transition: color .2s;
}

.chat-header-name:hover {
  color: var(--accent-600);
  text-decoration: underline;
}

.chat-header-meta {
  color: var(--neutral-600);
  align-items: center;
  gap: 10px;
  font-size: 13px;
  display: flex;
}

.chat-header-subtitle {
  color: var(--neutral-600);
  font-size: 13px;
}

.chat-actions {
  gap: 14px;
  display: flex;
}

.chat-action-btn {
  color: #b45309;
  cursor: pointer;
  background: #f59e0b1f;
  border: 1px solid #f59e0b47;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  transition: background .2s, transform .2s;
  display: flex;
}

.chat-action-btn:hover {
  background: #f59e0b33;
  transform: translateY(-2px);
}

.messages-container {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: linear-gradient(#f8fafc 0%, #eef2ff 100%);
  flex-direction: column;
  flex: 1;
  gap: 12px;
  width: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 28px 32px 24px;
  display: flex;
  overflow: hidden auto;
}

.messages-container::-webkit-scrollbar {
  width: 8px;
}

.messages-container::-webkit-scrollbar-track {
  background: #e2e8f04d;
  border-radius: 4px;
}

.messages-container::-webkit-scrollbar-thumb {
  background: #94a3b880;
  border-radius: 4px;
}

.messages-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8b3;
}

.message {
  flex-direction: column;
  flex-shrink: 0;
  gap: 6px;
  min-width: 0;
  max-width: 72%;
  margin-bottom: 4px;
  animation: .28s fadeIn;
  display: flex;
}

.message-sent {
  align-self: flex-end;
  align-items: flex-end;
  margin-left: auto;
}

.message-received {
  align-self: flex-start;
  align-items: flex-start;
  margin-right: auto;
}

.message-sender {
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 600;
}

.message-bubble {
  color: var(--primary-900);
  text-align: left;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  background: #f4f7fef2;
  border: 1px solid #e2e8f0e6;
  border-radius: 18px;
  max-width: 100%;
  padding: 14px 16px;
  box-shadow: 0 10px 18px #0f172a1a;
}

.message-sent .message-bubble {
  color: #fff;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-bottom-right-radius: 4px;
  box-shadow: 0 12px 24px #22c55e42;
}

.message-received .message-bubble {
  background: #fff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px #00000014;
}

.message-text {
  font-size: 14px;
  line-height: 1.5;
}

.message-footer {
  letter-spacing: .02em;
  color: #94a3b8;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 0 4px;
  font-size: 11px;
  display: flex;
}

.message-sent .message-footer {
  color: #0f172ab3;
  justify-content: flex-end;
}

.message-received .message-footer {
  justify-content: flex-start;
}

.message-role {
  text-transform: uppercase;
  font-weight: 600;
}

.typing-indicator {
  color: #b45309;
  background: #f59e0b26;
  border: 1px solid #f59e0b47;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 16px;
  font-size: 12px;
  display: inline-flex;
}

.typing-dot {
  background: #f59e0b;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 1.4s ease-in-out infinite typing;
}

.typing-dot:nth-child(2) {
  animation-delay: .18s;
}

.typing-dot:nth-child(3) {
  animation-delay: .36s;
}

.input-container {
  box-sizing: border-box;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0e6;
  flex-shrink: 0;
  width: 100%;
  padding: 22px 28px;
}

.input-wrapper {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e2e8f0e6;
  border-radius: 18px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 8px 12px;
  display: flex;
  box-shadow: 0 12px 24px #94a3b829;
}

.input-actions {
  gap: 10px;
  display: flex;
}

.input-action-btn {
  color: #b45309;
  cursor: pointer;
  background: #f59e0b1f;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: background .2s;
  display: flex;
}

.input-action-btn:hover {
  background: #f59e0b38;
}

.message-input {
  resize: none;
  max-height: 150px;
  color: var(--primary-900);
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  background: none;
  border: none;
  flex: 1;
  width: 100%;
  min-width: 0;
  font-size: 14px;
}

.message-input:focus {
  outline: none;
}

.send-button {
  background: linear-gradient(135deg, var(--accent-500) 0%, #f8c045 100%);
  width: 48px;
  height: 48px;
  color: var(--primary-900);
  cursor: pointer;
  border: none;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  box-shadow: 0 12px 24px #f59e0b59;
}

.send-button:disabled {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
}

.send-button:not(:disabled):hover {
  transform: translateY(-2px);
}

.preview-attachment {
  background: #f59e0b1f;
  border: 1px dashed #f59e0b59;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px 16px;
  display: flex;
}

.preview-attachment-name {
  color: #b45309;
  font-weight: 600;
}

.preview-attachment-size {
  color: #6b7280;
  font-size: 12px;
}

.preview-attachment-remove {
  color: #475569b3;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 18px;
}

.contact-modal-backdrop {
  z-index: 1400;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #0f172a59;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.contact-modal {
  width: 540px;
  max-width: calc(100% - 48px);
  color: var(--primary-900);
  background: #fff;
  border: 1px solid #e2e8f0e6;
  border-radius: 20px;
  flex-direction: column;
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 45px #0f172a2e;
}

.contact-modal-header, .contact-modal-footer {
  padding: 20px 24px;
}

.contact-modal-header {
  border-bottom: 1px solid #e2e8f0e6;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.contact-modal-body {
  max-height: 420px;
  padding: 20px 24px;
  overflow-y: auto;
}

.contact-modal-footer {
  border-top: 1px solid #e2e8f0e6;
  justify-content: flex-end;
  gap: 12px;
  display: flex;
}

.contact-category {
  margin-bottom: 20px;
}

.contact-category-title {
  color: #475569;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
}

.contact-list-item {
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e2e8f0e6;
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px 14px;
  transition: border .2s, background .2s;
  display: flex;
}

.contact-list-item:hover, .contact-list-item.active {
  background: #f59e0b26;
  border-color: #f59e0b8c;
}

.contact-name {
  color: var(--primary-900);
  font-weight: 600;
}

.contact-meta {
  color: #6b7280;
  font-size: 12px;
}

.empty-state {
  text-align: center;
  color: #475569d9;
  padding: 64px 24px;
}

.empty-state h5 {
  color: var(--primary-800);
  margin-bottom: 8px;
  font-size: 18px;
}

.status-indicator {
  background: #9ca3af;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  display: inline-flex;
}

.status-online {
  background: #22c55e;
  box-shadow: 0 0 0 4px #22c55e26;
}

.status-away {
  background: #facc15;
  box-shadow: 0 0 0 4px #facc1526;
}

.status-offline {
  background: #9ca3af;
}

@keyframes typing {
  0%, 60%, 100% {
    opacity: .4;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-6px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .agent-chat-app {
    padding: 24px 16px 40px;
  }

  .app-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .main-content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .chat-area {
    order: 1;
  }
}

.right-panel {
  background: #fff;
  border: 1px solid #e2e8f0e6;
  border-radius: 20px;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  height: 75vh;
  max-height: 75vh;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 36px #0f172a2e;
}

.right-panel-header {
  background: linear-gradient(120deg, #fffffff2 0%, #e2e8f0d9 100%);
  border-bottom: 1px solid #94a3b82e;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  display: flex;
}

.right-panel-header h3 {
  color: var(--primary-900);
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.right-panel-close {
  color: #475569;
  cursor: pointer;
  background: #94a3b826;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: background .2s;
  display: flex;
}

.right-panel-close:hover {
  background: #94a3b840;
}

.right-panel-content {
  flex-direction: column;
  flex: 1;
  gap: 24px;
  padding: 24px 28px;
  display: flex;
  overflow-y: auto;
}

.right-panel-profile {
  text-align: center;
  border-bottom: 1px solid #94a3b82e;
  padding-bottom: 24px;
}

.right-panel-avatar {
  width: 80px;
  height: 80px;
  color: var(--primary-900);
  background: linear-gradient(135deg, #f59e0b29, #2563eb1f);
  border: 1px solid #f59e0b47;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  overflow: hidden;
}

.right-panel-avatar img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.right-panel-profile h4 {
  color: var(--primary-900);
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.right-panel-subtitle {
  color: #6b7280;
  margin: 0 0 12px;
  font-size: 14px;
}

.right-panel-badge {
  color: #b45309;
  background: #f59e0b26;
  border: 1px solid #f59e0b59;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.right-panel-section {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.right-panel-section h5 {
  color: var(--primary-900);
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.participants-list {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.participant-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0e6;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
  position: relative;
}

.participant-avatar {
  width: 40px;
  height: 40px;
  color: var(--primary-900);
  background: linear-gradient(135deg, var(--white) 0%, #e2e8f0 100%);
  border-radius: 12px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px #0f172a33;
}

.participant-avatar img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.participant-info {
  flex: 1;
  min-width: 0;
}

.participant-name {
  color: var(--primary-900);
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
}

.participant-role {
  color: #6b7280;
  font-size: 12px;
}

.participant-item .status-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
}

.contact-details {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.contact-detail-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0e6;
  border-radius: 12px;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
  padding: 12px;
  display: grid;
}

.contact-detail-label {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
  font-weight: 600;
}

.contact-detail-value {
  color: var(--primary-900);
  font-size: 14px;
  font-weight: 500;
}

.status-text-online {
  color: #22c55e;
  font-weight: 600;
}

.status-text-offline {
  color: #9ca3af;
}

.right-panel-actions {
  border-top: 1px solid #94a3b82e;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  display: flex;
}

.right-panel-action-btn {
  color: #b45309;
  cursor: pointer;
  background: #f59e0b1f;
  border: 1px solid #f59e0b47;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .2s;
  display: flex;
}

.right-panel-action-btn:hover {
  background: #f59e0b38;
  transform: translateX(2px);
}

.right-panel-action-btn.danger {
  color: #dc2626;
  background: #ef44441f;
  border-color: #ef444447;
}

.right-panel-action-btn.danger:hover {
  background: #ef444438;
}

.right-panel-content::-webkit-scrollbar {
  width: 6px;
}

.right-panel-content::-webkit-scrollbar-track {
  background: #e2e8f04d;
  border-radius: 3px;
}

.right-panel-content::-webkit-scrollbar-thumb {
  background: #94a3b880;
  border-radius: 3px;
}

.right-panel-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8b3;
}

@media (max-width: 640px) {
  .app-header {
    padding: 20px;
  }

  .user-controls {
    justify-content: space-between;
    width: 100%;
  }

  .main-content {
    gap: 20px;
  }

  .main-content.has-right-panel {
    grid-template-columns: 1fr;
  }

  .right-panel {
    z-index: 1000;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
  }

  .messages-container {
    padding: 20px 16px;
  }

  .message {
    max-width: 85%;
  }

  .chat-header-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .chat-actions {
    justify-content: space-between;
    width: 100%;
  }
}

.user-profile-travel-agency-profile {
  background: linear-gradient(135deg, #0f172a 0%, #64748b 100%);
  min-height: 100vh;
  padding: 2rem 2rem 0;
  font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
}

.user-profile-header {
  margin-bottom: 2rem;
  padding: 0 1rem;
  position: relative;
}

.user-profile-cover-photo {
  border-radius: 0 0 25px 25px;
  height: 300px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px #0000004d;
}

.user-profile-cover-photo img {
  -o-object-fit: cover;
  object-fit: cover;
  filter: brightness(.6);
  width: 100%;
  height: 100%;
}

.user-profile-cover-overlay {
  background: linear-gradient(135deg, #0f172a80 0%, #64748b4d 100%);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.user-profile-info {
  margin-top: -80px;
  padding: 0 2rem;
  position: relative;
}

.user-profile-avatar-section, .user-profile-avatar-container {
  display: inline-block;
  position: relative;
}

.user-profile-avatar {
  -o-object-fit: cover;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 12px 40px #a5834366;
}

.user-profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px #a5834399;
}

.user-profile-verified-badge {
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  border: 3px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  animation: 2s infinite userProfilePulse;
  display: flex;
  position: absolute;
  bottom: 10px;
  right: 10px;
  box-shadow: 0 6px 20px #a5834380;
}

@keyframes userProfilePulse {
  0% {
    box-shadow: 0 6px 20px #a5834380;
  }

  50% {
    box-shadow: 0 6px 20px #a58343cc;
  }

  100% {
    box-shadow: 0 6px 20px #a5834380;
  }
}

.user-profile-details {
  max-width: 800px;
  margin-top: 1rem;
}

.user-profile-name-section {
  align-items: center;
  gap: 1rem;
  margin-bottom: .5rem;
  display: flex;
}

.user-profile-name {
  color: #fff;
  text-shadow: 0 2px 10px #0000004d;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 900;
}

.user-profile-verified-tag {
  color: #fff;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  border-radius: 20px;
  align-items: center;
  gap: .25rem;
  padding: .4rem .8rem;
  font-size: .8rem;
  font-weight: 700;
  animation: .6s ease-out userProfileSlideInRight;
  display: flex;
  box-shadow: 0 4px 15px #a5834366;
}

@keyframes userProfileSlideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.user-profile-role {
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  -webkit-background-clip: text;
  background-clip: text;
  margin: .5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.user-profile-bio {
  color: #e2e8f0;
  text-shadow: 0 1px 3px #0003;
  margin: 1rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.user-profile-specializations {
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
  display: flex;
}

.user-profile-specialization-tag {
  color: #d4af37;
  background: #a5834326;
  border: 1px solid #a583434d;
  border-radius: 20px;
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 8px #a5834333;
}

.user-profile-specialization-tag:hover {
  background: #a5834340;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #a5834366;
}

.user-profile-actions {
  gap: 1rem;
  margin-top: 1.5rem;
  display: flex;
}

.user-profile-btn {
  cursor: pointer;
  border: none;
  border-radius: 25px;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: inline-flex;
  box-shadow: 0 4px 15px #0003;
}

.user-profile-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 6px 20px #f59e0b66;
}

.user-profile-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px #f59e0b99;
}

.user-profile-btn-secondary {
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #132d5033;
  border: 2px solid #1e3a8a66;
}

.user-profile-btn-secondary:hover {
  background: #132d504d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #132d5066;
}

.user-profile-nav {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 20px;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: .5rem;
  display: flex;
  overflow-x: auto;
  box-shadow: 0 8px 30px #0003;
}

.user-profile-nav-tab {
  color: #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-radius: 15px;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
}

.user-profile-nav-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #132d50 0%, #1e3a8a 100%);
  box-shadow: 0 6px 20px #132d5066;
}

.user-profile-nav-tab:hover:not(.active) {
  color: #d4af37;
  background: #a5834333;
}

.user-profile-content {
  padding: 0 2rem 2rem;
}

.user-profile-content-grid {
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
}

.user-profile-main-content {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #fffffffa;
  border: 1px solid #ffffff4d;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 50px #0003;
}

.user-profile-stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: grid;
}

.user-profile-stat-card {
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #a5834326;
  border-radius: 15px;
  padding: 1.5rem;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px #00000014;
}

.user-profile-stat-card:before {
  content: "";
  background: linear-gradient(90deg, #0000, #a583431a, #0000);
  width: 100%;
  height: 100%;
  transition: left .5s;
  position: absolute;
  top: 0;
  left: -100%;
}

.user-profile-stat-card:hover:before {
  left: 100%;
}

.user-profile-stat-card:hover {
  border-color: #a583434d;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px #a5834340;
}

.user-profile-stat-icon {
  justify-content: center;
  align-items: center;
  margin-bottom: .75rem;
  display: flex;
}

.user-profile-stat-number {
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: .25rem;
  font-size: 2rem;
  font-weight: 900;
}

.user-profile-stat-label {
  color: #64748b;
  font-size: .9rem;
  font-weight: 600;
}

.user-profile-about-section {
  margin-bottom: 2rem;
}

.user-profile-about-section h3 {
  color: #0f172a;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.user-profile-about-grid {
  gap: 1rem;
  display: grid;
}

.user-profile-about-item {
  background: linear-gradient(135deg, #a583430d 0%, #d4af3708 100%);
  border: 1px solid #a583431a;
  border-radius: 12px;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transition: all .3s;
  display: flex;
}

.user-profile-about-item:hover {
  background: linear-gradient(135deg, #a5834314 0%, #d4af370d 100%);
  transform: translateX(3px);
}

.user-profile-about-icon {
  background: #a583431a;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all .3s;
  display: flex;
}

.user-profile-about-item:hover .user-profile-about-icon {
  background: #a5834333;
  transform: scale(1.1);
}

.user-profile-services-section h3 {
  color: #0f172a;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.user-profile-services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.user-profile-service-card {
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #a5834326;
  border-radius: 15px;
  padding: 1.5rem;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px #00000014;
}

.user-profile-service-card:before {
  content: "";
  background: linear-gradient(90deg, #a58343, #d4af37);
  height: 3px;
  transition: transform .3s;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
}

.user-profile-service-card:hover:before {
  transform: scaleX(1);
}

.user-profile-service-card:hover {
  border-color: #a583434d;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px #a5834340;
}

.user-profile-service-icon {
  justify-content: center;
  align-items: center;
  height: 80px;
  margin-bottom: 1rem;
  display: flex;
}

.user-profile-service-card h4 {
  color: #0f172a;
  margin-bottom: .5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.user-profile-service-card p {
  color: #64748b;
  margin-bottom: 1rem;
  font-size: .9rem;
  line-height: 1.5;
}

.user-profile-service-price {
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.1rem;
  font-weight: 700;
}

.user-profile-bookings-section h3 {
  color: #0f172a;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.user-profile-bookings-list {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.user-profile-booking-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #a5834326;
  border-radius: 15px;
  padding: 1.5rem;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 6px 20px #00000014;
}

.user-profile-booking-card:hover {
  border-color: #a583434d;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #a5834340;
}

.user-profile-booking-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  display: flex;
}

.user-profile-booking-title {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.user-profile-booking-icon {
  background: #a583431a;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all .3s;
  display: flex;
}

.user-profile-booking-card:hover .user-profile-booking-icon {
  background: #a5834333;
  transform: scale(1.1);
}

.user-profile-booking-header h4 {
  color: #0f172a;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.user-profile-booking-status {
  border-radius: 15px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
}

.user-profile-booking-status.confirmed {
  color: #fff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 15px #10b9814d;
}

.user-profile-booking-status.pending {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 15px #f59e0b4d;
}

.user-profile-booking-details p {
  color: #64748b;
  margin: .25rem 0;
  font-size: .9rem;
}

.user-profile-booking-details strong {
  color: #0f172a;
  font-weight: 600;
}

.user-profile-testimonials-section h3 {
  color: #0f172a;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.user-profile-testimonials-list {
  flex-direction: column;
  gap: 1.5rem;
  display: flex;
}

.user-profile-testimonial-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #a5834326;
  border-radius: 15px;
  padding: 1.5rem;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 6px 20px #00000014;
}

.user-profile-testimonial-card:hover {
  border-color: #a583434d;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #a5834340;
}

.user-profile-testimonial-header {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  display: flex;
}

.user-profile-client-info {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.user-profile-client-avatar {
  border: 2px solid #a5834333;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  overflow: hidden;
}

.user-profile-client-avatar img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.user-profile-client-details h4 {
  color: #0f172a;
  margin: 0 0 .25rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.user-profile-rating {
  align-items: center;
  display: flex;
}

.user-profile-stars {
  color: #f59e0b;
  font-size: 1rem;
}

.user-profile-testimonial-date {
  color: #94a3b8;
  font-size: .85rem;
  font-weight: 500;
}

.user-profile-testimonial-text {
  color: #64748b;
  margin: 0;
  font-size: .95rem;
  font-style: italic;
  line-height: 1.6;
}

.user-profile-sidebar {
  flex-direction: column;
  gap: 1.5rem;
  display: flex;
}

.user-profile-sidebar-card {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #fffffffa;
  border: 1px solid #ffffff4d;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 35px #00000026;
}

.user-profile-sidebar-card h3 {
  color: #0f172a;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.user-profile-achievements-list {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.user-profile-achievement-item {
  background: linear-gradient(135deg, #a583430d 0%, #d4af3708 100%);
  border: 1px solid #a583431a;
  border-radius: 12px;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
}

.user-profile-achievement-item:hover {
  background: linear-gradient(135deg, #a5834314 0%, #d4af370d 100%);
  transform: translateX(5px);
  box-shadow: 0 6px 20px #a5834326;
}

.user-profile-achievement-icon {
  background: #a583431a;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  transition: all .3s;
  display: flex;
}

.user-profile-achievement-item:hover .user-profile-achievement-icon {
  background: #a5834333;
  transform: scale(1.1);
}

.user-profile-achievement-details {
  flex-direction: column;
  display: flex;
}

.user-profile-achievement-label {
  color: #0f172a;
  font-size: .9rem;
  font-weight: 600;
}

.user-profile-achievement-count {
  color: #64748b;
  font-size: .8rem;
  font-weight: 500;
}

.user-profile-availability-info {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.user-profile-availability-status {
  color: #10b981;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
}

.user-profile-status-indicator {
  background: #10b9811a;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  transition: all .3s;
  display: flex;
}

.user-profile-status-indicator.available {
  background: #10b9811a;
  box-shadow: 0 0 12px #10b9814d;
}

.user-profile-availability-info p {
  color: #64748b;
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
}

.user-profile-contact-info {
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.user-profile-contact-item {
  color: #64748b;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
}

.user-profile-contact-icon {
  font-size: 1.1rem;
}

.user-profile-social-links {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.user-profile-social-link {
  border-radius: 20px;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 3px 12px #0000001a;
}

.user-profile-social-link.facebook {
  color: #fff;
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}

.user-profile-social-link.instagram {
  color: #fff;
  background: linear-gradient(135deg, #e4405f 0%, #c13584 100%);
}

.user-profile-social-link.linkedin {
  color: #fff;
  background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.user-profile-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #0003;
}

.user-profile-modal-overlay {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  background: #0f172acc;
  justify-content: center;
  align-items: center;
  animation: .4s cubic-bezier(.4, 0, .2, 1) userProfileFadeIn;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.user-profile-contact-modal {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #ffffff4d;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  animation: .4s cubic-bezier(.4, 0, .2, 1) userProfileSlideUp;
  box-shadow: 0 25px 70px #0006;
}

.user-profile-modal-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  display: flex;
}

.user-profile-modal-header h3 {
  color: #0f172a;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
}

.user-profile-modal-close {
  cursor: pointer;
  color: #64748b;
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0;
  transition: all .3s;
  display: flex;
}

.user-profile-modal-close:hover {
  color: #a58343;
  background: #a583431a;
}

.user-profile-contact-options {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.user-profile-contact-option {
  color: #0f172a;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #a5834326;
  border-radius: 12px;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  box-shadow: 0 3px 12px #00000014;
}

.user-profile-contact-option:hover {
  color: #fff;
  background: linear-gradient(135deg, #a58343 0%, #d4af37 100%);
  border-color: #a583434d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #a5834340;
}

.user-profile-contact-option-icon {
  background: #a583431a;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all .3s;
  display: flex;
}

.user-profile-contact-option:hover .user-profile-contact-option-icon {
  background: #fff3;
  transform: scale(1.1);
}

@keyframes userProfileFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes userProfileSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes userProfileBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 1200px) {
  .user-profile-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .user-profile-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .user-profile-travel-agency-profile {
    padding: 1.5rem 1rem 0;
  }

  .user-profile-info {
    padding: 0 1rem;
  }

  .user-profile-content {
    padding: 0 1rem 1rem;
  }

  .user-profile-nav {
    margin: 0 1rem 1rem;
  }

  .user-profile-main-content {
    padding: 1.5rem;
  }

  .user-profile-stats-grid, .user-profile-services-grid {
    grid-template-columns: 1fr;
  }

  .user-profile-name {
    font-size: 2rem;
  }

  .user-profile-role {
    font-size: 1.3rem;
  }

  .user-profile-actions {
    flex-direction: column;
  }

  .user-profile-nav-tab {
    padding: .875rem 1.25rem;
    font-size: .9rem;
  }

  .user-profile-avatar {
    width: 120px;
    height: 120px;
  }

  .user-profile-cover-photo {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .user-profile-stats-grid {
    grid-template-columns: 1fr;
  }

  .user-profile-name {
    font-size: 1.8rem;
  }

  .user-profile-avatar {
    width: 100px;
    height: 100px;
  }

  .user-profile-cover-photo {
    height: 200px;
  }

  .user-profile-info {
    margin-top: -60px;
  }

  .user-profile-btn {
    padding: .75rem 1.25rem;
    font-size: .9rem;
  }
}

.analytics-dashboard-wrapper {
  z-index: 1;
  min-height: 100vh;
  padding: 32px 20px;
  position: relative;
}

.analytics-dashboard-container {
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border: 1px solid #fffc;
  border-radius: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  box-shadow: 0 8px 32px #0000001f, 0 2px 8px #00000014;
}

.analytics-loading {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  display: flex;
}

.analytics-spinner {
  color: #1976d2;
  border-width: .3rem;
  width: 3rem;
  height: 3rem;
}

.analytics-header {
  margin-bottom: 2rem;
}

.analytics-title {
  background: linear-gradient(135deg, #1f2937 0%, #4b5563 50%, #6b7280 100%);
  -webkit-text-fill-color: transparent;
  letter-spacing: -.5px;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 8px !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
}

.analytics-subtitle {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.analytics-select {
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  padding: .5rem 1rem;
}

.analytics-stat-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%) !important;
  border: none !important;
  border-radius: 20px !important;
  transition: all .3s cubic-bezier(.4, 0, .2, 1) !important;
  box-shadow: 0 4px 20px #00000014, 0 1px 3px #0000000d !important;
}

.analytics-stat-card:before {
  content: "";
  background: linear-gradient(90deg, #0000, #fffc, #0000);
  height: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.analytics-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px #0000001f, 0 4px 8px #00000014 !important;
}

.analytics-stat-card .card-body {
  padding: 1.5rem;
  position: relative;
}

.stat-icon {
  color: #fff;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  box-shadow: 0 4px 12px #0000001a, 0 2px 4px #0000000f;
}

.stat-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #00000026, 0 4px 8px #0000001a;
}

.stat-icon.revenue {
  background: linear-gradient(135deg, #4caf50, #45a049);
}

.stat-icon.bookings {
  background: linear-gradient(135deg, #1976d2, #1565c0);
}

.stat-icon.agents {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.stat-icon.clients {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.stat-icon.vendors {
  background: linear-gradient(135deg, #00bcd4, #0097a7);
}

.stat-icon.average {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

.stat-icon.conversion {
  background: linear-gradient(135deg, #ff5722, #e64a19);
}

.stat-icon.growth {
  background: linear-gradient(135deg, #4caf50, #388e3c);
}

.stat-value {
  color: #1f2937;
  margin-bottom: .5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.stat-label {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .5rem;
  font-size: .875rem;
  font-weight: 500;
}

.analytics-chart-card {
  margin-bottom: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%) !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 20px !important;
  transition: all .3s cubic-bezier(.4, 0, .2, 1) !important;
  box-shadow: 0 4px 20px #00000014, 0 1px 3px #0000000d !important;
}

.analytics-chart-card:hover {
  box-shadow: 0 8px 28px #0000001f, 0 4px 8px #00000014 !important;
}

.analytics-chart-card .card-header {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(#fff 0%, #f8fafc 100%) !important;
  border-bottom: 2px solid #f3f4f6 !important;
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem !important;
}

.analytics-chart-card .card-body {
  padding: 1.5rem;
}

.analytics-table-card {
  margin-bottom: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%) !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 20px !important;
  transition: all .3s cubic-bezier(.4, 0, .2, 1) !important;
  box-shadow: 0 4px 20px #00000014, 0 1px 3px #0000000d !important;
}

.analytics-table-card:hover {
  box-shadow: 0 8px 28px #0000001f, 0 4px 8px #00000014 !important;
}

.analytics-table-card .card-header {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(#fff 0%, #f8fafc 100%) !important;
  border-bottom: 2px solid #f3f4f6 !important;
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem !important;
}

.analytics-table-card .card-body {
  padding: 1.5rem;
}

.analytics-table-card table {
  margin-bottom: 0;
}

.analytics-table-card thead {
  background-color: #1976d214;
}

.analytics-table-card thead th {
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #1f2937;
  border-bottom: 2px solid #f3f4f6;
  padding: .875rem 1rem;
  font-size: .875rem;
  font-weight: 700;
}

.analytics-table-card tbody td {
  vertical-align: middle;
  color: #374151;
  padding: .875rem 1rem;
  font-size: .875rem;
}

.analytics-table-card tbody tr:hover {
  background-color: #1976d20a;
}

.analytics-table-card tbody tr:nth-of-type(2n) {
  background-color: #1976d205;
}

.analytics-tabs-nav {
  gap: 8px;
  margin-bottom: 2rem;
  border-bottom: 2px solid #f3f4f6 !important;
}

.analytics-tabs-nav .nav-link {
  position: relative;
  color: #6b7280 !important;
  background: none !important;
  border: none !important;
  border-radius: 12px !important;
  margin-right: 8px !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all .3s cubic-bezier(.4, 0, .2, 1) !important;
}

.analytics-tabs-nav .nav-link:hover {
  color: #374151 !important;
  background: #f9fafb !important;
}

.analytics-tabs-nav .nav-link.active {
  color: #1f2937 !important;
  background: linear-gradient(135deg, #fff 0%, #f9fafb 100%) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px #f59e0b26, inset 0 0 0 2px #f59e0b !important;
}

.analytics-tabs-nav .nav-link.active:after {
  content: "";
  background: linear-gradient(90deg, #f59e0b, #fcd34d);
  border-radius: 2px;
  width: 40%;
  height: 3px;
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

.badge {
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: .5rem;
  padding: .5rem .75rem;
  font-size: .75rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .analytics-title {
    font-size: 2rem;
  }

  .analytics-subtitle {
    font-size: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .analytics-chart-card .card-body {
    padding: 1rem;
  }

  .analytics-table-card thead th, .analytics-table-card tbody td {
    padding: .75rem .5rem;
    font-size: .875rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.analytics-stat-card, .analytics-chart-card, .analytics-table-card {
  animation: .5s ease-out fadeIn;
}

.analytics-table-card .card-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.analytics-table-card .card-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.analytics-table-card .card-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.analytics-table-card .card-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.avatar {
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  display: inline-flex;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: .875rem;
}

.avatar-md {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.analytics-dashboard-container .btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: all .3s cubic-bezier(.4, 0, .2, 1) !important;
  box-shadow: 0 4px 12px #f59e0b40, 0 2px 4px #f59e0b26 !important;
}

.analytics-dashboard-container .btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  box-shadow: 0 8px 20px #f59e0b59, 0 4px 8px #f59e0b33 !important;
}

.alert {
  border: none;
  border-radius: .75rem;
  box-shadow: 0 2px 10px #0000001a;
}

.analytics-dashboard-container .form-select {
  color: #374151;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.analytics-dashboard-container .form-select:focus {
  border-color: #f59e0b;
  outline: none;
  box-shadow: 0 0 0 4px #f59e0b26;
}

.analytics-dashboard-container .badge {
  letter-spacing: .3px;
  box-shadow: 0 2px 4px #0000001a;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.community-wrapper {
  flex-direction: column;
  width: 100%;
  height: calc(100vh - 70px);
  min-height: calc(100vh - 70px);
  margin: 0;
  padding: 0;
  display: flex;
  position: relative;
  overflow-y: auto;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
}

.community-container {
  width: 100%;
  height: 100%;
  box-shadow: none;
  background: #fff;
  border-radius: 0;
  flex: 1;
  margin: 0;
  padding: 24px;
  overflow-y: auto;
}

.community-title {
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.community-tabs .nav-tabs {
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.community-tabs .nav-link {
  color: #6b7280;
  border: none;
  border-bottom: 3px solid #0000;
  margin-right: .5rem;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.community-tabs .nav-link:hover {
  color: #f59e0b;
  background: #f59e0b0d;
  border-color: #0000;
  border-radius: 8px 8px 0 0;
}

.community-tabs .nav-link.active {
  color: #f59e0b;
  background: none;
  border-bottom-color: #f59e0b;
  font-weight: 700;
}

.sidebar-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.sidebar-list {
  max-height: calc(100vh - 300px);
  overflow-y: auto;
}

.sidebar-list::-webkit-scrollbar {
  width: 6px;
}

.sidebar-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.sidebar-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.post-avatar-small {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  box-shadow: 0 2px 8px #0000001a;
}

.post-avatar-small img {
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.agent-avatar-small {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
  box-shadow: 0 2px 6px #0000001a;
}

.agent-avatar-small img {
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.comment-avatar {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: .7rem;
  font-weight: 600;
  display: flex;
}

.comment-avatar img {
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.team-avatar-small {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
  box-shadow: 0 2px 6px #0000001a;
}

.team-avatar {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  box-shadow: 0 4px 12px #00000026;
}

.team-red .team-avatar, .team-red .team-avatar-small {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.team-blue .team-avatar, .team-blue .team-avatar-small {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.team-green .team-avatar, .team-green .team-avatar-small {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.team-purple .team-avatar, .team-purple .team-avatar-small {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.team-yellow .team-avatar, .team-yellow .team-avatar-small {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.post-composer-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0000000a;
}

.post-composer-input {
  resize: none;
  background: #f9fafb;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: .95rem;
}

.post-composer-input:focus {
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px #f59e0b33;
}

.post-composer-action-btn {
  color: #6b7280;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: .875rem;
  transition: all .2s;
}

.post-composer-action-btn:hover {
  color: #f59e0b;
  background: #f3f4f6;
}

.post-image-preview {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  max-height: 300px;
}

.post-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 8px #0000000a;
}

.post-card:hover {
  border-color: #f59e0b4d;
  box-shadow: 0 4px 16px #f59e0b1a;
}

.post-card.pending {
  background: linear-gradient(135deg, #f59e0b08 0%, #f59e0b03 100%);
  border-left: 4px solid #f59e0b;
}

.post-card.approved {
  border-left: 4px solid #10b981;
}

.post-card.rejected {
  opacity: .7;
  border-left: 4px solid #ef4444;
}

.post-content {
  color: #1f2937;
  font-size: .95rem;
  line-height: 1.6;
}

.post-image-container {
  border-radius: 8px;
  transition: transform .2s;
  position: relative;
  overflow: hidden;
}

.post-image-container:hover {
  transform: scale(1.01);
}

.post-image-display {
  -o-object-fit: contain;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 8px;
  width: 100%;
  max-height: 500px;
  display: block;
}

.image-hover-overlay {
  text-align: center;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(to top, #000000b3, #0000);
  padding: 8px 12px;
  transition: opacity .3s;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.post-image-container:hover .image-hover-overlay {
  opacity: 1;
}

.moderation-image-container {
  background: #f5f5f5;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  max-height: 300px;
  position: relative;
  overflow: hidden;
}

.moderation-image-preview {
  -o-object-fit: contain;
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-height: 300px;
  display: block;
}

.image-overlay {
  text-align: center;
  opacity: 0;
  background: linear-gradient(to top, #000000b3, #0000);
  padding: 8px 12px;
  transition: opacity .3s;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.moderation-image-container:hover .image-overlay {
  opacity: 1;
}

.image-view-modal {
  z-index: 1300 !important;
}

.modal-backdrop.show {
  z-index: 1299 !important;
}

.modal.show {
  z-index: 1300 !important;
}

.modal-dialog {
  z-index: 1301 !important;
}

.image-modal-body {
  -webkit-user-select: none;
  user-select: none;
}

.image-modal-body img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.post-link-preview {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
}

.post-link-preview:hover {
  background: #f3f4f6;
}

.post-stats {
  color: #6b7280;
  font-size: .875rem;
}

.post-actions {
  justify-content: space-around;
  padding-top: 8px;
  display: flex;
}

.post-action-btn {
  color: #6b7280;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
  display: flex;
}

.post-action-btn:hover {
  color: #f59e0b;
  background: #f3f4f6;
}

.post-action-btn.active {
  color: #f59e0b;
}

.post-action-btn.active:hover {
  color: #d97706;
}

.comments-section {
  background: #f9fafb;
  border-radius: 8px;
  padding: 12px;
}

.comment-bubble {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px #0000001a;
}

.comment-input {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: .875rem;
}

.comment-input:focus {
  border-color: #f59e0b;
  outline: none;
  box-shadow: 0 0 0 2px #f59e0b1a;
}

.team-badge-small {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #1e40af 100%);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .7rem;
  font-weight: 500;
}

.team-red .team-badge-small {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.team-blue .team-badge-small {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.team-green .team-badge-small {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.team-purple .team-badge-small {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.team-yellow .team-badge-small {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.event-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 8px #0000000a;
}

.event-card:hover {
  border-color: #f59e0b4d;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px #f59e0b1a;
}

.event-card.pending {
  border-left: 4px solid #f59e0b;
}

.event-card.approved {
  border-left: 4px solid #10b981;
}

.event-card.rejected {
  opacity: .7;
  border-left: 4px solid #ef4444;
}

.team-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 8px #0000000a;
}

.team-card:hover {
  border-color: #f59e0b4d;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px #f59e0b1a;
}

.moderation-panel {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
}

.form-control, .form-select {
  color: #374151;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 500;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.form-control:focus, .form-select:focus {
  border-color: #f59e0b;
  outline: none;
  box-shadow: 0 0 0 3px #f59e0b1a;
}

.input-group-text {
  color: #6b7280;
  background: #f8fafc;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px 0 0 8px;
}

.btn {
  border-radius: 8px;
  padding: 10px 20px;
  font-size: .875rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #f59e0b4d;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  box-shadow: 0 2px 8px #f59e0b40;
}

.btn-primary:hover:not(:disabled) {
  color: #fff;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.btn-success {
  color: #fff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
}

.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: none;
}

.btn-outline-primary {
  color: #f59e0b;
  background: none;
  border: 1.5px solid #f59e0b;
}

.btn-outline-primary:hover {
  color: #fff;
  background: #f59e0b;
}

.empty-state {
  text-align: center;
  color: #6b7280;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .community-wrapper {
    padding: 0;
  }

  .community-container {
    border-radius: 0;
    padding: 16px 12px;
  }

  .community-title {
    font-size: 1.5rem;
  }

  .post-card, .team-card, .event-card {
    padding: 0 !important;
  }

  .post-actions {
    flex-wrap: wrap;
  }

  .post-action-btn {
    flex: 33%;
    min-width: 80px;
  }

  .sidebar-card {
    display: none;
  }
}



.vendors-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.vendors-container {
  animation: .5s ease-out fadeInUp;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vendor-card {
  animation: .5s ease-out fadeInUp;
}

@media (max-width: 768px) {
  .vendor-filters {
    flex-direction: column;
  }

  .vendor-search-box {
    width: 100% !important;
    min-width: 100% !important;
  }
}

.vendor-service-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.vendor-service-container {
  animation: .5s ease-out fadeInUp;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  animation: .5s ease-out fadeInUp;
}

.service-card:hover {
  transform: translateY(-6px)scale(1.01);
  border-color: #f59e0b !important;
  box-shadow: 0 16px 40px #0000001f, 0 8px 16px #00000014 !important;
}

.vendor-service-title {
  background: linear-gradient(135deg, #1f2937 0%, #4b5563 50%, #6b7280 100%);
  -webkit-text-fill-color: transparent;
  letter-spacing: -.5px;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 8px !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
}

.vendor-service-search-box input:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 4px #f59e0b26, 0 4px 12px #0000001a !important;
}

.vendor-service-wrapper ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.vendor-service-wrapper ::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

.vendor-service-wrapper ::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border: 2px solid #f3f4f6;
  border-radius: 10px;
}

.vendor-service-wrapper ::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.vendor-service-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f3f4f6;
}

.vendor-service-wrapper * {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .vendor-service-filters {
    flex-direction: column;
  }

  .vendor-service-search-box {
    width: 100% !important;
    min-width: 100% !important;
  }

  .vendor-service-title {
    font-size: 1.8rem !important;
  }
}

.vendor-service-landing-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.vendor-service-landing-container {
  animation: .6s ease-out fadeInUp;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-title {
  background: linear-gradient(135deg, #1f2937 0%, #4b5563 50%, #6b7280 100%);
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 16px !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
}

.landing-subtitle {
  color: #6b7280;
  font-size: 1.2rem;
  line-height: 1.6;
}

.service-type-card {
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.service-type-card:hover {
  transform: translateY(-8px)scale(1.02);
}

.service-icon-wrapper {
  transition: transform .3s;
}

.service-type-card:hover .service-icon-wrapper {
  transform: scale(1.1)rotate(5deg);
}

@media (max-width: 768px) {
  .landing-title {
    font-size: 2rem !important;
  }

  .landing-subtitle {
    font-size: 1rem;
  }

  .vendor-service-landing-container {
    padding: 40px 20px !important;
  }
}

