/* ===== ENHANCED PRODUCT TABS STYLES ===== */

/* Product Tabs Section with Canvas Background */
.product-tabs-section {
  padding: 54px 0 74px;
  position: relative;
  overflow: hidden;
}

.product-tabs-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Modern Tabs Navigation - Fixed indicator positioning */
.modern-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2px;
  position: relative;
  border: 1px solid rgba(9, 43, 247, 0.1);
  box-shadow: 0 8px 32px rgba(9, 43, 247, 0.08);
  width: calc(100% - 40px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tab-indicator {
  position: absolute;
  top: 2px;
  height: calc(100% - 4px);
  background: #092bf7;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(9, 43, 247, 0.3);
  z-index: 1;
  opacity: 0;
  width: calc(33.333% - 1px) !important;
}

.modern-tab-btn {
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
  z-index: 2;
  justify-content: flex-start;
  min-height: 54px;
  box-sizing: border-box;
  width: 33.333%;
}

.tab-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 43, 247, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tab-icon i {
  font-size: 16px;
  color: #6e6e6e;
  transition: all 0.3s ease;
}

.tab-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
  text-align: left;
}

.tab-label {
  font-size: 15px;
  font-weight: 600;
  color: #6e6e6e;
  transition: all 0.3s ease;
  line-height: 1.2;
  margin-bottom: 2px;
}

.tab-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: #9e9e9e;
  transition: all 0.3s ease;
  line-height: 1.2;
  opacity: 0.9;
}

/* Active Tab State */
.modern-tab-btn.active .tab-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.modern-tab-btn.active .tab-icon i {
  color: #ffffff;
}

.modern-tab-btn.active .tab-label {
  color: #ffffff;
  font-weight: 700;
}

.modern-tab-btn.active .tab-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Hover Effects */
.modern-tab-btn:hover:not(.active) .tab-icon {
  background: rgba(9, 43, 247, 0.15);
  transform: translateY(-1px);
}

.modern-tab-btn:hover:not(.active) .tab-icon i {
  color: #092bf7;
}

.modern-tab-btn:hover:not(.active) .tab-label {
  color: #092bf7;
}

.modern-tab-btn:hover:not(.active) .tab-subtitle {
  color: #092bf7;
}

/* Tab Content */
.product-tabs-content {
  position: relative;
  width: 100%;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  width: 100%;
}

