/**
 * frontend.css
 * Stili generali del tema NisargPro UltraModChild
 */

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

header, footer {
  background: #0e1a2b;
  color: #f5f5f5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  color: #0073e6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input[type="submit"] {
  background: #0073e6;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background: #005bb5;
}

.section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.ai-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 340px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-radius: 12px;
  overflow: hidden;
  display: none;
  z-index: 9999;
}

.ai-panel.active {
  display: block;
}

.ai-chat {
  height: 300px;
  overflow-y: auto;
  padding: 15px;
}

.ai-msg,
.user-msg {
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 10px;
}

.ai-msg {
  background: #eef2ff;
  color: #333;
}

.user-msg {
  background: #0073e6;
  color: #fff;
  text-align: right;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
