/*
  Green Energy Theme for Thong Guan Industries
  Fresh, eco-friendly, and modern
*/

body {
  background: #f6fff8;
  color: #23422a;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: #1b5e20;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
}

.section-header .section-title,
.hero-title {
  color: #256029;
}

.section-header .section-subtitle,
.hero-subtitle {
  color: #3e6b4c;
}

/* Card and modal content styling */
.card, .modal-content {
  background: #fff;
  color: #23422a;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(34, 66, 42, 0.07);
}

nav, .navbar, .header-bar {
  background: #e8f5e9 !important;
  color: #256029 !important;
  box-shadow: 0 2px 8px rgba(34, 66, 42, 0.04);
}

nav .brand-logo, .navbar .brand-logo {
  color: #256029 !important;
}

.btn, .btn-large, .btn-primary {
  background: #43a047 !important;
  color: #fff !important;
  border-radius: 24px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(34, 66, 42, 0.08);
  transition: background 0.2s;
}

.btn:hover, .btn-large:hover, .btn-primary:hover {
  background: #388e3c !important;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
  background: #f1f8e9;
  color: #23422a;
  border-radius: 6px;
  border: 1px solid #b2dfdb;
}

input:focus, textarea:focus {
  border-color: #43a047;
  box-shadow: 0 0 0 2px #c8e6c9;
}

.modal {
  background: rgba(255,255,255,0.98);
}

.hero-section {
  background: linear-gradient(120deg, #e8f5e9 0%, #f6fff8 100%);
}

.hero-title .ai-text {
  color: #43a047;
}

.hero-title .manufacturing-text {
  color: #1b5e20;
}

.hero-stats .stat-item {
  background: #e8f5e9;
  color: #256029;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(34, 66, 42, 0.04);
}

.hero-actions .btn-primary {
  background: #43a047 !important;
}

.section-padding {
  padding: 60px 0 40px 0;
}

.bg-tech {
  background: #e8f5e9 !important;
}

.card-title, .stat-label {
  color: #256029;
}

a, .btn-flat {
  color: #43a047 !important;
}

a:hover, .btn-flat:hover {
  color: #1b5e20 !important;
}

::-webkit-scrollbar {
  width: 8px;
  background: #e8f5e9;
}
::-webkit-scrollbar-thumb {
  background: #b2dfdb;
  border-radius: 8px;
}

/* Remove dark theme overrides */
body, .modal-content, .card, .section-header, .hero-section, .bg-tech {
  background: unset !important;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  html, body {
    font-size: 13px;
  }
  .section-padding {
    padding: 18px 0 10px 0;
  }
  .hero-title {
    font-size: 1.3rem;
    line-height: 1.2;
  }
  .hero-subtitle, .section-header .section-subtitle {
    font-size: 0.98rem;
  }
  .card, .modal-content {
    padding: 10px 8px;
    border-radius: 7px;
  }
  .stat-item {
    font-size: 0.95rem;
    padding: 6px 0;
  }
  .btn, .btn-large, .btn-primary {
    font-size: 0.98rem;
    padding: 0 10px;
    min-width: 80px;
    height: 32px;
    border-radius: 18px;
  }
  .modal-header h4, .modal-header .h4, .modal-header h5 {
    font-size: 1.1rem;
  }
  .input-field input, .input-field label, .input-field .material-icons {
    font-size: 0.98rem;
  }
  .sidenav .user-view {
    height: 60px;
  }
  .sidenav .user-view img {
    height: 40px !important;
    width: 40px !important;
  }
  .sidenav li > a {
    font-size: 0.95rem;
    min-height: 18px;
    padding: 0 4px;
  }
  .hero-content, .about-content, .about-visual, .card-content {
    padding: 0 4px !important;
  }
  /* Removed .floating-card for green energy cleanup */
}
