/* SCROLL DE ALERTAS */
.alert-scroll{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:4px 2px 14px;
  scrollbar-width:thin;
  scrollbar-color:#d291b0 #faf7f9;
}

.alert-card{
  flex:0 0 250px;
  scroll-snap-align:start;
  border:1px solid #eee2e9;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 5px 18px #38152612;
}

.alert-card img{
  width:100%;
  height:140px;
  object-fit:cover;
  display:block;
}

.alert-card-body{
  padding:16px;
}

.alert-card-body h3{
  margin:0 0 8px;
  font-size:16px;
  color:#702344;
}

.alert-card-body p{
  margin:5px 0;
  font-size:12px;
  line-height:1.5;
  color:#526075;
}

.alert-card-body strong{
  color:#334155;
}

.alert-card-button{
  display:inline-flex;
  width:100%;
  justify-content:center;
  margin-top:12px;
  padding:10px 12px;
  border-radius:9px;
  background:#be185d;
  color:#fff;
  font-size:12px;
  font-weight:750;
}

.alert-card-button:hover{
  background:#9d174d;
}

@media(max-width:639px){
  .alert-card{
    flex-basis:220px;
  }

  .alert-card img{
    height:122.5px;
  }
}

.alert-carousel{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  margin:20px auto 4px;
}

.alert-carousel-window{
  width:100%;
  max-width:300px;
  min-width:0;
}

.alert-slide{
  width:100%;
}

.alert-carousel-btn{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border:1px solid #f3dce8;
  border-radius:50%;
  background:#fff;
  color:#9d174d;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 3px 10px #38152612;
}

.alert-carousel-btn:hover{
  background:#fdf2f8;
  border-color:#db2777;
}

.alert-carousel-btn:focus-visible{
  outline:3px solid #ec4899;
  outline-offset:2px;
}

.alert-slide>a{
  display:block;
  cursor:pointer;
}

.alert-slide>a img{
  width:100%;
  height:150px;
  object-fit:cover;
  display:block;
  border-radius:14px;
  transition:opacity .2s ease;
}

.alert-slide>a:hover img{
  opacity:.88;
}

.alert-card-body{
  padding:16px 4px 4px;
}

.alert-card-body h3{
  margin:0 0 10px;
  font-size:17px;
  line-height:1.35;
  color:#702344;
}

.alert-card-body p{
  margin:5px 0;
  font-size:12px;
  line-height:1.5;
  color:#526075;
}

.alert-photo-hint{
  margin-top:12px!important;
  text-align:center;
  font-size:10px!important;
  color:#9d174d!important;
}

.alert-carousel-counter{
  text-align:center;
  margin:8px 0 20px!important;
  font-size:11px!important;
  color:#9d174d!important;
  font-weight:700;
}

@media(max-width:639px){

  .alert-carousel{
    gap:6px;
  }

  .alert-carousel-window{
    max-width:240px;
  }

  .alert-carousel-btn{
    width:34px;
    height:34px;
    flex-basis:34px;
    font-size:24px;
  }

  .alert-slide>a img{
    height:125px;
  }

}

.missing-alert-dialog{
    width:min(360px,calc(100% - 28px)) !important;
}

.alert-body{
    padding:18px !important;
}

.alert-body h2{
    font-size:22px !important;
}

.missing-alert-dialog .alert-top{
    padding:15px 18px !important;
}

a.alert-slide{display:block;text-decoration:none;color:inherit;min-width:0;overflow-wrap:anywhere}
a.alert-slide:focus-visible{outline:3px solid #db2777;outline-offset:2px}
a.alert-slide:hover{border-color:#db2777;box-shadow:0 5px 18px #9d174d20}
a.alert-slide>.alert-card-body{padding:12px}
a.alert-slide>img{width:100%;height:150px;object-fit:contain;background:#faf7f9}
.alert-carousel[hidden],.alert-slide[hidden],.alert-carousel-btn[hidden],.alert-carousel-counter[hidden],.alert-load-status[hidden],.alert-retry[hidden]{display:none!important}
.alert-retry{padding:10px 16px;background:#be185d;color:white;border-radius:10px;font-weight:700;font-size:13px}
.alert-load-status{overflow-wrap:anywhere}
