@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');
body {
    font-family: 'Kanit', sans-serif;
}
.suggestion-container {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(46, 125, 50, 0.08);
  overflow: hidden;
  position: relative;
}

.suggestion-header {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
}

.suggestion-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(192, 160, 64, 0.25);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.suggestion-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: rgba(192, 160, 64, 0.2);
  border-radius: 50%;
  transform: translate(-20px, 20px);
}

.suggestion-header h1 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.suggestion-header .desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.form-section {
  padding: 48px 60px;
}

.suggestion-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group {
  position: relative;
}

.suggestion-form label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  color: #1e293b;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggestion-form input,
.suggestion-form textarea {
  width: 100%;
  font-size: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 18px;
  background: #ffffff;
  font-family: 'Kanit', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.suggestion-form input:focus,
.suggestion-form textarea:focus {
  border-color: #2e7d32;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
  transform: translateY(-1px);
}

.suggestion-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.g-recaptcha {
  transform: scale(0.9);
  transform-origin: center;
}

.submit-section {
  margin-top: 8px;
}

.suggestion-form button[type=submit] {
  width: 100%;
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 14px;
  border: none;
  padding: 16px 0;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.suggestion-form button[type=submit]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s;
}

.suggestion-form button[type=submit]:hover {
  background: linear-gradient(135deg, #1b5e20 0%, #0d1b0d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46, 125, 50, 0.4);
}

.suggestion-form button[type=submit]:hover::before {
  left: 100%;
}

.suggestion-form button[type=submit]:active {
  transform: translateY(0);
}

/* Accent elements */
.accent-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #c0a040;
  border-radius: 50%;
  top: 20px;
  right: 40px;
}

.accent-line {
  position: absolute;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #c0a040, #9c7a2e);
  bottom: 20px;
  left: 40px;
  border-radius: 1px;
}

/* Responsive design */
@media (max-width: 768px) {
  .suggestion-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-group.full-width {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .suggestion-container {
    margin: 20px auto;
    border-radius: 20px;
  }

  .suggestion-header {
    padding: 32px 24px 24px;
  }

  .form-section {
    padding: 32px 24px;
  }

  .suggestion-header h1 {
    font-size: 24px;
  }

  .g-recaptcha {
    transform: scale(0.8);
  }
}
/* 🌙 Dark Mode */
body.dark-mode {
  background-color: #121212; /* พื้นหลังหลัก */
  color: #e0e0e0;
  font-family: 'Kanit', sans-serif;
}

/* Container */
body.dark-mode .suggestion-container {
  background: #1a1a1a; /* กล่องแบบเข้ม */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid #2e7d32;
}

/* Header */
body.dark-mode .suggestion-header {
  background: linear-gradient(135deg, #263238 0%, #1b5e20 100%);
}

body.dark-mode .suggestion-header::before {
  background: rgba(192, 160, 64, 0.15);
}

body.dark-mode .suggestion-header::after {
  background: rgba(192, 160, 64, 0.1);
}

body.dark-mode .suggestion-header h1 {
  color: #c0a040; /* ทอง */
}

body.dark-mode .suggestion-header .desc {
  color: rgba(255, 255, 255, 0.7);
}

/* Form Section */
body.dark-mode .form-section {
  background: #121212;
}

body.dark-mode .suggestion-form label {
  color: #c0a040; /* ทอง */
}

body.dark-mode .suggestion-form input,
body.dark-mode .suggestion-form textarea {
  background: #1e1e1e;
  color: #e0e0e0;
  border: 2px solid #333;
  box-shadow: none;
}

body.dark-mode .suggestion-form input:focus,
body.dark-mode .suggestion-form textarea:focus {
  border-color: #c0a040;
  background: #121212;
  box-shadow: 0 0 0 3px rgba(192, 160, 64, 0.25);
}

/* Submit Button */
body.dark-mode .suggestion-form button[type=submit] {
  background: linear-gradient(135deg, #c0a040 0%, #9c7a2e 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(192, 160, 64, 0.3);
}

body.dark-mode .suggestion-form button[type=submit]:hover {
  background: linear-gradient(135deg, #9c7a2e 0%, #c0a040 100%);
  color: #000;
  box-shadow: 0 8px 30px rgba(192, 160, 64, 0.5);
}

/* Accent */
body.dark-mode .accent-dot {
  background: #c0a040;
}

body.dark-mode .accent-line {
  background: linear-gradient(90deg, #c0a040, #9c7a2e);
}

/* reCAPTCHA placeholder */
body.dark-mode .recaptcha-placeholder {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #aaa;
}
