.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 11px;
}

/* Professional Login Page Styles */

.split-login-container {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* Left Panel - Image Background */
.left-panel-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

/* Right Panel - Login Form */
.right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background: #161654;
  background: radial-gradient(
    circle,
    rgba(22, 22, 84, 1) 11%,
    rgba(9, 9, 36, 1) 68%
  );
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 100%;
}

/* Header Section */
.login-header {
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 480px;
}

.company-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 1rem;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  font-size: 0.9375rem;
  color: #a8b3cf;
  margin-bottom: 0;
}

/* Form Styling */
.professional-form {
  margin-top: 1rem;
  width: 100%;
  max-width: 480px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

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

/* Password Toggle */
.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  text-decoration: none;
}

.password-toggle:hover {
  color: #e5e7eb;
}

/* Forgot Password Link */
.forgot-password-link {
  display: inline-block;
  font-size: 0.9375rem;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.forgot-password-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Buttons */
.btn-primary-login {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #3b82f6;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn-primary-login:hover {
  background-color: #2563eb;
}

.btn-primary-login:active {
  background-color: #1d4ed8;
}

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-divider span {
  padding: 0 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

/* Microsoft Login Button */
.btn-microsoft {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e5e7eb;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-microsoft:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Footer */
.login-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #9ca3af;
  width: 100%;
  max-width: 480px;
}

.footer-links {
  margin-top: 0.75rem;
}

.footer-links a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #93c5fd;
}

.footer-divider {
  margin: 0 0.5rem;
  color: #4b5563;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .right-panel {
    padding: 2rem 1.5rem;
  }

  .login-header,
  .professional-form,
  .login-footer {
    max-width: 100%;
  }

  .company-logo {
    max-width: 170px;
  }

  .login-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .right-panel {
    padding: 1.5rem 1rem;
  }

  .company-logo {
    max-width: 150px;
  }

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

  .login-subtitle {
    font-size: 0.9375rem;
  }
} /* ============================================ */
/* Original Professional Page Styles Below */
/* ============================================ */

.professional-page {
  font-size: 0.813rem;
}

.professional-page .card {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.professional-page .card-header {
  background: #1a2035;
  color: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.professional-page .card-header i {
  color: #fff;
}

.professional-page .card-body {
  padding: 1rem;
}

.professional-page .table {
  font-size: 0.813rem;
  margin-bottom: 0;
}

.professional-page .table thead th {
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  padding: 0.5rem;
}

.professional-page .table tbody td {
  padding: 0.5rem;
  vertical-align: middle;
}

.professional-page .badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
}

.professional-page .btn-sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
}

.professional-page .form-control {
  font-size: 0.813rem;
  padding: 0.375rem 0.75rem;
}

.professional-page .form-label {
  font-size: 0.813rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.professional-page h6 {
  font-size: 0.875rem;
  font-weight: 600;
}

.professional-page .breadcrumb {
  font-size: 0.813rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.professional-page i {
  color: #000;
}

#selectedSuppliers .suppliers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#selectedSuppliers li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 3px solid #0d6efd;
  border-radius: 4px;
  transition: all 0.3s ease;
  list-style: none;
  font-size: 0.875rem;
}

#selectedSuppliers li:hover {
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#selectedSuppliers ol {
  padding: 0;
  margin: 0;
}

#selectedSuppliers .deleteSupplier {
  padding: 4px 8px;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

#selectedSuppliers .deleteSupplier:hover {
  transform: scale(1.05);
}

.suppliers-list:empty:before {
  content: "No suppliers selected yet. Please select suppliers from the dropdown above.";
  display: block;
  text-align: center;
  color: #6c757d;
  font-style: italic;
  font-size: 0.875rem;
  padding: 30px 15px;
}

.email-compose-container {
  background-color: #ffffff;
}

.email-label {
  font-weight: 600;
  color: #475569;
  min-width: 70px;
  font-size: 0.875rem;
}

.email-header input {
  font-size: 0.9rem;
  padding: 0.6rem 0.9rem;
}

.purchase-details-section {
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

#purchaseRequestDetails {
  font-size: 0.875rem;
}

#purchaseRequestDetails .info-row {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

#purchaseRequestDetails .info-row:last-child {
  border-bottom: none;
}

#purchaseRequestDetails .info-label {
  color: #64748b;
  font-weight: 600;
  min-width: 140px;
}

