/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f9f9fb;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* CONTAINER GERAL */
.container {
  max-width: 720px;
  margin: auto;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
}

/* TÍTULOS */
h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 24px;
  color: #003b71;
}

/* FORMULÁRIOS */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input[type="text"],
input[type="password"],
textarea {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  color: #333;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #7b2cbf;
  outline: none;
}

/* BOTÕES */
button {
  padding: 12px 16px;
  background: linear-gradient(to right, #003b71, #7b2cbf);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: linear-gradient(to right, #002a56, #5a31a3);
}

/* MENSAGEM */
.mensagem {
  padding: 12px;
  background-color: #e3f2fd;
  color: #003b71;
  border-left: 4px solid #7b2cbf;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 16px;
}

/* COMENTÁRIO */
.comentario {
  background: #f1f1fc;
  padding: 14px;
  border-left: 4px solid #7b2cbf;
  border-radius: 10px;
  margin-top: 20px;
  color: #333;
  font-style: italic;
}

/* IMAGEM */
.zoom-container {
  text-align: center;
  margin-top: 20px;
}

.zoom-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  user-select: none;
}

/* FIELDSET PARA UPLOAD */
fieldset {
  background: #f6f6f9;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 16px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

input[type="file"] {
  margin-top: 4px;
}

/* LINKS */
a {
  color: #003b71;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  text-decoration: underline;
}

/* RESPONSIVO */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  input, textarea, button {
    font-size: 1rem;
  }
}
