
.p-container {
  background: #0000001c !important;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 820px;
  margin: 1rem auto;
  padding: 1.5rem;       /* tono oscuro de fondo */
  border: 2px solid #333;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: #f0f0f0;
  font-family: 'Roboto', sans-serif;
}

@media (min-width: 860px) {
  .StickersSmall {
    display: none !important;
  }
}
.StickersSmall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  justify-items: center;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: #f0f0f0;
  font-family: 'Roboto', sans-serif;
}
/* Grid para StickersSmall */
.StickersSmall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  justify-items: center;
  align-items: center;
}
.StickerIzquirdoSmall {
  grid-column: 1;
}
.StickerDerechoSmall {
  grid-column: 2;
}
@media (max-width: 570px) {
  .css-1oj0ggt svg {
    width: 16rem !important;
  }
}
@media (max-width: 860px) {
  .StickerIzquirdo,
  .StickerDerecho {
    display: none !important;
  }
  .p-container {
    grid-template-columns: 1fr !important;
  }
  .css-1oj0ggt {
    grid-column: 1 !important;
  }
  #p-status {
    grid-column: 1 !important;
  }
}
.StickerIzquirdo {
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.StickerDerecho {
  grid-column: 3;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.css-1oj0ggt {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  position: relative;
}

.p-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffcc00;            /* un color llamativo dorado / amarillo */
  margin-bottom: 0.8rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.p-status {
  font-size: 1.1rem;
  background: #333;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid #555;
  color: #ccc;
  transition: background 0.3s, color 0.3s;
  margin-bottom: 0 !important;
}

.p-status.connected {
  background: #0a842d;        /* verde para conectado */
  color: #e0ffe0;
  border-color: #0f4d1b;
}

.p-status.error {
  background: #8b0000;        /* rojo para error */
  color: #ffe0e0;
  border-color: #4d0000;
}

/* Loader animado para "Conecta el mando" */
.p-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.p-loader-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-top: 2px solid #ffcc00;
  border-radius: 50%;
  animation: p-spin 1s linear infinite;
}

.p-loader-text {
  color: #ccc;
  font-size: 1.1rem;
}

@keyframes p-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Imagen de fondo dentro del SVG */
.p-mando-bg-image {
  opacity: 1.0;
  transition: opacity 0.3s ease;
}

.p-mando-bg-image:hover {
  opacity: 1.0;
}

 /* Contenedores principales */

.css-1oj0ggt {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 2rem;
  
}

