@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #25D366;
  --primary-dark: #128C7E;
  --bg-gradient: linear-gradient(135deg, #ECE5DD 0%, #DCF8C6 100%);
  --text-dark: #075E54;
  --text-light: #555;
  --white: rgba(255, 255, 255, 0.95);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #333;
  padding: 20px;
}

.container {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

label {
  display: block;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

textarea, input {
  width: 100%;
  padding: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: #333;
  background: #f8f9fa;
  border: 2px solid #e1e4e8;
  border-radius: 12px;
  transition: all 0.3s ease;
  resize: vertical;
}

textarea:focus, input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

textarea {
  min-height: 100px;
}

button, .btn-link {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border: none;
  padding: 15px;
  border-radius: 12px;
  margin-top: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

button:hover, .btn-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
}

button:active, .btn-link:active {
  transform: translateY(0);
}

/* Styles for send.php results */
.results-list {
  list-style: none;
  margin-top: 20px;
}

.results-list li {
  background: #f8f9fa;
  border: 1px solid #e1e4e8;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.results-list li:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.results-list strong {
  color: var(--text-dark);
  font-size: 1.1rem;
}

.open-chat-btn {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.open-chat-btn:hover {
  background: var(--primary);
  color: #fff;
}

.empty-state {
  text-align: center;
  color: var(--text-light);
  padding: 20px 0;
}

.helper-text {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 20px;
}
