/* Light Professional Sections Design */

/* Light Section Cards */
.section-card-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
  border-radius: 20px;
  border: 2px solid rgba(76, 175, 80, 0.1);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.section-card-light:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(76, 175, 80, 0.2);
}

.section-card-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #007bff, #ffc107);
  z-index: 1;
}

/* Section Headers */
.section-header-light {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2rem 1rem 2rem;
  position: relative;
  z-index: 2;
}

.section-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.section-card-light:hover .section-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.section-title-content {
  flex-grow: 1;
}

.section-title-light {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle-light {
  font-size: 0.95rem;
  color: #6c757d;
}

.section-badge-light {
  flex-shrink: 0;
}

.section-badge-light .badge {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.section-card-light:hover .section-badge-light .badge {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Section Content */
.section-content-light {
  padding: 1rem 2rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

/* Gender Cards Light */
.gender-card-light {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gender-card-light:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.male-card-light {
  border-left: 4px solid #007bff;
}

.female-card-light {
  border-left: 4px solid #28a745;
}

.gender-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gender-icon-light {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gender-card-light:hover .gender-icon-light {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.gender-info-light {
  flex-grow: 1;
}

.gender-label-light {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.gender-number-light {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.gender-percentage-light {
  flex-shrink: 0;
}

.percentage-badge-light {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Progress Bars Light */
.gender-progress-light {
  margin-top: 1rem;
}

.progress-light {
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar-light {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s ease;
  position: relative;
}

.progress-bar-light::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progressShineLight 2s infinite;
}

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

.progress-label-light {
  font-size: 0.8rem;
}

/* Employment Cards Light */
.employment-card-light {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.employment-card-light:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.success-employment {
  border-left: 4px solid #28a745;
}

.salary-employment {
  border-left: 4px solid #17a2b8;
}

.employment-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.employment-icon-light {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.employment-card-light:hover .employment-icon-light {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.employment-info-light {
  flex-grow: 1;
}

.employment-label-light {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.employment-number-light {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.employment-rate-light,
.employment-currency-light {
  flex-shrink: 0;
}

.rate-badge-light,
.currency-badge-light {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Gender Employment Light */
.gender-employment-light {
  background: rgba(248, 249, 250, 0.6);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 1.5rem;
}

.gender-employment-header {
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1rem;
}

.gender-employment-light-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.gender-employment-light-card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.male-employment-light {
  border-left: 4px solid #007bff;
}

.female-employment-light {
  border-left: 4px solid #28a745;
}

.employment-gender-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.employment-gender-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.employment-gender-info {
  flex-grow: 1;
}

.employment-gender-rate {
  flex-shrink: 0;
}

.rate-badge-small {
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-header-light {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .section-content-light {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }
  
  .gender-card-header,
  .employment-card-header,
  .employment-gender-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .gender-info-light,
  .employment-info-light,
  .employment-gender-info {
    text-align: center;
  }
  
  .gender-employment-light {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .section-header-light {
    padding: 1.25rem 1.25rem 0.75rem 1.25rem;
  }
  
  .section-content-light {
    padding: 0.75rem 1.25rem 1.25rem 1.25rem;
  }
  
  .gender-card-light,
  .employment-card-light,
  .gender-employment-light-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .gender-number-light,
  .employment-number-light {
    font-size: 1.7rem;
  }
  
  .section-icon-wrapper {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

/* Animation Classes */
.section-card-light {
  animation: sectionSlideUp 0.6s ease-out;
}

.gender-section {
  animation-delay: 0.2s;
}

.employment-section {
  animation-delay: 0.4s;
}

@keyframes sectionSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus States */
.gender-card-light:focus-within,
.employment-card-light:focus-within,
.gender-employment-light-card:focus-within {
  outline: 3px solid rgba(76, 175, 80, 0.5);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .section-card-light,
  .gender-card-light,
  .employment-card-light,
  .gender-employment-light-card {
    border: 3px solid #000;
    background: white;
  }
  
  .section-icon-wrapper,
  .gender-icon-light,
  .employment-icon-light,
  .employment-gender-icon {
    border: 2px solid #000;
  }
  
  .percentage-badge-light,
  .rate-badge-light,
  .currency-badge-light,
  .rate-badge-small {
    border: 1px solid #000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .section-card-light,
  .gender-card-light,
  .employment-card-light,
  .gender-employment-light-card,
  .section-icon-wrapper,
  .gender-icon-light,
  .employment-icon-light,
  .progress-bar-light {
    animation: none;
    transition: none;
  }
  
  .section-card-light:hover,
  .gender-card-light:hover,
  .employment-card-light:hover,
  .gender-employment-light-card:hover {
    transform: none;
  }
  
  .progress-bar-light::after {
    animation: none;
  }
}

/* Chart Containers - ENHANCED */
.chart-container-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(16, 185, 129, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.chart-container-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #F59E0B);
  opacity: 0.8;
}

.chart-container-light:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.2);
}

.employment-chart-enhanced {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.employment-chart-enhanced::before {
  background: linear-gradient(90deg, #10B981, #059669, #F59E0B);
}

.chart-header-light {
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.donut-chart-container,
.area-chart-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 249, 250, 0.3);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.apex-chart {
  width: 100%;
}

/* Enhanced Shadows for Better Visibility */
.enhanced-shadow {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.enhanced-shadow:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-8px);
}

/* Mini Statistics Cards */
.stat-mini-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.stat-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pgc-primary-green), var(--pgc-light-green));
  opacity: 0.8;
}

.stat-mini-card:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(255, 255, 255, 1);
}

.stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.stat-mini-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
}

.stat-content {
  flex-grow: 1;
}

.stat-number {
  font-size: 1.1rem;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
}

/* Bar Chart Container */
.bar-chart-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 249, 250, 0.4);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  min-height: 200px;
}

/* Chart Animation Enhancement */
.chart-container-light {
  animation: chartFadeIn 0.8s ease-out 0.6s both;
}

@keyframes chartFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Chart Responsive */
@media (max-width: 768px) {
  .chart-container-light {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .donut-chart-container,
  .area-chart-container {
    padding: 0.75rem;
  }
}

@media (max-width: 576px) {
  .chart-container-light {
    padding: 1rem;
  }
  
  .chart-header-light {
    margin-bottom: 0.75rem;
  }
}

/* Print Styles */
@media print {
  .section-card-light,
  .gender-card-light,
  .employment-card-light,
  .gender-employment-light-card,
  .chart-container-light {
    background: white !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
  }
  
  .section-icon-wrapper,
  .gender-icon-light,
  .employment-icon-light,
  .employment-gender-icon {
    background: #000 !important;
    color: white !important;
  }
  
  .percentage-badge-light,
  .rate-badge-light,
  .currency-badge-light,
  .rate-badge-small {
    background: #000 !important;
    color: white !important;
    border: 1px solid #000;
  }
}
