/* Estilos Padrão */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
}

body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    color: #0F321E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container principal da página */
.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    text-align: center;
}

/* Tamanho da logo ajustado */
.logo {
    max-width: 200px; /* Aumentado de 150px */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* Tamanho do título ajustado */
h1.title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 2em; /* Diminuído de 2.5em */
    color: #0F321E;
    margin-bottom: 20px;
    text-align: center;
}

/* Estilos dos links e botões */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.link-button {
    display: block;
    width: 80%;
    padding: 15px;
    background-color: #FF720F;
    color: #010402;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.link-button:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
}

.back-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #0f321e;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back-button:hover {
    background-color: #ff6900;
    transform: translateY(-2px);
}

/* Estilos de formulário (login e upload) */
.form-card {
  max-width: 420px;
  width: 90%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.form-card .logo {
  margin-bottom: 30px;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

select, input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%230f321e" d="M6 9l-4-4h8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

button[type="submit"] {
  margin-top: 20px;
  width: 100%;
  background: #ff6900;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1em;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: block;
  text-align: center;
  font-weight: bold;
}

button[type="submit"]:hover {
  background: #0f321e;
}

.error-message {
  color: #e53e3e;
  text-align: center;
  margin-top: 15px;
}

.success-message {
  color: #16a34a;
  text-align: center;
  margin-top: 15px;
}

/* Estilos para o rodapé */
.app-footer {
    padding-top: 20px;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 20px;
}

.app-footer p {
  color: #595959;
  font-size: 0.9em;
  margin-bottom: 5px;
}

/* Novo estilo para o link de login no rodapé */
.footer-login-link {
    color: #0f321e;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: color 0.2s ease;
}

.footer-login-link:hover {
    color: #ff6900;
}