/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica', sans-serif;
  background:#2f76ea;
}

/* HEADER */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 100%;
  top: 0;
  z-index: 10;
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 60px;
}

/* NAVIGATION */
.menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 4px;
  background-color: #f0f4f7;
  transition: all 0.3s ease;
}

.menu ul li a:hover {
  background-color: #1e90ff;
  color: #fff;
}

/* HAMBURGER MENU */
.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon .navicon {
  background: #333;
  height: 3px;
  width: 25px;
  position: relative;
  display: block;
  transition: all 0.3s ease;
}

.menu-icon .navicon::before,
.menu-icon .navicon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}

.menu-icon .navicon::before {
  top: -8px;
}

.menu-icon .navicon::after {
  top: 8px;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu ul {
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    display: none;
  }

  .menu-toggle:checked + .menu-icon .navicon {
    background: transparent;
  }

  .menu-toggle:checked + .menu-icon .navicon::before {
    transform: rotate(-45deg);
    top: 0;
  }

  .menu-toggle:checked + .menu-icon .navicon::after {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle:checked ~ nav ul {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

/* VISIBILIDADE CONDICIONAL */
.table-desktop {
  display: block;
}

.form-mobile {
  display: none;
}

@media (max-width: 767px) {
  .table-desktop {
    display: none;
  }

  .form-mobile {
    display: block;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 90%;
  }

  .form-title {
    text-align: center;
    color: #1e90ff;
    margin-bottom: 15px;
    font-size: 20px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }

  .form-group input,
  .form-group select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
  }

  .form-mobile button {
    width: 100%;
    background-color: #1e90ff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
    cursor: pointer;
  }

  .form-mobile button:hover {
    background-color: #26e32f;
  }
}

/* CONTAINER TABELA */
.container-tab {
  margin: 120px auto 50px auto;
  max-width: 1200px;
  width: 90%;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* TÍTULO */
h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #0271e0, #496cab);
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 26px;
  font-weight: bold;
  width: 100%;
}

/* TABELA */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  min-width: 600px;
}
option{
  margin-top: 5px;
}
table th, table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

table th {
  background-color: #1e90ff;
  color: #fff;
}

table td {
  background-color: #e6f7e6;
  color: #2b3d4f;
}

table input, table select {
  padding: 8px;
  width: 90%;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-top: 5px;
}

table button {
  padding: 10px 20px;
  font-size: 14px;
  margin-top: 10px;
  background-color: #1e90ff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

table button:hover {
  background-color: #26e32f;
}



.page-wrapper {
  min-height: calc(100vh - 96px); /* altura total da tela menos altura do footer */
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: white;
  padding: 24px 0;
  text-align: center;
  
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-link {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}
