#loadable_content{
    display: none;
}

img{
    object-fit: cover;
    object-position: center;
}

.content {
    margin-bottom: 50px;
}

#accordion_collapsed{
    background-color: white;
}

.min_width_max{
    min-width: max-content;
}

.pagination{
    display: flex;
    flex-wrap: wrap;
}

.pagination > * {
    margin-top: 0.5rem;
}

.swal2-actions{
    gap: 0.5rem;
}

.swal2-actions>button+button{
    margin: 0;
}

tr.odd{
    background-color: ghostwhite;
}

#user_image{
    border: solid 2px rgba(255, 255, 255, 0.85);
}

.secondary_background{
    background: linear-gradient(135deg, #5D7280, #0a0a0a 200%);
}

#id_lang_flags_container img{
    object-fit: contain;
}

.visualization_mode_card{
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.visualization_mode_content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.visualization_mode_img {
    width: 100%;
}

/* BOTONES DEL INDEX */
.buttons_section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    place-content: center;
}

.button_container {
    text-align: center;
}

.button_container button {
    font-size: 2.25rem;
    font-weight: 500;
    padding: 2rem;
    border: solid white 0.3rem;
    border-radius: 4rem;
    color: white;
    background: radial-gradient(at 50% -150%, #ffc69e, #D25600);
    box-shadow: black 0px 0px 0px 0px;
}

.button_container button:hover:not(:active) {
    scale: 1.02;
    transition: 0.2s;
}
/* //BOTONES DEL INDEX */

.profile_image{
    aspect-ratio: 1;
}

.cls-hidden {
    display: none;
}

#create_group_form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#create_group_name{
    max-width: 20rem;
}

#create_group_button{
    width: fit-content;
}

#delivery_cost_container{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#delivery_cost_container input{
    width: 5rem;
}

#min_payment_container{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#min_payment_container input{
    width: 5rem;
}

#modify_group_buttons{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#profile_username{
    color: white;
}

#profile_button:hover #profile_username{
    color: black;
}

.gallery-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.gallery-item {
    position: relative;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.image-container {
    position: relative;
    /* margin-bottom: 10px; */
    margin: 0 20px 0 0px;
}

.delete-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red; /* Puedes ajustar el color según tus preferencias */
    cursor: pointer; /* Hace que el cursor cambie a una mano cuando pasa sobre el icono de borrar */
}

.image-container:hover .delete-icon {
    display: block;
}

/* ANALYTICS - TOP PRODUCTS */
.top_products_img_container{
    border: solid #d83f13;
    border-radius: 25%;
    overflow: hidden;
  }
  
  .top_products_img_container img{
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
  
  .product_div {
    padding: 1rem;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
  }
  
  .top_products_info_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .top_products_total{
    font-weight: bold;
    margin: 0;
  }
  
  .top_products_category{
    color: grey;
  }
  
  .top_products_name{
    font-weight: bold;
  }
  /* end ANALYTICS - TOP PRODUCTS */

.swal2-textarea{
    width: 100%!important;
    resize: vertical;
    min-height: 100px;
    padding: 10px;
}