#purchaseRequestDetails .info-value {
  color: #1e293b;
  font-weight: 500;
}

.items-table {
  font-size: 0.85rem;
  margin-top: 15px;
}

.items-table thead {
  background: linear-gradient(135deg, #1a2035 0%, #2d3748 100%);
  color: white;
}

.items-table th {
  font-weight: 600;
  padding: 10px 8px;
  border: none;
  font-size: 0.8rem;
}

.items-table td {
  padding: 10px 8px;
  vertical-align: middle;
  border-bottom: 1px solid #e2e8f0;
}

.items-table tbody tr:hover {
  background-color: #f8fafc;
}

#emailPreviewContent {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 0.9rem;
}

.modal-xl .modal-dialog {
  max-width: 1400px;
}

@media (max-width: 768px) {
  .email-label {
    min-width: auto;
    margin-bottom: 0.5rem;
  }

  .modal-xl .modal-dialog {
    max-width: 95%;
  }
}

/* Email Preview Styling */
.email-preview-wrapper {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.email-preview-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 15px 20px;
}

.email-preview-body {
  padding: 20px;
  line-height: 1.8;
}

.badge-info-custom {
  background: linear-gradient(135deg, #1a2035 0%, #2d3748 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* QHSE Professional Dashboard Styles */

.qhse-dashboard {
  padding: 15px;
  background: #f8f9fa;
}

.dashboard-header {
  background: #1a2035;
  padding: 20px 25px;
  border-radius: 10px;
  color: white;
  box-shadow: 0 4px 15px rgba(26, 32, 53, 0.2);
}

.dashboard-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.dashboard-header p {
  font-size: 0.8rem;
  margin: 5px 0 0 0;
}

/* Stat Cards */
.stat-card {
  background: white;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-left: 3px solid;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.stat-card-danger {
  border-left-color: #1a2035;
}
.stat-card-primary {
  border-left-color: #1a2035;
}
.stat-card-warning {
  border-left-color: #1a2035;
}
.stat-card-info {
  border-left-color: #1a2035;
}
.stat-card-success {
  border-left-color: #1a2035;
}

.stat-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  opacity: 0.08;
  color: #1a2035;
}

.stat-content {
  position: relative;
  z-index: 1;
}

.stat-content-full {
  position: relative;
  z-index: 1;
}

.stat-content-full h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a2035;
}

.stat-content-full h3 {
  font-size: 1.5rem;
}

.stat-content-full small {
  font-size: 0.75rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1a2035;
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 3px 0 0 0;
  font-weight: 500;
}

/* Chart Cards */
.chart-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.chart-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.chart-header {
  padding: 15px 20px;
  background: #1a2035;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-header h5 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.chart-header i {
  margin-right: 6px;
}

.btn-expand {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.btn-expand:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.chart-body {
  padding: 20px;
  min-height: 280px;
}

/* Modal Styles */
#chartModal .modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#chartModal .modal-header {
  background: #1a2035;
  color: white;
  border-radius: 10px 10px 0 0;
  border: none;
  padding: 15px 20px;
}

#chartModal .modal-title {
  font-size: 1rem;
  font-weight: 600;
}

#chartModal .modal-body {
  padding: 25px;
  min-height: 450px;
}

#chartModal .btn-close {
  filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-title {
    font-size: 1.1rem;
  }

  .dashboard-header p {
    font-size: 0.75rem;
  }

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

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-icon {
    font-size: 1.5rem;
  }

  .chart-header h5 {
    font-size: 0.85rem;
  }

  .chart-body {
    min-height: 220px;
    padding: 15px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card,
.chart-card {
  animation: fadeInUp 0.6s ease-out;
}

.stat-card:nth-child(1) {
  animation-delay: 0.1s;
}
.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}
.stat-card:nth-child(3) {
  animation-delay: 0.3s;
}
.stat-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Invoice Page Styles */
.invoice-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

.invoice-header {
  background: linear-gradient(135deg, #1a2035 0%, #2d3748 100%);
  color: white;
  padding: 30px;
  border-radius: 8px 8px 0 0;
}

.invoice-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.invoice-number-display {
  font-size: 16px;
  opacity: 0.95;
  margin-top: 5px;
}

.invoice-body {
  padding: 40px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a2035;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a2035;
}

.info-group {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 4px solid #1a2035;
}

.invoice-container .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 13px;
}

