* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  display: flex;
  background-color: #18262d;
  color: #fff;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background-color: #152126;
  padding: 20px;
}

.sidebar h2 {
  color: #fff;
  margin-bottom: 30px;
  text-align: left;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 15px;
}

.sidebar ul li a {
  color: #cfcfd6;
  text-decoration: none;
  display: block;
  padding: 15px;
  border-radius: 8px;
  transition: background 0.3s;
}

.sidebar ul li a:hover {
  background-color: #18262d;
  color: #fff;
}

.main {
  flex: 1;
  padding: 30px;
}

.main h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #23df91;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: #152126;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #373737;
}

.card h3 {
  font-size: 16px;
  color: #aaa;
}

.card p {
  font-size: 24px;
  font-weight: bold;
  margin-top: 5px;
}

.section {
  margin-top: 40px;
}

.section h3 {
  margin-bottom: 15px;
  color: #fff;
}

.table-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #373737;
}

table {
  width: 100%;
  background: #152126;
  border-collapse: collapse;
  border: 1px solid #373737;
  border-radius: 12px;
  overflow: hidden;
}

th {
  background-color: #1e2f37;
}

th, td {
  border: 1px solid #373737;
  padding: 0.75rem;
  text-align: left;
}

thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

th,
td {
  border: 1px solid #373737;
  color: #f0f0f0 !important;
  padding: 12px 16px;
  text-align: left;
}

th {
  color: #fff;
}

.btn {
  padding: 6px 12px;
  background: #1ca56c;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn:hover {
  background: #13754c;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    text-align: center;
  }

  .sidebar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .sidebar ul li {
    margin: 10px;
  }

  .main {
    padding: 20px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead tr {
    display: none;
  }

  tr {
    margin-bottom: 15px;
    background: #152126;
    border-radius: 12px;
    padding: 10px;
  }

  td {
    position: relative;
    padding-left: 50%;
  }

  td::before {
    position: absolute;
    left: 15px;
    top: 12px;
    color: #a78bfa;
    font-weight: bold;
  }

  td:nth-of-type(1)::before {
    content: "Título";
  }

  td:nth-of-type(2)::before {
    content: "Preço";
  }

  td:nth-of-type(3)::before {
    content: "Ingressos";
  }

  td:nth-of-type(4)::before {
    content: "Status";
  }

  td:nth-of-type(5)::before {
    content: "Ações";
  }
}