/* Capacity Page Specific Styles */

/* Capacity Summary Styles */
.summary-header {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #fff;
}

.summary-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding: 0 40px; /* Increased padding significantly */
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  padding: 15px 25px; /* Much more padding around text */
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* Capacity Cards Styles */
.capacity-cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fuel-type-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fuel-type-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fuel-type-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.capacity-gauge {
  margin-bottom: 20px;
}

.gauge-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gauge-bar {
  flex: 1;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.gauge-fill {
  height: 100%;
  border-radius: 12px;
  transition: width 0.5s ease;
  position: relative;
}

.gauge-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(200,200,200,0.0) 0%, 
    rgba(200,200,200,0.6) 50%, 
    rgba(200,200,200,0.0) 100%);
  animation: shimmer 3s infinite ease-in-out;
}

@keyframes shimmer {
  0% { 
    transform: translateX(-100%); 
    opacity: 0;
  }
  50% { 
    opacity: 1;
  }
  100% { 
    transform: translateX(100%); 
    opacity: 0;
  }
}

.gauge-fill.high-utilization {
  background: linear-gradient(90deg, #ffffff, #f0f0f0);
}

.gauge-fill.medium-utilization {
  background: linear-gradient(90deg, #ffffff, #f0f0f0);
}

.gauge-fill.low-utilization {
  background: linear-gradient(90deg, #ffffff, #f0f0f0);
}

.gauge-label {
  min-width: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.capacity-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.metric-value {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.expand-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.expand-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.toggle-icon {
  transition: transform 0.3s ease;
}

/* Plant Table Styles */
.fuel-type-plants-table {
  margin-top: 20px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto; /* Enable horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Improve scrolling on iOS */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

/* Custom scrollbar styling for tables */
.fuel-type-plants-table::-webkit-scrollbar {
  height: 8px;
}

.fuel-type-plants-table::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.fuel-type-plants-table::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fuel-type-plants-table::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.capacity-table {
  width: auto; /* Auto width instead of 100% */
  min-width: 600px; /* Minimum width to ensure content is readable */
  border-collapse: collapse;
  margin-top: 10px;
}

.capacity-table th,
.capacity-table td {
  white-space: nowrap; /* Prevent text wrapping */
  padding: 12px;
  text-align: left;
}

/* Auto-width columns based on content */
.capacity-table th:nth-child(1), /* Plant Name */
.capacity-table td:nth-child(1) {
  width: auto;
  min-width: 80px; /* Reduced minimum width for plant names */
}

.capacity-table th:nth-child(2), /* Output */
.capacity-table td:nth-child(2),
.capacity-table th:nth-child(3), /* Capacity */
.capacity-table td:nth-child(3),
.capacity-table th:nth-child(4), /* Utilization */
.capacity-table td:nth-child(4) {
  width: auto;
  min-width: 80px; /* Minimum width for numeric columns */
  text-align: center; /* Center numeric columns */
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.table-header h4 {
  color: #fff;
  font-size: 16px;
  margin: 0;
}

.table-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #4CAF50;
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.toggle-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.capacity-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.capacity-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  text-transform: uppercase;
}

.capacity-table td {
  color: rgba(255, 255, 255, 0.9);
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  white-space: nowrap; /* Prevent text wrapping in table cells */
}

.capacity-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Mobile responsive adjustments for tables */
@media (max-width: 480px) {
  .fuel-type-plants-table {
    padding: 10px; /* Reduce padding on very small screens */
  }
  
  .capacity-table {
    min-width: 500px; /* Reduce minimum width for very small screens */
  }
  
  .capacity-table th,
  .capacity-table td {
    padding: 8px; /* Reduce cell padding */
    font-size: 12px; /* Smaller font size */
  }
}

.idle-plant {
  color: rgba(255, 255, 255, 0.5);
}

.high-utilization {
  color: #4CAF50;
}

.medium-utilization {
  color: #FFC107;
}

.low-utilization {
  color: #F44336;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .capacity-metrics {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .metric {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 15px;
  }
  
  .gauge-container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
  }
  
  .gauge-bar {
    flex: 1;
    min-height: 20px;
  }
  
  .gauge-label {
    text-align: center;
    min-width: 50px;
    font-size: 14px;
  }
  
  .table-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .summary-stats {
    flex-direction: column;
    align-items: center; /* Center items instead of stretching */
    gap: 10px;
    padding: 0 20px;
  }
  
  .stat-item {
    width: auto; /* Auto width instead of 100% */
    min-width: 200px; /* Minimum width for content */
    max-width: 90%; /* Maximum width to prevent edge touching */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 20px; /* Add left/right padding for mobile */
  }
  
  .fuel-type-summary {
    padding: 20px;
  }
  
  .expand-toggle {
    padding: 10px 15px;
  }
}

/* Information Section Styles */
.info-container {
  margin-top: 40px;
  margin-bottom: 80px;
  padding: 0 20px;
}

.info-card {
  max-width: 800px;
  margin: 0 auto;
}

.info-content {
  padding: 20px 0;
}

.info-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-section h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.info-section h4 i {
  width: 18px;
  height: 18px;
  color: #4CAF50;
}

.info-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* Mobile responsive adjustments for capacity page */
@media (max-width: 768px) {
  /* Add more padding to glass cards on mobile to prevent text from touching edges */
  .glass-card {
    padding: 25px !important;
  }
  
  /* Specifically target capacity content on capacity page */
  .capacity-info, .capacity-details {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Capacity Bar Graph Styles */
.bar-graph-container {
  padding: 0 0 25px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header controls styling */
.header-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.capacity-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.capacity-toggle .toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 20px;
}

.capacity-toggle .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.capacity-toggle .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 20px;
}

.capacity-toggle .toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.capacity-toggle input:checked + .toggle-slider {
  background-color: #4CAF50;
}

.capacity-toggle input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.capacity-toggle .toggle-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.bar-graph-header {
  margin-bottom: 20px;
  text-align: center;
}

.bar-graph-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.total-output-display {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.utilization-display {
  font-size: 20px;
  font-weight: 600;
  color: #4CAF50;
}

.capacity-display {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.bar-graph-wrapper {
  margin-bottom: 25px;
}

.bar-graph-background {
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar-graph-segments {
  display: flex;
  height: 100%;
  position: relative;
}

.bar-segment {
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.bar-segment:hover {
  filter: brightness(1.1);
  z-index: 10;
}

.bar-segment::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.0) 0%, 
    rgba(255,255,255,0.2) 50%, 
    rgba(255,255,255,0.0) 100%);
  animation: barShimmer 3s infinite ease-in-out;
}

@keyframes barShimmer {
  0% { 
    transform: translateX(-100%); 
    opacity: 0;
  }
  50% { 
    opacity: 1;
  }
  100% { 
    transform: translateX(100%); 
    opacity: 0;
  }
}

/* Fuel Type Color Definitions */
.bar-segment.nuclear {
  background: linear-gradient(135deg, #FF6B6B, #C92A2A);
}

.bar-segment.gas {
  background: linear-gradient(135deg, #4ECDC4, #0B7285);
}

.bar-segment.wind-offshore {
  background: linear-gradient(135deg, #74C0FC, #1864AB);
}

.bar-segment.wind-onshore {
  background: linear-gradient(135deg, #A5D8FF, #1C7ED6);
}

.bar-segment.battery {
  background: linear-gradient(135deg, #69DB7C, #2F9E44);
}

.bar-segment.biomass {
  background: linear-gradient(135deg, #FFD43B, #F08C00);
}

.bar-segment.pumped {
  background: linear-gradient(135deg, #845EF7, #5F3DC4);
}

.bar-segment.hydro {
  background: linear-gradient(135deg, #339AF0, #1971C2);
}

.bar-segment.coal {
  background: linear-gradient(135deg, #495057, #212529);
}

.bar-segment.solar {
  background: linear-gradient(135deg, #FFA94D, #FD7E14);
}

.bar-segmentpeaker {
  background: linear-gradient(135deg, #FF8A65, #FF5722);
}

.bar-segment.vpp {
  background: linear-gradient(135deg, #FF8CC3, #E64980);
}

.bar-segment.pv {
  background: linear-gradient(135deg, #FFE066, #FCC419);
}

.bar-segment.interconnectors {
  background: linear-gradient(135deg, #CC5DE8, #862E9C);
}

.bar-segment.default {
  background: linear-gradient(135deg, #868E96, #495057);
}

/* Bar Graph Legend */
.bar-graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.legend-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legend-fuel-type {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.legend-value {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

/* Legend color classes */
.legend-color.nuclear { background: linear-gradient(135deg, #FF6B6B, #C92A2A); }
.legend-color.gas { background: linear-gradient(135deg, #4ECDC4, #0B7285); }
.legend-color.wind-offshore { background: linear-gradient(135deg, #74C0FC, #1864AB); }
.legend-color.wind-onshore { background: linear-gradient(135deg, #A5D8FF, #1C7ED6); }
.legend-color.battery { background: linear-gradient(135deg, #69DB7C, #2F9E44); }
.legend-color.biomass { background: linear-gradient(135deg, #FFD43B, #F08C00); }
.legend-color.pumped { background: linear-gradient(135deg, #845EF7, #5F3DC4); }
.legend-color.hydro { background: linear-gradient(135deg, #339AF0, #1971C2); }
.legend-color.coal { background: linear-gradient(135deg, #495057, #212529); }
.legend-color.solar { background: linear-gradient(135deg, #FFA94D, #FD7E14); }
.legend-colorpeaker { background: linear-gradient(135deg, #FF8A65, #FF5722); }
.legend-color.vpp { background: linear-gradient(135deg, #FF8CC3, #E64980); }
.legend-color.pv { background: linear-gradient(135deg, #FFE066, #FCC419); }
.legend-color.interconnectors { background: linear-gradient(135deg, #CC5DE8, #862E9C); }
.legend-color.default { background: linear-gradient(135deg, #868E96, #495057); }

/* Mobile responsive adjustments for bar graph */
@media (max-width: 768px) {
  .bar-graph-container {
    padding: 0 0 20px 0;
    margin-bottom: 15px;
  }
  
  .header-controls {
    flex-direction: column;
    gap: 8px;
    margin-left: 0;
    margin-top: 10px;
  }
  
  .capacity-toggle .toggle-label {
    font-size: 12px;
  }
  
  .total-output-display {
    font-size: 24px;
  }
  
  .utilization-display {
    font-size: 18px;
  }
  
  .capacity-display {
    font-size: 12px;
  }
  
  .bar-graph-background {
    height: 35px;
  }
  
  .bar-segment {
    font-size: 10px;
  }
  
  .bar-graph-legend {
    gap: 10px;
  }
  
  .legend-item {
    padding: 4px 8px;
    gap: 6px;
  }
  
  .legend-color {
    width: 12px;
    height: 12px;
  }
  
  .legend-fuel-type {
    font-size: 11px;
  }
  
  .legend-value {
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .bar-graph-container {
    padding: 0 0 15px 0;
    margin-bottom: 10px;
  }
  
  .header-controls {
    gap: 6px;
    margin-top: 8px;
  }
  
  .capacity-toggle .toggle-label {
    font-size: 11px;
  }
  
  .total-output-display {
    font-size: 20px;
  }
  
  .utilization-display {
    font-size: 16px;
  }
  
  .bar-graph-background {
    height: 30px;
  }
  
  .bar-segment {
    font-size: 9px;
  }
  
  .bar-graph-legend {
    gap: 8px;
  }
  
  .legend-item {
    padding: 3px 6px;
    gap: 4px;
  }
  
  .legend-color {
    width: 10px;
    height: 10px;
  }
  
  .legend-fuel-type {
    font-size: 10px;
  }
  
  .legend-value {
    font-size: 8px;
  }
}

/* Utilization Tooltip Styles */
.utilization-tooltip, .fuel-type-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  overflow: visible;
}

.utilization-tooltip .tooltip-icon, .fuel-type-tooltip .tooltip-icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.2s ease;
}

.utilization-tooltip .tooltip-icon:hover, .fuel-type-tooltip .tooltip-icon:hover {
  color: rgba(255, 255, 255, 0.9);
}

.utilization-tooltip .tooltip-content, .fuel-type-tooltip .tooltip-content {
  visibility: hidden;
  width: 320px;
  background-color: rgba(0, 0, 0, 0.95);
  color: #fff;
  text-align: left;
  border-radius: 8px;
  padding: 12px;
  position: absolute;
  z-index: 9999;
  bottom: 125%;
  left: 50%;
  margin-left: -160px;
  font-size: 12px;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.utilization-tooltip .tooltip-content::after, .fuel-type-tooltip .tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}

/* Show tooltip on hover */
.utilization-tooltip:hover .tooltip-content, .fuel-type-tooltip:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Mobile-friendly click tooltip */
@media (max-width: 768px) {
  .utilization-tooltip .tooltip-content, .fuel-type-tooltip .tooltip-content {
    width: 280px;
    margin-left: -140px;
    font-size: 11px;
    padding: 10px;
  }
  
  .utilization-tooltip .tooltip-content::after, .fuel-type-tooltip .tooltip-content::after {
    margin-left: -5px;
  }
}

/* Touch device support */
@media (hover: none) {
  .utilization-tooltip .tooltip-content, .fuel-type-tooltip .tooltip-content {
    transition: none;
  }
  
  .utilization-tooltip.active .tooltip-content, .fuel-type-tooltip.active .tooltip-content {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/* Maintenance icon styles for interconnectors */
.maintenance-icon {
  width: 12px;
  height: 12px;
  color: #f59e0b; /* Amber color for warning */
  cursor: help;
  margin-left: 8px;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Inline maintenance icon for SVG elements */
.maintenance-icon-inline {
  width: 14px !important;
  height: 14px !important;
  color: #f59e0b; /* Amber color for warning */
  cursor: help;
  margin-left: 6px;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Adjust card header to accommodate maintenance icons */
.card-header {
  overflow: visible !important; /* Allow tooltips to be visible */
  gap: 8px; /* Add proper spacing between elements */
  padding-right: 15px; /* Add extra padding on the right */
  min-height: 40px; /* Ensure minimum height for icons */
}

.card-header h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0; /* Allow text to shrink if needed */
  margin-right: 8px; /* Add space before icons */
}

/* Fuel Section Styles */
.fuel-section {
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-header h2 i {
  width: 24px;
  height: 24px;
}

.section-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.explainer-card {
  margin-top: 15px;
  padding: 20px;
}

.explainer-card .card-header {
  margin-bottom: 15px;
}

.explainer-card .card-header h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.explainer-card .card-icon i {
  color: #4ECDC4;
}

.explainer-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.explainer-card p:last-child {
  margin-bottom: 0;
}

.explainer-card strong {
  color: #fff;
  font-weight: 600;
}

.explainer-card em {
  color: #4ECDC4;
  font-style: italic;
}