.invoice-container .form-control,
.invoice-container .form-select {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.invoice-container .form-control:focus,
.invoice-container .form-select:focus {
  border-color: #1a2035;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.bank-details-box {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
}

.readonly-field {
  background-color: #f8f9fa !important;
  cursor: not-allowed;
}

.btn-action {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary-custom {
  background-color: #1a2035 !important;
  border: none !important;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
}

.btn-primary-custom:hover {
  background-color: #3a4975 !important;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
}

.btn-primary-custom:disabled {
  background-color: #3a4975 !important;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
  cursor: not-allowed !important;
  opacity: 0.65 !important;
}

.bg-primary {
  background-image: linear-gradient(
    to right,
    #16222a 0%,
    #3a6073 51%,
    #16222a 100%
  ) !important;
  background-size: 200% auto;
  transition: 0.5s;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
  border: none;
}

.bg-primary:hover {
  background-position: right center;
  color: #fff !important;
}

/* Upload Area Styles */
.upload-area {
  border: 2px dashed #cbd5e0;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover {
  border-color: #1a2035;
  background: #f8f9fa;
}

.upload-area.drag-over {
  border-color: #1a2035;
  background: #e8f4f8;
  transform: scale(1.02);
}

.upload-icon {
  margin-bottom: 10px;
}

#fileList .list-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #fff;
  transition: all 0.2s ease;
}

#fileList .list-group-item:hover {
  background: #f8f9fa;
  border-color: #1a2035;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-icon {
  font-size: 24px;
  color: #1a2035;
}

.file-details {
  text-align: left;
}

.file-name {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 2px;
}

.file-size {
  font-size: 12px;
  color: #718096;
}

.btn-remove-file {
  padding: 5px 10px;
  font-size: 12px;
}

/* Manual Line Items Table */
#tblManualLineItems input.form-control,
#tblManualLineItems select.form-control,
#tblInvoiceLineItems input.form-control,
#tblInvoiceLineItems select.form-control {
  font-size: 13px;
  padding: 6px 10px;
}

#tblManualLineItems tbody tr:hover,
#tblInvoiceLineItems tbody tr:hover {
  background-color: #f8f9fa;
}

.line-item-row input[type="number"] {
  text-align: right;
}

/* PO Item styling */
#tblInvoiceLineItems tr.po-item {
  background-color: #f0f8ff;
}

#tblInvoiceLineItems tr.po-item:hover {
  background-color: #e6f2ff;
}

#tblInvoiceLineItems tr.po-item .readonly-field {
  background-color: #e9ecef !important;
  cursor: not-allowed;
  border-color: #ced4da;
}

#tblInvoiceLineItems tr.manual-item {
  background-color: #ffffff;
}

.flat-dash {
  padding: 20px;
  background: #f5f5f5;
}

.flat-stat {
  padding: 20px;
  background: #fff;
  margin-bottom: 20px;
}

