body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}

/* Estilo del contenedor de resultados */
.container {
    /* max-width: 600px; */
    max-width: 717px;
    margin: 8px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 51px auto 8px; /* Ajuste para que no se tape con la barra superior */

}


h1 {
    text-align: center;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 20px;
    color: #555;
}

select, input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.suggestions {
    position: absolute;
    top: 175px;
    width: calc(100% - 42px);
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.suggestions p {
    margin: 0;
    padding: 10px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestions p:hover {
    background-color: #f0f0f0;
}

.results {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.sticker {
    width: 108px;
    height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

/* Media query para pantallas menores a 391px */
@media (max-width: 416px) {
    .sticker {
        width: calc(33% - 10px);
    }
}


.sticker img {
    width: 108px;
    height: 108px;
    object-fit: cover;
}

.sticker:hover {
    transform: scale(1.05);
}

.sticker-name {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
}

.loading {
    text-align: center;
    margin-top: 20px;
}

.loading img {
    width: 50px;
    height: 50px;
}

.loading p {
    font-size: 16px;
    color: #555;
}

.no-results {
    text-align: center;
    font-size: 18px;
    color: #555;
}







.sticker-detail {
    text-align: center;
    margin: 20px 0;
}

.sticker-detail img {
    width: 100%;       /* Hace que la imagen ocupe el 100% del ancho del contenedor */
    height: auto;      /* Mantiene la relación de aspecto de la imagen */
    max-width: 512px;
    max-height: 512px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.sticker-detail p {
    font-size: 18px;
    margin: 15px 0;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}


/* LISTA DESCARGAS */
/* Contenedor principal de la lista de packs */
.sticker-pack-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cada elemento de la lista (pack de stickers) */
.sticker-pack {
    display: flex;
    flex-direction: column;  /* Cambiado a columna para que el título quede arriba */
    align-items: flex-start; /* Alinea todos los elementos a la izquierda */
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    justify-content: flex-start; /* Asegura que los elementos se alineen verticalmente */
    transition: background-color 0.3s ease;
}

.sticker-pack:hover {
    background-color: #f0f0f0;
}

/* Título del pack */
.sticker-pack-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    /*margin-bottom: 10px;  Espacio entre el título y los demás elementos */
}

/* Fuente del pack */
.sticker-pack-source {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Contenedor de los iconos */
.sticker-pack-icons {
    display: flex;
    align-items: center;
    gap: 12px; /* Reducido el gap entre los íconos */
}

/* Icono de la app */
.app-icon {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

/* Estilo común para los íconos SVG */
.sticker-pack-icons svg {
    width: 24px;
    height: 24px;
    fill: #434343; /* Color del ícono */
    cursor: pointer;
    transition: transform 0.3s ease, fill 0.3s ease; /* Agregado para suavizar el cambio de color */
}

.sticker-pack-icons svg:hover {
    transform: scale(1.1); /* Efecto de ampliación al pasar el ratón */
}

/* Iconos de los enlaces */
.sticker-pack-icons a {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre íconos y texto */
    text-decoration: none; /* Elimina subrayado */
    color: #434343; /* Color del texto */
    font-size: 14px;
    transition: color 0.3s ease;
}

.sticker-pack-icons a:hover {
    color: #007bff; /* Cambio de color del texto al pasar el ratón */
}

/* Espaciado entre el título y los iconos */
.sticker-pack .sticker-pack-title,
.sticker-pack .sticker-pack-source {
    margin-right: auto;
}

/* Media Queries para dispositivos más pequeños */
@media (max-width: 768px) {
    .sticker-pack {
        flex-direction: column;
        align-items: flex-start;
    }

    .sticker-pack-icons {
        justify-content: flex-start;
    }
}





/* OPCIONES BUSQUEDA */
/* Contenedor principal */
.input-container {
    width: calc(100% - 20px);
    max-width: 600px;
    margin: 0 auto;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between; /* Alinea los elementos de forma horizontal */
    gap: 20px; /* Espacio entre los grupos */
}

/* Estilo del input */
#searchInput {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Estilo de los grupos de checkboxes (plataformas) */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 50%; /* Ancho específico para los checkboxes */
}

/* Estilo de cada opción de checkbox */
.checkbox-option {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2); /* Aumenta el tamaño de los checkboxes */
}

/* Estilo de los grupos de radio buttons (idioma) */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 50%; /* Ancho específico para los radio buttons */
}

/* Estilo de cada opción de radio button */
.radio-option {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2); /* Aumenta el tamaño de los radio buttons */
}

/* Estilo de los enlaces y la opción de radio al pasar el ratón */
.checkbox-option input[type="checkbox"]:hover,
.radio-option input[type="radio"]:hover {
    cursor: pointer;
}

/* Estilo general de los grupos de checkbox y radio */
.checkbox-group,
.radio-options {
    margin-bottom: 10px;
}







/* Barra superior */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 0;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Contenedor de íconos */
.navbar-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Estilo de los íconos */
.icon {
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Efecto al presionar */
.icon:active {
    transform: scale(0.9);
    color: #007bff;
}

/* Efecto en el select de idioma */
#languageSelect {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 16px;
    padding: 5px;
    cursor: pointer;
}


h1 {
    text-align: center;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 20px;
    color: #555;
}

/* Otros estilos permanecen igual */




.pagination_div {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }


.pagination {
    display: flex;
    gap: 10px;
  }

.pagination button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pagination button:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

  .pagination button.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  }

  .pagination button.disabled {
    color: #aaa;
    border-color: #ddd;
    background-color: #f9f9f9;
    cursor: not-allowed;
  }

  .pagination button:active {
    background-color: #444;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  }





  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    margin: 8px auto;

    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 717px;

}
.tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #757575;
    color: white;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.tag:hover {
    background: #424242;
}
.tag .material-icons {
    font-size: 16px;
}