/* Canvas Container */
.canvas-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(9, 43, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(9, 43, 247, 0.1);
  width: calc(100% - 40px);
  height: auto !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

/* Product Tab Slide */
.product-tab-slide {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.tab-main-image {
  width: 100% !important;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  background: #f8f9fa;
  position: relative;
  z-index: 2;
}

/* Description below image - REDUCED WHITESPACE */
.tab-description {
  margin-top: 15px; /* Reduced from 30px */
  padding: 0 20px;
  text-align: center;
}

.tab-description-text {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6e6e6e;
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .modern-tabs-nav,
  .canvas-container {
    width: calc(100% - 40px);
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .modern-tabs-nav {
    flex-direction: row;
    margin-bottom: 19px;
  }

  .modern-tab-btn {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 8px 10px;
    min-height: 64px;
    width: 33.333%;
  }

  .tab-text-content {
    align-items: center;
    gap: 1px;
  }

  .tab-label {
    font-size: 14px;
    margin-bottom: 1px;
  }

  .tab-subtitle {
    font-size: 10px;
  }

  .tab-icon {
    width: 36px;
    height: 36px;
  }

  .tab-icon i {
    font-size: 14px;
  }

  .tab-main-image {
    height: 350px;
    border-radius: 12px;
  }

  .tab-description {
    margin-top: 12px; /* Reduced from 25px */
    padding: 0 15px;
  }

  .tab-description-text {
    font-size: 13px;
  }

  .tab-indicator {
    width: calc(33.333% - 1px) !important;
  }
}

@media (max-width: 768px) {
  .product-tabs-section {
    padding: 34px 14px 54px;
  }

  .modern-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 14px;
    padding: 2px;
  }

  .modern-tab-btn {
    flex-shrink: 0;
    min-width: 140px;
    padding: 6px 8px;
    min-height: 59px;
    width: auto;
    flex: 0 0 auto;
  }

  .tab-icon {
    width: 32px;
    height: 32px;
  }

  .tab-icon i {
    font-size: 13px;
  }

  .tab-label {
    font-size: 13px;
  }

  .tab-subtitle {
    font-size: 9px;
  }

  .tab-main-image {
    height: 300px;
    object-fit: contain;
    border-radius: 12px;
  }

  .tab-description {
    margin-top: 10px; /* Reduced from 20px */
    padding: 0 10px;
  }

  .tab-description-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .canvas-container {
    padding: 9px;
    width: calc(100% - 40px);
  }

  .tab-indicator {
    display: none;
  }

  .modern-tab-btn.active {
    background: #092bf7 !important;
  }
}

@media (max-width: 576px) {
  .modern-tab-btn {
    min-width: 120px;
    padding: 4px 6px;
    min-height: 54px;
  }

  .tab-main-image {
    height: 250px;
    object-fit: contain;
    border-radius: 12px;
  }

  .tab-description {
    margin-top: 8px; /* Reduced from 15px */
    padding: 0 8px;
  }

  .tab-description-text {
    font-size: 11px;
    line-height: 1.4;
  }

  .canvas-container {
    padding: 6px;
  }
}

/* ===== PATIENT MANAGEMENT SECTION ===== */
.patient-management-section {
  padding: 80px 0;
  background: #ffffff;
}

.patient-management-title {
  font-family: "Gotham", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #303030;
  text-align: center;
  margin-bottom: 50px;
}

.patient-management-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.patient-card {
  width: 100%;
  max-width: 266px;
  height: 225px;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  margin: 0 auto;
}

.patient-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Card 1 - Blue */
.patient-card-1 {
  background: #e1f1ff;
  border: 2px solid #a8d1f6;
}

/* Card 2 - Green */
.patient-card-2 {
  background: #f0fbed;
  border: 2px solid #bce2b2;
}

/* Card 3 - Yellow */
.patient-card-3 {
  background: #fffbeb;
  border: 2px solid #e6d075;
}

/* Card 4 - Purple */
.patient-card-4 {
  background: #f8f0ff;
  border: 2px solid #e2c6fb;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  min-height: 50px;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: #ffffff;
}

/* Icon backgrounds matching card colors but darker */
.patient-card-1 .card-icon {
  background: #1a56db;
}

.patient-card-2 .card-icon {
  background: #0e9f6e;
}

.patient-card-3 .card-icon {
  background: #b45309;
}

.patient-card-4 .card-icon {
  background: #7e22ce;
}

.card-count {
  font-family: "Gotham", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-top: 0;
}

/* Count colors matching card themes */
.patient-card-1 .card-count {
  color: #1a56db;
}

.patient-card-2 .card-count {
  color: #0e9f6e;
}

.patient-card-3 .card-count {
  color: #b45309;
}

.patient-card-4 .card-count {
  color: #7e22ce;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-title {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #303030;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: left;
  margin-top: 20px;
}

.card-description {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6e6e6e;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  margin-top: 10px;
}

/* Patient Management Description */
.patient-management-description {
  margin-top: 50px;
  padding: 0 20px;
  text-align: left;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 40px);
}

.patient-management-description-text {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6e6e6e;
  line-height: 1.7;
  margin: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===== BILLING AND PAYMENTS SECTION ===== */
.billing-payments-section {
  padding: 40px 0;
  background: #ffffff;
}

.billing-payments-title {
  font-family: "Gotham", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #303030;
  text-align: center;
  margin-bottom: 50px;
}

.billing-payments-image {
  text-align: center;
  margin-bottom: 40px;
}

.billing-payments-image img {
  max-width: 100%;
  height: 633px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  object-fit: contain;
  background: #f8f9fa;
}

.billing-payments-description {
  padding: 0 20px;
  text-align: center;
}

.billing-payments-description-text {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6e6e6e;
  line-height: 1.7;
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== RESPONSIVE DESIGN FOR PATIENT MANAGEMENT ===== */
@media (max-width: 1200px) {
  .patient-management-cards {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    max-width: 600px;
  }
}

@media (max-width: 992px) {
  .billing-payments-image img {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .patient-management-section {
    padding: 60px 0;
  }

  .patient-management-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .patient-management-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
  }

  .patient-card {
    width: 100%;
    max-width: 300px;
    height: 200px;
    padding: 20px;
  }

  .card-count {
    font-size: 28px;
  }

  .card-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .patient-management-description {
    margin-top: 40px;
    padding: 0 15px;
  }

  .patient-management-description-text {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Billing and Payments Responsive */
  .billing-payments-section {
    padding: 60px 0;
  }

  .billing-payments-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .billing-payments-description {
    padding: 0 15px;
  }

  .billing-payments-image img {
    height: 350px;
  }

  .billing-payments-description-text {
    font-size: 13px;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .patient-management-section {
    padding: 40px 0;
  }

  .patient-management-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .patient-card {
    height: 180px;
    padding: 18px;
  }

  .card-header {
    margin-bottom: 15px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .card-count {
    font-size: 24px;
  }

  .card-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .card-description {
    font-size: 12px;
  }

  .patient-management-description {
    margin-top: 30px;
    padding: 0 10px;
  }

  .patient-management-description-text {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Billing and Payments Responsive */
  .billing-payments-section {
    padding: 40px 0;
  }

  .billing-payments-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .billing-payments-description {
    padding: 0 10px;
  }

  .billing-payments-description-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .billing-payments-image img {
    height: 250px;
    border-radius: 8px;
  }
}

/* ===== REAL-TIME TRACKING SECTION ===== */
.real-time-tracking-section {
  padding: 80px 0;
  background: #ffffff;
}

.real-time-tracking-title {
  font-family: "Gotham", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #303030;
  text-align: center;
  margin-bottom: 20px;
}

.real-time-tracking-description {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6e6e6e;
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.tracking-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.tracking-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.tracking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tracking-card-row {
  margin-bottom: 12px;
  flex-shrink: 0;
}

.tracking-card-row:last-child {
  margin-bottom: 0;
  margin-top: auto;
}

/* Vehicle Info Row */
.vehicle-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
}

.vehicle-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vehicle-icon {
  width: 24px;
  height: 24px;
  background: #092bf7;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  flex-shrink: 0;
}

.vehicle-number {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #303030;
  white-space: nowrap;
}

.vehicle-status {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-transit {
  background: #e1f1ff;
  color: #1a56db;
  border: 1px solid #a8d1f6;
}

.status-delayed {
  background: #fef3e2;
  color: #b45309;
  border: 1px solid #e6d075;
}

.status-arrived {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* Map Row */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 100px;
  flex-shrink: 0;
}

.vehicle-map {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.map-placeholder i {
  font-size: 24px;
  opacity: 0.9;
}

.map-placeholder span {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}

/* Driver Details Row */
.driver-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-item i {
  width: 14px;
  font-size: 12px;
  color: #6e6e6e;
  flex-shrink: 0;
}

.detail-text {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #303030;
  line-height: 1.3;
}

/* Track Live Button Row */
.track-button-container {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.track-live-btn {
  background: #092bf7;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.track-live-btn:hover {
  background: #0720c4;
}

/* ===== RESPONSIVE DESIGN FOR REAL-TIME TRACKING ===== */
@media (max-width: 1200px) {
  .tracking-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .real-time-tracking-section {
    padding: 60px 0;
  }

  .real-time-tracking-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .real-time-tracking-description {
    font-size: 13px;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .tracking-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    padding: 0 15px;
    gap: 16px;
  }

  .tracking-card {
    padding: 14px;
    min-height: 280px;
  }

  .map-container {
    height: 80px;
  }
}

@media (max-width: 576px) {
  .real-time-tracking-section {
    padding: 40px 0;
  }

  .real-time-tracking-title {
    font-size: 24px;
  }

  .real-time-tracking-description {
    font-size: 12px;
    margin-bottom: 30px;
  }

  .tracking-card {
    padding: 12px;
    min-height: 260px;
  }

  .vehicle-number {
    font-size: 13px;
  }

  .vehicle-status {
    font-size: 10px;
    padding: 3px 8px;
  }

  .map-container {
    height: 70px;
  }

  .detail-text {
    font-size: 11px;
  }

  .track-live-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* ===== REAL-TIME FLEET INTELLIGENCE SECTION ===== */
.fleet-intelligence-section {
  padding: 40px 0 80px;
  background: #ffffff;
}

.fleet-intelligence-title {
  font-family: "Gotham", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #303030;
  text-align: center;
  margin-bottom: 20px;
}

.fleet-intelligence-description {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6e6e6e;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.intelligence-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.intelligence-card {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.intelligence-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.intelligence-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  background: #3b82f6;
}

.card-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.alert-critical {
  background: #fef2f2;
  color: #dc2626;
}

.alert-warning {
  background: #fffbeb;
  color: #d97706;
}

.alert-normal {
  background: #f0fdf4;
  color: #16a34a;
}

.intelligence-card .card-title {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #303030;
  margin-bottom: 16px;
}

.card-metrics {
  margin-bottom: 16px;
}

.metric-value {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #303030;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trend {
  font-size: 14px;
  font-weight: 600;
}

.trend.up {
  color: #16a34a;
}

.trend.down {
  color: #dc2626;
}

.metric-alert {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.alert-critical .metric-alert {
  color: #dc2626;
}

.alert-warning .metric-alert {
  color: #d97706;
}

.alert-normal .metric-alert {
  color: #16a34a;
}

.card-details {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #6e6e6e;
  line-height: 1.5;
}

/* Active Alerts Section */
.active-alerts-section {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin: 0 auto;
}

.alerts-header {
  margin-bottom: 24px;
}

.alerts-title {
  font-family: "Gotham", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #303030;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.alert-item:last-child {
  border-bottom: none;
}

.alert-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.alert-icon.high {
  background: #ef4444;
}

.alert-icon.medium {
  background: #f59e0b;
}

.alert-icon.low {
  background: #10b981;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
  color: #303030;
}

.alert-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #6e6e6e;
}

.alert-time {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #94a3b8;
  flex-shrink: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .intelligence-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fleet-intelligence-section {
    padding: 30px 0 60px;
  }

  .fleet-intelligence-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .fleet-intelligence-description {
    font-size: 13px;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .intelligence-cards {
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 20px;
    margin-bottom: 40px;
  }

  .intelligence-card {
    padding: 20px;
  }

  .active-alerts-section {
    padding: 20px;
    margin: 0 15px;
  }

  .alert-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .alert-time {
    align-self: flex-end;
  }
}

@media (max-width: 576px) {
  .fleet-intelligence-section {
    padding: 20px 0 40px;
  }

  .fleet-intelligence-title {
    font-size: 24px;
  }

  .fleet-intelligence-description {
    font-size: 12px;
    margin-bottom: 30px;
  }

  .intelligence-card {
    padding: 16px;
  }

  .metric-value {
    font-size: 20px;
  }
}