.flat-stat-label {
  font-size: 13px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flat-stat-icon {
  font-size: 14px;
  color: #3b82f6;
}

.flat-stat-value {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
}

.flat-chart {
  padding: 20px;
  background: #fff;
  margin-bottom: 20px;
}

.flat-chart-title {
  font-size: 14px;
  margin: 0 0 15px 0;
}

.progress-metric {
  padding: 15px;
  background: #fff;
  margin-bottom: 15px;
  border-left: 4px solid #3b82f6;
}

.progress-metric h6 {
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: bold;
}

.progress-metric .progress {
  height: 6px;
  margin-bottom: 8px;
}

.progress-metric .metric-info {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Integration Page Styles */
.integration-header {
  background: #1a2035;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(26, 32, 53, 0.2);
}

.integration-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.integration-header p {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 0;
}

.integration-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.integration-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.integration-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.integration-card h5 i {
  color: #1a2035;
  font-size: 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.5rem;
}

.status-badge.active {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.inactive {
  background: #fee2e2;
  color: #991b1b;
}

.status-badge i {
  font-size: 0.75rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: start;
  gap: 0.75rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.feature-list li i {
  color: #10b981;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.toggle-section {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  border: 2px dashed #d1d5db;
}

.toggle-section label.form-label {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 1.5rem;
}

.back-button:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
  text-decoration: none;
}

.integration-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.integration-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Lead Report Styles */
.stats-card {
  border-left: 4px solid;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stats-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 24px;
}

.filter-panel {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.report-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.export-btn-group {
  display: flex;
  gap: 8px;
}

@media print {
  .filter-panel,
  .export-btn-group,
  .breadcrumb,
  .no-print {
    display: none !important;
  }
  .stats-card {
    page-break-inside: avoid;
  }
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 11px;
}

.flat-dash {
  padding: 20px;
  background: #f5f5f5;
}

.flat-stat {
  padding: 20px;
  background: #fff;
  margin-bottom: 20px;
}

.flat-stat-label {
  font-size: 13px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flat-stat-icon {
  font-size: 14px;
  color: #3b82f6;
}

.flat-stat-value {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
}

.flat-chart {
  padding: 20px;
  background: #fff;
  margin-bottom: 20px;
}

.flat-chart-title {
  font-size: 14px;
  margin: 0 0 15px 0;
}

.flat-activity {
  padding: 20px;
  background: #fff;
}

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

.flat-activity-icon {
  font-size: 14px;
  color: #3b82f6;
}

.flat-activity-item {
  padding: 14px;
  display: flex;
  align-items: start;
  gap: 12px;
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s;
}

.flat-activity-item:hover {
  background: #f9fafb;
}

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

.flat-activity-item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 8px;
  font-size: 14px;
  color: #3b82f6;
  flex-shrink: 0;
}

.flat-activity-content {
  flex: 1;
  min-width: 0;
}

.flat-activity-text {
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.flat-activity-desc {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.flat-activity-time {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
}

.crew-toolbar {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #3b82f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.crew-toolbar .d-flex {
  justify-content: space-between;
}

.crew-toolbar .btn {
  font-size: 12px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.2s;
  flex: 1;
  margin: 0 5px;
}

.crew-toolbar .btn:first-child {
  margin-left: 0;
}

.crew-toolbar .btn:last-child {
  margin-right: 0;
}

.crew-toolbar .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* ============================================ */
/* Professional Registration Page Styles */
/* ============================================ */

.registration-split-container {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.registration-left-panel {
  background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.registration-left-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/registration-bg.jpg") center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.registration-left-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 500px;
}

.registration-left-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.registration-left-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 0;
}

.registration-right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background: #ffffff;
  padding: 1.5rem 1.5rem;
  width: 100%;
}

.registration-form-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.registration-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-top: 0;
  flex-shrink: 0;
}

.registration-header .company-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 1rem;
}

.registration-header h1 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 0.375rem;
}

.registration-header .subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0;
}

.professional-registration-form {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.professional-registration-form .form-group {
  margin-bottom: 0.875rem;
}

.professional-registration-form .form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}

.professional-registration-form .required-star {
  color: #ef4444;
  margin-left: 2px;
}

.professional-registration-form .form-control,
.professional-registration-form .form-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #1f2937;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.professional-registration-form .form-control:focus,
.professional-registration-form .form-select:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.professional-registration-form .form-control::placeholder {
  color: #9ca3af;
}

.professional-registration-form textarea.form-control {
  resize: vertical;
  min-height: 60px;
}

.professional-registration-form .help-text {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.professional-registration-form .form-check {
  padding-left: 1.75rem;
  margin-bottom: 0;
}

.professional-registration-form .form-check-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
}

.professional-registration-form .form-check-input:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.professional-registration-form .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}

.professional-registration-form .form-check-label {
  font-size: 0.8125rem;
  color: #4b5563;
  cursor: pointer;
}

.professional-registration-form .form-check-label a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.professional-registration-form .form-check-label a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.btn-register-professional {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  margin-top: 0.25rem;
}

.btn-register-professional:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-register-professional:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.registration-login-link {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: #6b7280;
  flex-shrink: 0;
}

.registration-login-link a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.registration-login-link a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Responsive Design for Registration */
@media (max-width: 991.98px) {
  .registration-left-panel {
    display: none;
  }

  .registration-right-panel {
    padding: 1.25rem 1rem;
  }

  .registration-form-wrapper {
    max-width: 100%;
  }

  .registration-header .company-logo {
    max-width: 120px;
  }

  .registration-header h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .registration-right-panel {
    padding: 1rem 0.75rem;
  }

  .registration-header h1 {
    font-size: 1.375rem;
  }

  .registration-header .company-logo {
    max-width: 110px;
    margin-bottom: 0.75rem;
  }

  .professional-registration-form .form-control,
  .professional-registration-form .form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .professional-registration-form .form-group {
    margin-bottom: 0.75rem;
  }

  .registration-header {
    margin-bottom: 1rem;
  }
}
