/* Reset e fontes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Corpo da página */
body {
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 0;
}

/* Container principal do formulário */
.chamado-box {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 500px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
}

/* Botão de voltar (topo esquerdo) */
.voltar-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 13px;
  text-decoration: none;
  color: #2e4575;
  background-color: transparent;
  border: 1px solid #2e4575;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.voltar-btn:hover {
  background-color: #2e4575;
  color: #fff;
}

/* Logo da empresa */
.logo {
  display: block;
  margin: 10px auto;
  width: 160px;
}

/* Título da página */
h2 {
  text-align: center;
  color: #2e4575;
  margin-bottom: 25px;
}

/* Grupos de campos do formulário */
form fieldset {
  border: none;
  margin-bottom: 25px;
}

form legend {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

/* Estilo dos campos */
label {
  display: block;
  margin: 10px 0 4px;
  font-size: 14px;
  color: #555;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1.5px solid #aaa;
  font-size: 14px;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: #5c7bd9;
}

/* Botão de enviar */
button {
  width: 100%;
  background-color: #2e4575;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #1e2f50;
}

/* Aviso importante */
.importante {
  margin-top: 20px;
  font-size: 12px;
  color: #a00;
}

/* Links de suporte */
.links-uteis {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
}

.links-uteis a {
  color: #5c7bd9;
  text-decoration: none;
  margin: 0 5px;
}

.links-uteis a:hover {
  text-decoration: underline;
}

footer {
    margin-top: 20px;
    font-size: 10px;
    color: #777;
    text-align: center;
}

/* 🔹 Botão de anexo personalizado */
.botao-anexo {
  background-color: #5c7bd9;
  color: white;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s;
}

.botao-anexo:hover {
  background-color: #3a5286;
}
