.blue-bg {
    height: 500px;
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

main {
    width: 100%;
}

h2 {
    margin-top: 70px;
    color: white;
    font-size: 2em;
    text-align: center;
}

.main-options-div {
    background-color: white;
    /* height: 400px; */
    width: 60%;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 3%;
}

.sub-title {
    padding-top: 5%;
    font-size: 1.6em;
    color: var(--secondary-color);
    display: block;
}

.imgs-container {
    margin-top: 5%;
    padding-bottom: 5%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.img-container {
    text-align: center;
}

.img-container>img {
    height: 100px;
    margin: 0 70px;
}

.img-title {
    font-size: 1.8em;
    display: block;
    font-family: var(--bold-font);
    color: var(--secondary-color);
}


.img-container.pointer:hover {
    scale: 1.01;
}

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

.existing-image {
    position: relative;
    width: 120px;     
    height: 120px;    
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

.existing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.existing-image-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.existing-image-delete img {
    width: 14px;
    height: 14px;
}

/* Efecto hover para que se sienta clicable */
.existing-image-delete:hover {
    background: #e53935;
    color: #fff;
}

.existing-image-delete:hover img {
    filter: brightness(0) invert(1); /* icono blanco sobre fondo rojo */
}
