body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.container {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.header {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.logo-icon {
  font-size: 3.5em;
  color: #4CAF50; /* A pleasant green */
  margin-bottom: 10px;
}

h1 {
  font-size: 2.2em;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.header p {
  font-size: 1em;
  color: #666;
  margin-top: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
  font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  color: #333;
  background-color: #f9f9f9;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  outline: none;
  background-color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.api-key-helper {
  margin-bottom: 8px;
}

.no-api-key-label {
  font-size: 0.85em;
  color: #666;
}

.clickable-link {
  color: #4CAF50;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}

.clickable-link:hover {
  color: #45a049;
}

button[type="submit"] {
  width: 100%;
  padding: 15px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

button[type="submit"]:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

button[type="submit"]:active {
  transform: translateY(0);
}

.message-area {
  margin-top: 25px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1em;
  display: none; /* Hidden by default */
}

.message-area.success {
  background-color: #e6ffe6;
  color: #28a745;
  border: 1px solid #28a745;
}

.message-area.error {
  background-color: #ffe6e6;
  color: #dc3545;
  border: 1px solid #dc3545;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
      padding: 25px;
      margin: 15px;
  }

  h1 {
      font-size: 1.8em;
  }

  .logo-icon {
      font-size: 3em;
  }

  .form-group label {
      font-size: 0.9em;
  }

  .form-group input,
  .form-group select,
  .form-group textarea,
  button[type="submit"] {
      padding: 10px 12px;
      font-size: 0.95em;
  }

  button[type="submit"] {
      margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 20px;
  }

  h1 {
      font-size: 1.5em;
  }

  .logo-icon {
      font-size: 2.5em;
  }

  .header p {
      font-size: 0.9em;
  }
}