@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.container {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  max-width: 480px;
  width: 90%;
  text-align: center;
}

h2, h3 {
  margin-bottom: 20px;
  color: #333;
}

p {
  color: #444;
  font-size: 15px;
  margin: 5px 0 10px;
}

form {
  margin-top: 20px;
}

input[type="password"],
input[type="text"],
input[type="file"] {
  padding: 10px;
  width: 100%;
  font-size: 16px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #0056b3;
}

a {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

a:hover {
  text-decoration: underline;
}

/* Mensagem de sucesso/erro */
.message {
  padding: 10px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 14px;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.modal-content input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin-top: 15px;
  border: 2px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.modal-content input.error {
  border-color: red;
}

.modal-content .error-msg {
  color: red;
  font-size: 13px;
  margin-top: 5px;
}

.modal-content button {
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #0056b3;
}

.close {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}