/* Archivo: pib_styles.css */

/* Estilos para el contenedor del plugin */
#pib_image_bank {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para el input y el botón */
#pib_search_query {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

#pib_search_button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#pib_search_button:hover {
    background-color: #005a87;
}

/* Estilos para el contenedor de imágenes */
#pib_images_container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

#pib_images_container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

#pib_images_container img:hover {
    transform: scale(1.05);
}

/* Estilos para el modal */
.pib_modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.pib_modal_content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.pib_close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.pib_close:hover,
.pib_close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Nueva clase para contenedor flex */
.pib_modal_flex_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pib_modal_flex_container img {
    max-width: 70%;
}

#pib_download_links {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

#pib_download_links a {
    color: white;
    text-decoration: none;
    background-color: #0073aa;
    padding: 10px 20px;
    margin: 5px 0;
    display: inline-block;
    border-radius: 5px;
}

#pib_download_links a:hover {
    background-color: #005a87;
}

/* Estilos específicos para móviles */
@media only screen and (max-width: 768px) {
    #pib_search_query {
        width: 100%;
        margin-bottom: 10px;
    }

    #pib_search_button {
        width: 100%;
    }

    .pib_modal_flex_container {
        flex-direction: column;
    }

    .pib_modal_flex_container img {
        max-width: 100%;
    }

    #pib_download_links {
        margin-left: 0;
        margin-top: 20px;
    }
}

/*
     FILE ARCHIVED ON 13:06:46 May 10, 2025 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 10:16:10 Sep 11, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.496
  exclusion.robots: 0.074
  exclusion.robots.policy: 0.064
  esindex: 0.007
  cdx.remote: 10.595
  LoadShardBlock: 64.739 (3)
  PetaboxLoader3.datanode: 552.837 (5)
  load_resource: 791.256
  PetaboxLoader3.resolve: 288.143
  loaddict: 34.549
*/