@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: #fdf7ff;
  color: #333;
  padding: 20px;
  line-height: 1.6;
}

.container, main {
  max-width: 600px;
  margin: auto;
  animation: fadeInUp 0.5s ease-in-out;
}

h1, h2 {
  color: #ff4fb9;
  margin-bottom: 10px;
}

form {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

button, .btn, a.button {
  background: #ff4fb9;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

button:hover, .btn:hover, a.button:hover {
  background: #ff2fa2;
}

a.button.secondary {
  background: #6c757d;
}

a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}
th, td {
  padding: 12px;
  border: 1px solid #ddd;
}
th {
  background-color: #f0f0f0;
  font-weight: bold;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

/* ✅ ALERTAS (feedback visual) */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.alert.success {
  background: #d1ffd9;
  color: #207d3d;
}
.alert.error {
  background: #ffe0e0;
  color: #a10000;
}

/* ✨ Animação de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
