@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #1c1f24;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 15px 20px;
}

/* Banner estilizado */
.banner {
  background: linear-gradient(to right, #2a2f36, #1c1f24);
  width: 100%;
  max-width: 1200px;
  border: 1px solid #2c313a;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-bottom: 30px;
}

.banner h1 {
  font-size: 2.7rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 10px;
}

.banner p {
  font-size: 1.15rem;
  color: #cbd5e1;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #93c5fd;
  text-align: center;
  border-bottom: 3px solid #374151;
  padding-bottom: 10px;
  width: fit-content;
}

.container {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.categoria {
    background-color: transparent;
    color: #93c5fd;
    text-decoration: none;
    padding: 8px 16px;
    margin: 0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, color 0.2s;
    border: none;
  }
  
  .categoria:hover {
    background-color: #2a2f36;
    color: #a5c9ff;
  }
  

#lista-arquivos {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  flex-grow: 1;
  overflow-y: auto;
  max-height: 62vh;
  padding-right: 5px;
}

#lista-arquivos li button {
  width: 100%;
  background-color: #2a2f36;
  color: #f3f4f6;
  border: 1px solid #3f4751;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: left;
}

#lista-arquivos li button:hover {
  background-color: #3b4252;
  color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.sidebar {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
}

.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-box input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border-radius: 10px;
  background-color: #2a2f36;
  color: #f3f4f6;
  border: 1px solid #3f4751;
  font-size: 1rem;
}

.search-box .lupa {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

#codigo {
  position: relative;
  flex: 2 1 700px;
  background-color: #1c1f24;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #2c313a;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #d1d5db;
  max-height: 75vh;
  overflow-y: auto;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1), 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease-in-out;
}

#codigo pre {
  margin: 0;
  white-space: pre-wrap;
}

#codigo:hover {
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.6);
  transform: scale(1.02);
}

#copiar-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #2a2f36;
  color: #93c5fd;
  border: none;
  padding: 10px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out;
  z-index: 10;
}

#copiar-btn:hover {
  background-color: #3b4252;
  color: #a5c9ff;
}

/* Estilo para a descrição expandida */
.descricao-expandida {
  margin-top: 20px;
  padding: 15px 20px;
  background-color: #2a2f36;
  color: #d1d5db;
  border-radius: 12px;
  border: 1px solid #3f4751;
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #2a2f36;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #3b4252;
  border-radius: 10px;
  border: 3px solid #2a2f36;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #4c566a;
}

.caixa {
    background-color: #2a2f36;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .caixa h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #93c5fd;
    text-align: center;
  }
  
  .caixa p {
    font-size: 1rem;
    color: #e5e7eb;
    line-height: 1.6;
  }
  