/* ===== Pricing Section Styling ===== */
.border-base-color {
  border-color: #ef4135 !important;
}

.box-shadow {
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, .05);
}

.border-extra-thick {
  border-width: 4px !important;
}

.border-top {
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.text-center {
  text-align: center !important;
}

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

.bg-black {
  background-color: #000 !important;
}

.title-large {
  font-size: 1.75rem !important;
  line-height: 2.275rem !important;
}

.pricing .price .symbol {
  bottom: 36px;
  position: relative;
}

.title-medium {
  font-size: 1.5rem !important;
  line-height: 2.25rem !important;
}

.title-extra-large-5 {
  font-size: 5rem !important;
  line-height: 5rem !important;
}

.text-medium {
  font-size: .875rem !important;
  line-height: 1.313rem !important;
}

.bg-base-color {
  background-color: #e8ba00e6 !important;
}

.pricing-content {
  position: relative;
  padding: 60px 0;
}

/* ====== Pricing Table Layout ====== */
.pricing-table {
  display: flex;
  flex-wrap: nowrap;
  /* Makes columns touch each other */
  justify-content: center;
  gap: 0;
  /* Ensures no spacing between columns */
  border-collapse: collapse;
}

/* ====== Individual Pricing Columns (No Gaps) ====== */
.pricing {
  flex: 1;
  background: #e8ba00e6;
  box-shadow: 0 10px 40px -10px rgba(0, 64, 128, 0.2);
  transition: 0.3s ease-in-out;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  text-align: center;
  padding: 0;
  /* Remove padding to ensure they touch */
}

/* Removes border from first & last column */
.pricing:first-child {
  border-left: none;
}

.pricing:last-child {
  border-right: none;
}

/* ===== Pricing Header ===== */
.pricing-header {
  background: #004f18;
  padding: 30px 20px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid #ef4135;
}

/* Price styling */
.pricing-header .price {
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  margin-top: 10px;
}

.pricing-header .price .symbol {
  font-size: 16px;
}

/* ===== Pricing Body (Table-Like Rows) ===== */
.pricing-body {
  text-align: center;
}

/* Make the fields look like table rows */
.pricing-body span {
  display: block;
  font-size: 16px;
  padding: 12px 20px;
  color: #000;
  border-bottom: 1px solid #ddd;
}

/* Alternating Background (Table-Like Style) */
.pricing-body span:nth-child(odd) {
  background: #f3f3f3;
  /* Light color */
}

.pricing-body span:nth-child(even) {
  background: #ffffff;
  /* White */
}

/* ===== Pricing Footer (Button) ===== */
.pricing-footer {
  background: #f3e3c2;
  text-align: center;
  padding: 20px 0;
}

.pricing-footer a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  color: #004f18;
  padding: 12px 20px;
  display: block;
  transition: 0.3s;
}

.pricing-footer a:hover {
  background: #004f18;
  color: #fff;
}

/* ===== Section Title ===== */
.section-title {
  margin-bottom: 40px;
  text-align: center;
}

.section-title h2 {
  font-size: 45px;
  font-weight: 600;
  text-transform: capitalize;
  color: #000;
}

/* ===== Role Tabs ===== */
.nav-tabs {
  justify-content: center;
  border-bottom: 2px solid #e8ba00e6;
}

.nav-tabs .nav-item .nav-link {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  transition: 0.3s;
}

.nav-tabs .nav-item .nav-link.active {
  background-color: #e8ba00e6 !important;
  color: #000;
  border-radius: 5px;
}

/* ===== Meta Fields Styling ===== */
.meta-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 15px;
  background: #f3f3f3;
  border-bottom: 1px solid #ddd;
}

.meta-item span:first-child {
  font-weight: bold;
}

