body {
  background-color: #111;
  color: #eee;
  font-family: Arial, sans-serif;
  padding: 2rem;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/bg.jpeg');
  background-size: cover;
  background-attachment: fixed;
  filter: blur(5px);
  z-index: -1;
}

h1,
h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.guildas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.guilda-card {
  background: #222;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: 200px;
  text-align: center;
  transition: 0.2s;
  border: 1px solid #333;
}

.guilda-card:hover {
  background: #2e2e2e;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.filtros {
  text-align: center;
  margin-bottom: 1rem;
}

.btn-menu {
  background-color: #00ff88;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  min-width: 180px;
  text-align: center;
  transition: background 0.3s;
}

.btn-menu:hover {
  background-color: #00cc66;
  color: #fff;
}

.btn-menu.active {
  background-color: #333;
  color: #fff;
}

.filtros select {
  padding: 0.5rem;
  margin: 0.3rem;
  border-radius: 5px;
  border: none;
  background: #333;
  color: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  background: #333;
  padding: 0.7rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 0.6rem;
  border-top: 1px solid #2e2e2e;
}

tr:hover {
  background-color: #1f1f1f;
}

.verde {
  color: #0f0;
}

.amarelo {
  color: #ff0;
}

.vermelho {
  color: #f44;
}

button {
  background-color: rgb(224, 236, 236);
  color: #000;
  font-weight: bold;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}


.container {
  max-width: 1000px;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 1rem;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background-color: #1c1c1c;
  padding: 1rem;
  border-radius: 8px;
  border-left: 5px solid #22e408;
  opacity: 0.9;
}

.card.green {
  border-color: #0f0;
}

.card.blue {
  border-color: #09f;
}

.card.orange {
  border-color: #f90;
}

.card h3 {
  margin: 0 0 0.5rem;
}

button,
input {
  padding: 0.6rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.botao-acao {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  border: none;
  font-weight: bold;
}


.btn {
  background: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  transition: 0.3s;
}

.btn:hover {
  background-color: #555;
}

.guild-info {
  font-size: 0.95rem;
  color: #ccc;
}

button:hover {
  background-color: rgb(133, 133, 133);
}


.badge {
  display: inline-block;
  background: #333;
  padding: 0.3rem 0.6rem;
  margin: 0.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.event-table th,
.event-table td {
  padding: 0.6rem;
  border: 1px solid #444;
  text-align: left;
}

.event-table th {
  background: #333;
}

.kill {
  color: #0f0;
}

.death {
  color: #f55;
}

/* Estiliza o select2 dropdown para modo escuro */
.select2-container--default .select2-selection--single {
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
  height: 45px;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group select.form-control {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  height: calc(1.5em + 0.75rem + 2px);
  /* igual ao input padrão do Bootstrap */
}



.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff;
  line-height: 26px;
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 10px;
  right: 10px;
  color: #fff;
}

/* Dropdown com fundo escuro e bordas arredondadas */
.select2-container--default .select2-results>.select2-results__options {
  background-color: #1c1c1c;
  color: #eee;
  border: 1px solid #333;
  border-radius: 6px;
  font-size: 0.95rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #0cf;
  color: #000;
}

.select2-dropdown {
  background-color: #1c1c1c;
  border-color: #333;
}

/* Remove espaçamento entre input e dropdown */
.select2-container--default .select2-selection--single .select2-selection__clear {
  color: #aaa;
}

.recrutee-list {
  margin-top: 1rem;
}

.destaque-negativo {
  border: 2px solid red;
  box-shadow: 0 0 6px red;
}

.list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.active {

  background-color: #333 !important;
  color: #fff !important;
  border-left: 4px solid #0f0 !important; 
}


.recrutee-card {
  background: #1e1e1e;
  color: #f1f1f1;
  border-left: 4px solid #28a745;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.recrutee-card:hover {
  transform: translateY(-3px);
  background: #2a2a2a;
}

.recrutee-header {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #90ee90;
}

.recrutee-body {
  font-size: 0.95rem;
  line-height: 1.6;
}

#searchRecrutees {
  background-color: #121212;
  color: #f1f1f1;
  border: 1px solid #333;
}

#searchRecrutees::placeholder {
  color: #aaa;
}



@media (max-width: 768px) {

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

  thead {
    display: none;
  }

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

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #ccc;
  }
}