body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #121212;
  color: #ffffff;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #1a1a1a;
  color: #e0e0e0;
  font-size: 14px;
}

footer a {
  color: #5c37e6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.main-content {
  flex: 1 0 auto;
}

.container {
  position: absolute;
  top: 50px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: flex-start;
  left: 50px;
  padding: 20px;
  width: 375px;
  height: 840px;
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: visible;
  min-width: 200px;
  min-height: 100px;
  animation: neonGlow 5s infinite;
}

@keyframes neonGlow {
  0% {
    box-shadow:
      0 0 2px #650ad3,
      0 0 5px #650ad3;
  }
  50% {
    box-shadow:
      0 0 2px #650ad3,
      0 0 5px #650ad3;
  }
  100% {
    box-shadow:
      0 0 2px #650ad3,
      0 0 5px #650ad3;
  }
}

h2 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.section {
  margin-bottom: 10px;
}

.section h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.apikey__input {
  width: 90%;
  padding: 8px;
  margin-top: 4px;
  border: none;
  font-size: 0.75rem;
  border-radius: 5px;
  background-color: #2c2c2c;
  color: #ffffff;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.option-button {
  padding: 8px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition:
    transform 0.2s,
    background-color 0.2s,
    box-shadow 0.2s;
  background-color: #2c2c2c;
  color: #ffffff;
}

.option-button:hover {
  transform: scale(1.1);
  background-color: #3c3c3c;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.option-button:focus {
  outline: 2px solid #bb86fc; /* Acento púrpura */
}

.option-button.active {
  background-color: #bb86fc;
  color: #ffffff;
}

.theme-button .theme-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 40px;
}

.theme-color {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 2px;
}

.update-button {
  padding: 10px;
  width: 100%;
  margin-top: 1.25rem;
  background-color: #bb86fc;
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}

.update-button:hover {
  background-color: #9a67ea;
  box-shadow: 0 0 10px rgba(187, 134, 252, 0.5);
}

/* Controladores de Redimensionamiento */
.resize-handle {
  position: absolute;
  width: 15px;
  height: 15px;
  z-index: 10;
}

.resize-handle.top-left {
  top: -7.5px;
  left: -7.5px;
  cursor: nwse-resize;
}

.resize-handle.top-right {
  top: -7.5px;
  right: -7.5px;
  cursor: nesw-resize;
}

.resize-handle.bottom-left {
  bottom: -7.5px;
  left: -7.5px;
  cursor: nesw-resize;
}

.resize-handle.bottom-right {
  bottom: -7.5px;
  right: -7.5px;
  cursor: nwse-resize;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