/* ===== Responsive Styling ===== */
@media (max-width: 991px) {
  .pricing-table {
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
  }

  .pricing {
    width: 50%;
    border-left: none;
    border-right: none;
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .pricing {
    width: 100%;
    max-width: 100%;
  }
}

/* ===== Pricing Table Layout - Ensure Cards Touch ===== */
.pricing-table {
  display: flex;
  flex-wrap: nowrap;
  /* Ensures no wrapping */
  justify-content: center;
  gap: 0;
  /* Removes spacing between columns */
  border-collapse: collapse;
}

/* ===== Individual Pricing Columns (No Gaps) ===== */
.pricing {
  flex: 1;
  background: #e8ba00e6;
  box-shadow: 0 10px 40px -10px rgba(0, 64, 128, 0.2);
  transition: 0.3s ease-in-out;
  text-align: center;
  padding: 0;
  /* Remove padding */
  margin: 0;
  /* Remove margins to prevent gaps */
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* First & last column adjustments */
.pricing:first-child {
  border-left: none;
}

.pricing:last-child {
  border-right: none;
}

/* Ensure meta fields look like table rows */
.pricing-body span {
  display: block;
  font-size: 16px;
  padding: 12px 20px;
  color: #000;
  border-bottom: 1px solid #ddd;
}

/* Alternating Background */
.pricing-body span:nth-child(odd) {
  background: #f3f3f3;
}

.pricing-body span:nth-child(even) {
  background: #ffffff;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .pricing-table {
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
  }

  .pricing {
    width: 50%;
    border-left: none;
    border-right: none;
  }
}

@media (max-width: 767px) {
  .pricing {
    width: 100%;
  }
}

/* ===== Pricing Footer (Button) ===== */
.pricing-footer {
  background: #f3e3c2;
  text-align: center;
  padding: 20px 0;
  border-top: 2px solid #004f18;
  /* Matches the pricing header border */
}

.pricing-footer a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  color: #004f18;
  /* Green text */
  padding: 12px 20px;
  display: block;
  background: #e8ba00e6;
  /* Yellow background */
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* ✅ Better Hover Effect */
.pricing-footer a:hover {
  background: #d8a700;
  /* Slightly darker yellow */
  color: #000;
  /* Black text for better contrast */
  border: 1px solid #004f18;
  /* Adds definition on hover */
}

/* Price display fixes for RTL/LTR support */
.price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: nowrap;
}

.price .symbol {
  position: static !important;
  /* Override any previous position styling */
  bottom: auto !important;
  margin-right: 2px;
  margin-left: 2px;
}

.duration-wrapper {
  display: inline-flex;
  align-items: baseline;
  direction: inherit;
  /* Inherits the text direction from parent */
}

.separator {
  margin: 0 2px;
}

/* RTL specific adjustments */
html[dir="rtl"] .price {
  flex-direction: row-reverse;
}

html[dir="rtl"] .duration-wrapper {
  flex-direction: row-reverse;
}

html[dir="rtl"] .symbol {
  margin-right: 2px;
  margin-left: 5px;
}

/* Price display fixes with fixed height for consistency */
.pricing-header {
  min-height: 180px;
  /* Set a minimum consistent height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-container {
  width: 100%;
}

.price-row {
  width: 100%;
  justify-content: center;
  align-items: baseline;
}

.duration-row {
  width: 100%;
  justify-content: center;
  height: 30px;
  /* Fixed height for duration row */
  margin-top: 5px;
}

.symbol {
  position: static !important;
  bottom: auto !important;
}

.separator {
  margin: 0 5px;
  font-size: 1rem;
}

.duration-text {
  display: inline-block;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Add ellipsis for extra long text */
}

/* RTL specific adjustments */
html[dir="rtl"] .price-row,
html[dir="rtl"] .duration-row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .symbol {
  margin-right: 5px;
  margin-left: 2px;
}


