/* === BASE GLOBAL === */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: url('assets/fundo-nuflix.jpg') center/cover no-repeat fixed;
  background-color: rgba(0, 0, 0, 0.7);
  background-blend-mode: overlay;
  color: white;
}

/* === NAVBAR === */
.navbar {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 16px 24px;
  font-size: 18px;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.id-info {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
}

/* === BOTÕES === */
button {
  background-color: #e50914;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  opacity: 0.9;
}

.btn-danger {
  background: none;
  color: #e50914;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

/* === TABELAS === */
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  margin-top: 20px;
}

thead {
  background-color: #2c2c2c;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #444;
}

.table-wrapper {
  overflow-x: auto;
}

/* === CONTAINERS === */
.content {
  padding: 24px;
}

/* === LOGIN CONTAINER === */
.login-container {
  background-color: #1a1a1a;
  padding: 40px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  color: white;
}

.login-container input,
.login-container button {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  font-size: 16px;
  border-radius: 5px;
  border: none;
}

.login-container input {
  background: #2c2c2c;
  color: white;
}

.login-container button {
  background: #e50914;
  color: white;
  font-weight: bold;
}

/* === ERRO DE LOGIN === */
.error {
  color: #ff4c4c;
  text-align: center;
  display: none;
}

/* === RESPONSIVIDADE === */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    font-size: 16px;
  }

  button {
    width: 100%;
    margin-bottom: 10px;
  }

  table {
    font-size: 14px;
    min-width: 100%;
  }

  .login-container {
    margin: 20px;
    padding: 24px;
  }
}