/* Verification Team Button */
.verification-team-btn {
  background: linear-gradient(135deg, #e8ba00e6, #00d2ff);
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.verification-team-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
  color: white;
}

.verification-team-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.verification-team-btn .icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verification-team-btn .icon-wrapper i {
  font-size: 16px;
}

/* Redesigned Modal */
.verification-team-modal .modal-content {
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.verification-team-modal .modal-header {
  background: linear-gradient(135deg, #e8ba00e6, #00d2ff);
  padding: 20px 30px;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.verification-team-modal .modal-title {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  margin: 0;
}

.verification-team-modal .modal-title .icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verification-team-modal .modal-body {
  padding: 30px;
}

.verification-team-modal .close-btn {
  font-size: 22px;
  color: white;
  opacity: 0.8;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.verification-team-modal .close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.2);
}

/* Team Member Cards */
.team-member-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-member-card .avatar-wrapper {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  padding: 25px 0 15px;
  position: relative;
}

.team-member-card .avatar {
  width: 80px;
  height: 80px !important;
  background: #e8ba00e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member-card .avatar i {
  font-size: 32px;
  color: white;
}

.team-member-card .card-body {
  padding: 20px;
  text-align: center;
}

.team-member-card .card-title {
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.team-member-card .info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
}

.team-member-card .info-item i {
  color: #e8ba00e6;
  font-size: 14px;
}

.team-member-card .whatsapp-btn {
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 8px 15px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.team-member-card .whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
  color: white;
}

/* Loading Animation */
.loading-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(58, 123, 213, 0.1);
  border-radius: 50%;
  border-top: 4px solid #e8ba00e6;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

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

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

.loading-text {
  color: #e8ba00e6;
  font-weight: 600;
}

/* Error State */
.error-state {
  text-align: center;
  padding: 30px 0;
}

.error-icon {
  font-size: 48px;
  color: #dc3545;
  margin-bottom: 15px;
}

.error-message {
  color: #dc3545;
  font-weight: 600;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 30px 0;
}

.empty-icon {
  font-size: 48px;
  color: #6c757d;
  margin-bottom: 15px;
}

.empty-message {
  color: #6c757d;
  font-weight: 600;
}
/* Enhanced Modal Size - Optimized for 6 Members (3x2 Grid) */
.verification-team-modal .modal-dialog {
  max-width: 1400px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 20px;
}

.verification-team-modal .modal-content {
  max-height: calc(100vh - 40px);
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  border: none;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
}

.verification-team-modal .modal-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.verification-team-modal .modal-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(232, 186, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.verification-team-modal .modal-body #dvaTeamList {
  flex: 1;
  overflow: visible;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.verification-team-modal .team-pagination-container,
.verification-team-modal .company-wallet-info {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Enhanced Modal Header */
.verification-team-modal .modal-header {
  background: linear-gradient(135deg, #e8ba00 0%, #ffd700 50%, #00d2ff 100%);
  padding: 30px 40px;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.verification-team-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.verification-team-modal .modal-title {
  font-weight: 800;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
  margin: 0;
  text-shadow: 0 3px 6px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

.verification-team-modal .modal-title .icon {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

.verification-team-modal .modal-title .icon i {
  font-size: 24px;
}

.verification-team-modal .close-btn {
  font-size: 26px;
  color: white;
  opacity: 0.9;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.verification-team-modal .close-btn:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Enhanced Team Member Cards - Optimized for 3x2 Grid */
.team-member-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: white;
  position: relative;
  height: 100%;
  min-height: 320px;
  max-height: 380px;
  backdrop-filter: blur(10px);
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #e8ba00, #ffd700, #00d2ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(232, 186, 0, 0.02), rgba(0, 210, 255, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.team-member-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-member-card:hover::before,
.team-member-card:hover::after {
  opacity: 1;
}

/* Avatar Section */
.team-member-card .avatar-wrapper {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 25px 0 20px;
  position: relative;
  overflow: hidden;
}

.team-member-card .avatar-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(232, 186, 0, 0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.team-member-card:hover .avatar-wrapper::after {
  transform: translateX(100%);
}

.team-member-card .avatar {
  width: 80px;
  height: 80px !important;
  background: linear-gradient(135deg, #e8ba00, #ffd700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 5px solid white;
  box-shadow: 0 8px 25px rgba(232, 186, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.team-member-card:hover .avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(232, 186, 0, 0.4);
}

.team-member-card .avatar i {
  font-size: 32px;
  color: white;
  text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

/* Card Body */
.team-member-card .card-body {
  padding: 20px 25px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.team-member-card .card-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e293b;
  font-size: 1.25rem;
  text-transform: capitalize;
  line-height: 1.3;
}

/* Info Items */
.team-member-card .info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 12px;
  padding: 10px 16px;
  background: rgba(232, 186, 0, 0.06);
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(232, 186, 0, 0.15);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.team-member-card .info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 186, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.team-member-card .info-item:hover {
  background: rgba(232, 186, 0, 0.12);
  transform: translateX(5px);
  border-color: rgba(232, 186, 0, 0.25);
}

.team-member-card .info-item:hover::before {
  left: 100%;
}

.team-member-card .info-item i {
  color: #e8ba00;
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.team-member-card .info-item span {
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  flex: 1;
  text-align: left;
}

/* WhatsApp Button */
.team-member-card .whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #20b358);
  color: white;
  border-radius: 30px;
  padding: 12px 20px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  font-weight: 700;
  margin-top: auto;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.team-member-card .whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.team-member-card .whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  color: white;
  background: linear-gradient(135deg, #20b358, #1da851);
}

.team-member-card .whatsapp-btn:hover::before {
  left: 100%;
}

.team-member-card .whatsapp-btn i {
  font-size: 18px;
}

/* Enhanced Company Wallet Info */
.company-wallet-info {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 20px;
  padding: 25px;
  margin-top: 20px;
  border: 2px solid rgba(232, 186, 0, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.company-wallet-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #e8ba00, #ffd700, #00d2ff);
}

.company-wallet-info::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(232, 186, 0, 0.03), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.company-wallet-info:hover::after {
  transform: translateX(100%);
}

.company-wallet-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(232, 186, 0, 0.3);
}

.company-wallet-info .text-muted.small {
  color: #64748b !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.company-wallet-info .text-muted.small::before,
.company-wallet-info .text-muted.small::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e8ba00, transparent);
  border-radius: 2px;
}

.company-wallet-info strong {
  color: #1e293b !important;
  font-weight: 800;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.company-wallet-info .text-muted.small:last-child {
  color: #475569 !important;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 10px;
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  background: rgba(232, 186, 0, 0.1);
  padding: 8px 20px;
  border-radius: 25px;
  display: inline-block;
}

.company-wallet-info .text-muted.small:last-child::before,
.company-wallet-info .text-muted.small:last-child::after {
  display: none;
}

/* Loading, Empty, and Error States */
.loading-animation, .empty-state, .error-state {
  padding: 80px 0;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(232, 186, 0, 0.1);
  border-radius: 50%;
  border-top: 6px solid #e8ba00;
  animation: spin 1s linear infinite;
  margin-bottom: 25px;
}

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

.loading-text, .empty-message, .error-message {
  font-size: 1.2rem;
  font-weight: 600;
  color: #475569;
}

.empty-state i, .error-state i {
  color: #94a3b8;
  margin-bottom: 20px;
}

/* Pagination Enhancement */
.team-pagination-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

.pagination .page-link {
  border-radius: 12px;
  margin: 0 4px;
  border: 2px solid transparent;
  color: #475569;
  font-weight: 600;
  padding: 10px 16px;
  transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #e8ba00, #ffd700);
  border-color: #e8ba00;
  color: white;
  box-shadow: 0 4px 15px rgba(232, 186, 0, 0.3);
}

.pagination .page-link:hover {
  background: rgba(232, 186, 0, 0.1);
  border-color: rgba(232, 186, 0, 0.3);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (min-width: 1600px) {
  .verification-team-modal .modal-dialog {
    max-width: 1600px;
  }
  
  .team-member-card {
    min-height: 350px;
    max-height: 420px;
  }
}

@media (max-width: 1200px) {
  .verification-team-modal .modal-dialog {
    max-width: 95%;
  }
  
  .verification-team-modal .modal-body {
    padding: 30px;
  }
  
  .team-member-card {
    min-height: 300px;
    max-height: 360px;
  }
  
  .team-member-card .avatar {
    width: 70px;
    height: 70px !important;
  }
  
  .team-member-card .avatar i {
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .verification-team-modal .modal-dialog {
    max-width: 98%;
    padding: 15px;
  }
  
  .verification-team-modal .modal-content {
    max-height: calc(100vh - 30px);
    height: calc(100vh - 30px);
  }
  
  .verification-team-modal .modal-body {
    padding: 25px;
    max-height: calc(100vh - 180px);
  }
  
  .verification-team-modal .modal-title {
    font-size: 1.6rem;
  }
  
  .verification-team-modal .modal-title .icon {
    width: 45px;
    height: 45px;
  }
  
  .team-member-card {
    min-height: 280px;
    max-height: 340px;
  }
  
  .team-member-card .avatar {
    width: 65px;
    height: 65px !important;
  }
  
  .team-member-card .avatar i {
    font-size: 26px;
  }
  
  .team-member-card .card-body {
    padding: 18px 20px 22px;
  }
  
  .team-member-card .card-title {
    font-size: 1.1rem;
  }
  
  .company-wallet-info {
    padding: 20px;
  }
  
  .company-wallet-info strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .verification-team-modal .modal-dialog {
    padding: 10px;
  }
  
  .verification-team-modal .modal-content {
    max-height: calc(100vh - 20px);
    height: calc(100vh - 20px);
  }
  
  .verification-team-modal .modal-header {
    padding: 20px 25px;
  }
  
  .verification-team-modal .modal-body {
    padding: 20px;
    max-height: calc(100vh - 140px);
  }
  
  .verification-team-modal .modal-title {
    font-size: 1.4rem;
  }
  
  .verification-team-modal .modal-title .icon {
    width: 40px;
    height: 40px;
  }
  
  .verification-team-modal .modal-title .icon i {
    font-size: 18px;
  }
  
  .team-member-card {
    min-height: 260px;
    max-height: 320px;
  }
  
  .team-member-card .avatar {
    width: 60px;
    height: 60px !important;
  }
  
  .team-member-card .avatar i {
    font-size: 24px;
  }
  
  .team-member-card .card-body {
    padding: 15px 18px 20px;
  }
  
  .team-member-card .card-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .team-member-card .info-item {
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 0.85rem;
  }
  
  .team-member-card .whatsapp-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .company-wallet-info {
    padding: 18px;
  }
  
  .company-wallet-info strong {
    font-size: 1rem;
  }
}

/* Header Wallet Info (RTL/LTR compatible) */
.verification-team-modal .header-wallet-info {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: white;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 100px; /* works for both LTR and RTL */
  z-index: 2;
  animation: slideInRight 0.6s ease-out;
  backdrop-filter: blur(10px);
}

.header-wallet-info .wallet-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-wallet-info .wallet-icon i {
  font-size: 18px;
  color: white;
}

.header-wallet-info .wallet-details {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: white;
}

.header-wallet-info .wallet-label {
  font-weight: 600;
  opacity: 0.85;
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.header-wallet-info .wallet-number {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.header-wallet-info .wallet-bank {
  font-size: 0.8rem;
  color: #fff;
}

/* Close button stays in the logical inline-end (right in LTR, left in RTL) */
.verification-team-modal .close-btn {
  margin-inline-start: auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .verification-team-modal .header-wallet-info {
    inset-inline-end: 70px;
    padding: 8px 14px;
    gap: 10px;
    font-size: 0.75rem;
  }

  .header-wallet-info .wallet-icon {
    width: 32px;
    height: 32px;
  }

  .header-wallet-info .wallet-details {
    font-size: 0.75rem;
  }

  .header-wallet-info .wallet-number {
    font-size: 0.85rem;
  }

  .header-wallet-info .wallet-bank {
    font-size: 0.75rem;
  }
}
