/* Ads */

img {
    /*-webkit-transform-style: preserve-3d;*/
    /*transform-style: preserve-3d;*/
    transform: translateZ(0); 
}

.card-fb .card-body * {
	font-family: 'Open Sans', sans-serif;
}

.card-fb .card-body .pimage {
	display: inline-block;
	vertical-align: middle;
}
.card-fb .card-body .pname {
	display: inline-block;
	vertical-align: middle;
	font-weight: bold;
	font-family: 'Open Sans', sans-serif;
}

.card-fb .card-body .adheadline {
	font-weight: bold;
	font-size: 1.1em;
}

.firsteen {
	font-size: 12px !important;
}

.card-fb .card-body .adcopy {
	height: 4.4em;
    /*padding: 2px;*/
    overflow: hidden    
}

.table-vam th,
.table-vam td {
	vertical-align: middle;
}

.table-vam th > *,
.table-vam td > *{
  vertical-align: middle !important;
}

.video-thumbnail {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
  /*margin: 30px;*/
}
.video-thumbnail:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  content: "\f144";
  font-family: "Font Awesome 5 Free";
  font-size: 100px;
  color: #fff;
  opacity: 0.8;
  text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
  z-index:  10;
  /*z-index:  100000;*/
}
.video-thumbnail:hover:before {
  color: #eee;
}

.video-thumbnail.vthumbnail-sm {
  font-size: 30px;
}

.symbol-300 {
  width: 300px;
}

.symbol-300 .video-thumbnail {
  max-width: 300px;
}

.symbol.symbol-300 > img {
    width: 100%;
    max-width: 300px;
    height: auto;
    /*height: 300px;*/
}

.creative-wa .video-thumbnail {
  width: auto;
}

.buscador-arriba {

}

#top-search-query {
  min-width: 250px;
  padding: 5px 10px;
}

div.alert.ch-alert {
  padding: 1rem 1.5rem;
}
/* Landers */

.card-lander .card-body .landerheadline {
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 12px;
  display: block;
}

.card-lander .landerscr {
  width:100%;height:400px;background-size:cover;
  background-position: center top;;
    background-repeat:  no-repeat;
}

.card-columns {
    column-count: 2;
}

@media (min-width: 276px) { 
    .card-columns {
        column-count: 1;
   }
}

@media (min-width: 768px) { 
    .card-columns {
        column-count: 2;
   }
}

@media (min-width: 1100px) { 
    .card-columns {
        column-count: 3;
   }

   .card-columns.extrac {
      column-count: 2;
   }
}

@media (min-width: 1400px) { 
    .card-columns {
        column-count: 4;
   }

   .card-columns.extrac {
      column-count: 3;
   }
}

.ad-img-link img {
  width: 100%;
  height: auto;
  min-height: 150px;
}
.wide-popover {
  max-width: 360px;
}

.ad-textarea {
  min-height: 500px;
}

.creative-sm img {
  max-width: 150px;
  max-height: 150px;
  width: auto;
  height: auto;
}

i.hiddeni {
  display: none;
}

.note-textarea {
  min-height: 260px;
}

.col-note .ch-note-content a {
  text-decoration:  underline;
}

.textarea-content {
  min-height: 350px;
}

.img-ad1 {
  width: 100%;
  height: auto;
}

/* Quill */
#qeditor {
  height: 320px;
}

#qeditor_feedback {
  height: 320px;
}

.btn.btn-xxs {
  padding: 0px !important;
  font-size: 8px !important;
}

.btn.btn-xxs i {
  font-size: 8px !important;
}

.url-lander {
  float:  right;
}

.table-nocut, .table-nocut td {
  word-break: break-all;
}

#kt_header_mobile_toggle {
  display:  none;
}

.alert.alert-dashboard {
  padding:  7px 15px;
}

.appstore-badge {
  height:  35px;
  width:  auto;
  margin-right:  30px;
}

.playstore-badge {
  height:  35px;
  width:  auto;
}

a.appstlink {
  /*display:  inline-block;*/
  /*float:  right;*/
}

.appslinks {
  /*float:  right;*/
  /*clear:  both;*/
  /*display:  flex;*/
  /*align-self: center;*/
  text-align: right;
  display:  inline;
  /*float:  right;*/
  /*clear: both;*/
  margin-left: 10%
}

.app-sidebar .app-sidebar-menu .menu > .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here), .app-sidebar .app-sidebar-menu .menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active):not(.here)
 {
  background-color:  #4b71dd ;
  color: white;
}



div.aside-nav .btn.btn-clean:not(:disabled):not(.disabled).active i,
div.aside-nav .btn.btn-clean:hover:not(.btn-text):not(:disabled):not(.disabled) i
 {
  color: white;
}

/*#kt_app_sidebar .menu-item > .menu-link:hover .menu-icon i,
#kt_app_sidebar .menu-item.here > .menu-link .menu-icon i {
  color:  #4b71dd ;
}
*/
#kt_app_sidebar .app-sidebar-menu .menu > .menu-item.here > .menu-link {
  background-color:  #4b71dd ;
}



/*
a.btn-hover-native {
  color:  white;
  font-weight:  bold;
}

.btn-hover-native:hover {
  background-color:  #1C902E !important;
  color:  white !important;
}

.btn-hover-youtube:hover {
  background-color: red !important ;
  color:  white !important;
}

.btn-hover-youtube:hover i {
  color:  white !important;
}
*/

a.btn-native {
  color:  white !important;
  font-weight:  bold;
  background-color:  #1C902E !important;
}

.btn-native:hover {
  color:  white !important;
  background-color:  #2f773a !important;
}

a.btn-ecom {
  color:  white !important;
  font-weight:  bold;
  background-color:  #E082A0 !important;
}

.btn-ecom:hover {
  color:  white !important;
  background-color:  #D65981 !important;
}

a.btn-ecom i.fas {
  font-size:  1.2em;
}

  /**/

/* Intro js */

@-webkit-keyframes introjspulse{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}25%{-webkit-transform:scale(0);transform:scale(0);opacity:.1}50%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.3}75%{-webkit-transform:scale(.5);transform:scale(.5);opacity:.5}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes introjspulse{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}25%{-webkit-transform:scale(0);transform:scale(0);opacity:.1}50%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.3}75%{-webkit-transform:scale(.5);transform:scale(.5);opacity:.5}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.introjs-overlay{position:absolute;-webkit-box-sizing:content-box;box-sizing:content-box;z-index:999999;opacity:0;-webkit-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}.introjs-showElement{z-index:9999999!important}tr.introjs-showElement>td{z-index:9999999!important;position:relative}tr.introjs-showElement>th{z-index:9999999!important;position:relative}.introjs-disableInteraction{z-index:99999999!important;position:absolute;background-color:#fff;opacity:0}.introjs-relativePosition{position:relative}.introjs-helperLayer{-webkit-box-sizing:content-box;box-sizing:content-box;position:absolute;z-index:9999998;border-radius:4px;-webkit-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}.introjs-helperLayer *{-webkit-box-sizing:content-box;box-sizing:content-box}.introjs-helperLayer :before{-webkit-box-sizing:content-box;box-sizing:content-box}.introjs-helperLayer :after{-webkit-box-sizing:content-box;box-sizing:content-box}.introjs-tooltipReferenceLayer{font-family:"Helvetica Neue",Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif;-webkit-box-sizing:content-box;box-sizing:content-box;position:absolute;visibility:hidden;z-index:100000000;background-color:transparent;-webkit-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}.introjs-tooltipReferenceLayer *{font-family:"Helvetica Neue",Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif}.introjs-helperNumberLayer{font-family:"Helvetica Neue",Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif;color:#9e9e9e;text-align:center;padding-top:10px;padding-bottom:10px}.introjs-arrow{border:5px solid transparent;content:"";position:absolute}.introjs-arrow.top{top:-10px;left:10px;border-bottom-color:#fff}.introjs-arrow.top-right{top:-10px;right:10px;border-bottom-color:#fff}.introjs-arrow.top-middle{top:-10px;left:50%;margin-left:-5px;border-bottom-color:#fff}.introjs-arrow.right{right:-10px;top:10px;border-left-color:#fff}.introjs-arrow.right-bottom{bottom:10px;right:-10px;border-left-color:#fff}.introjs-arrow.bottom{bottom:-10px;left:10px;border-top-color:#fff}.introjs-arrow.bottom-right{bottom:-10px;right:10px;border-top-color:#fff}.introjs-arrow.bottom-middle{bottom:-10px;left:50%;margin-left:-5px;border-top-color:#fff}.introjs-arrow.left{left:-10px;top:10px;border-right-color:#fff}.introjs-arrow.left-bottom{left:-10px;bottom:10px;border-right-color:#fff}.introjs-tooltip{-webkit-box-sizing:content-box;box-sizing:content-box;position:absolute;visibility:visible;background-color:#fff;min-width:250px;max-width:300px;border-radius:5px;-webkit-box-shadow:0 3px 30px rgba(33,33,33,.3);box-shadow:0 3px 30px rgba(33,33,33,.3);-webkit-transition:opacity .1s ease-out;-o-transition:opacity .1s ease-out;transition:opacity .1s ease-out}.introjs-tooltiptext{padding:20px}.introjs-tooltip-title{font-size:18px;margin:0;padding:0;font-weight:700;float:left;line-height:32px}.introjs-tooltip-header{padding-left:20px;padding-right:20px;padding-top:10px}.introjs-tooltip-header:after{content:".";visibility:hidden;display:block;height:0;clear:both}.introjs-tooltipbuttons{border-top:1px solid #e0e0e0;padding:10px;text-align:right;white-space:nowrap}.introjs-tooltipbuttons:after{content:"";visibility:hidden;display:block;height:0;clear:both}.introjs-button{-webkit-box-sizing:content-box;box-sizing:content-box;position:relative;overflow:visible;display:inline-block;padding:.5rem 1rem;border:1px solid #bdbdbd;text-decoration:none;text-shadow:1px 1px 0 #fff;font-size:14px;color:#424242;white-space:nowrap;cursor:pointer;outline:0;background-color:#f4f4f4;border-radius:.2em;zoom:1}.introjs-button:hover{outline:0;text-decoration:none;border-color:#9e9e9e;background-color:#e0e0e0;color:#212121}.introjs-button:focus{outline:0;text-decoration:none;background-color:#eee;-webkit-box-shadow:0 0 0 .2rem rgba(158,158,158,.5);box-shadow:0 0 0 .2rem rgba(158,158,158,.5);border:1px solid #616161;color:#212121}.introjs-button:active{outline:0;text-decoration:none;background-color:#e0e0e0;border-color:#9e9e9e;color:#212121}.introjs-button::-moz-focus-inner{padding:0;border:0}.introjs-skipbutton{-webkit-box-sizing:content-box;box-sizing:content-box;color:#616161;float:right;font-size:20px;cursor:pointer;font-weight:700;line-height:1;text-align:center;padding:7px 10px}.introjs-skipbutton:focus,.introjs-skipbutton:hover{color:#212121;outline:0;text-decoration:none}.introjs-prevbutton{float:left}.introjs-nextbutton{float:right}.introjs-disabled{color:#9e9e9e;border-color:#bdbdbd;-webkit-box-shadow:none;box-shadow:none;cursor:default;background-color:#f4f4f4;background-image:none;text-decoration:none}.introjs-disabled:focus,.introjs-disabled:hover{color:#9e9e9e;border-color:#bdbdbd;-webkit-box-shadow:none;box-shadow:none;cursor:default;background-color:#f4f4f4;background-image:none;text-decoration:none}.introjs-hidden{display:none}.introjs-bullets{text-align:center;padding-top:10px;padding-bottom:10px}.introjs-bullets ul{-webkit-box-sizing:content-box;box-sizing:content-box;clear:both;margin:0 auto 0;padding:0;display:inline-block}.introjs-bullets ul li{-webkit-box-sizing:content-box;box-sizing:content-box;list-style:none;float:left;margin:0 2px}.introjs-bullets ul li a{-webkit-transition:width .1s ease-in;-o-transition:width .1s ease-in;transition:width .1s ease-in;-webkit-box-sizing:content-box;box-sizing:content-box;display:block;width:6px;height:6px;background:#ccc;border-radius:10px;text-decoration:none;cursor:pointer}.introjs-bullets ul li a:focus,.introjs-bullets ul li a:hover{width:15px;background:#999;text-decoration:none;outline:0}.introjs-bullets ul li a.active{width:15px;background:#999}.introjs-progress{-webkit-box-sizing:content-box;box-sizing:content-box;overflow:hidden;height:10px;margin:10px;border-radius:4px;background-color:#e0e0e0}.introjs-progressbar{-webkit-box-sizing:content-box;box-sizing:content-box;float:left;width:0%;height:100%;font-size:10px;line-height:10px;text-align:center;background-color:#08c}.introjsFloatingElement{position:absolute;height:0;width:0;left:50%;top:50%}.introjs-fixedTooltip{position:fixed}.introjs-hint{-webkit-box-sizing:content-box;box-sizing:content-box;position:absolute;background:0 0;width:20px;height:15px;cursor:pointer}.introjs-hint:focus{border:0;outline:0}.introjs-hint:hover>.introjs-hint-pulse{border:5px solid rgba(60,60,60,.57)}.introjs-hidehint{display:none}.introjs-fixedhint{position:fixed}.introjs-hint-pulse{-webkit-box-sizing:content-box;box-sizing:content-box;width:10px;height:10px;border:5px solid rgba(60,60,60,.27);border-radius:30px;background-color:rgba(136,136,136,.24);z-index:10;position:absolute;-webkit-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out}.introjs-hint-no-anim .introjs-hint-dot{-webkit-animation:none;animation:none}.introjs-hint-dot{-webkit-box-sizing:content-box;box-sizing:content-box;border:10px solid rgba(146,146,146,.36);background:0 0;border-radius:60px;height:50px;width:50px;-webkit-animation:introjspulse 3s ease-out;animation:introjspulse 3s ease-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;position:absolute;top:-25px;left:-25px;z-index:1;opacity:0}
.introjs-tooltip{ max-width: 600px; min-width: 450px;}
/*# sourceMappingURL=introjs.min.css.map */

.introjs-tooltiptext,
.introjs-tooltiptext p {
  font-size: 16px;
}

/* Esto no se */
.lb-loader,.lightbox{text-align:center;line-height:0;position:absolute;left:0}body.lb-disable-scrolling{overflow:hidden}.lightboxOverlay{position:absolute;top:0;left:0;z-index:9999;background-color:#000;filter:alpha(Opacity=80);opacity:.8;display:none}.lightbox{width:100%;z-index:10000;font-weight:400;outline:0}.lightbox .lb-image{display:block;height:auto;max-width:inherit;max-height:none;border-radius:3px;border:4px solid #fff}.lightbox a img{border:none}.lb-outerContainer{position:relative;width:250px;height:250px;margin:0 auto;border-radius:4px;background-color:#fff}.lb-outerContainer:after{content:"";display:table;clear:both}.lb-loader{top:43%;height:25%;width:100%}.lb-cancel{display:block;width:32px;height:32px;margin:0 auto;background:url(../img/loading.gif) no-repeat}.lb-nav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10}.lb-container>.nav{left:0}.lb-nav a{outline:0;background-image:url(data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)}.lb-next,.lb-prev{height:100%;cursor:pointer;display:block}.lb-nav a.lb-prev{width:34%;left:0;float:left;background:url(../img/prev.png) left 48% no-repeat;filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-prev:hover{filter:alpha(Opacity=100);opacity:1}.lb-nav a.lb-next{width:64%;right:0;float:right;background:url(../img/next.png) right 48% no-repeat;filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-next:hover{filter:alpha(Opacity=100);opacity:1}.lb-dataContainer{margin:0 auto;padding-top:5px;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.lb-dataContainer:after{content:"";display:table;clear:both}.lb-data{padding:0 4px;color:#ccc}.lb-data .lb-details{width:85%;float:left;text-align:left;line-height:1.1em}.lb-data .lb-caption{font-size:13px;font-weight:700;line-height:1em}.lb-data .lb-caption a{color:#4ae}.lb-data .lb-number{display:block;clear:left;padding-bottom:1em;font-size:12px;color:#999}.lb-data .lb-close{display:block;float:right;width:30px;height:30px;background:url(../img/close.png) top right no-repeat;text-align:right;outline:0;filter:alpha(Opacity=70);opacity:.7;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.lb-data .lb-close:hover{cursor:pointer;filter:alpha(Opacity=100);opacity:1}

/* ===== Skeleton loaders (Batch I) =====
   Placeholder shimmer used while AJAX fetches ad list pages. Paired with
   sh_ad_skeleton_html() in lib/view/view_ads.php and loading_ads() in
   js/scripts.js. Respects prefers-reduced-motion.
*/
@keyframes shSkeletonShimmer {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}

.sh-skeleton {
  background: #eff2f5;
  background-image: linear-gradient(90deg, #eff2f5 0%, #f5f8fa 50%, #eff2f5 100%);
  background-repeat: no-repeat;
  background-size: 800px 100%;
  animation: shSkeletonShimmer 1.4s infinite linear;
  border-radius: 4px;
  display: block;
}
.sh-skeleton-line { height: 12px; margin: 6px 0; }
.sh-skeleton-line.w-30 { width: 30%; }
.sh-skeleton-line.w-50 { width: 50%; }
.sh-skeleton-line.w-70 { width: 70%; }
.sh-skeleton-line.w-90 { width: 90%; }
.sh-skeleton-circle { width: 30px; height: 30px; border-radius: 50%; display: inline-block; vertical-align: middle; }
.sh-skeleton-image {
  width: 100%;
  padding-bottom: 100%; /* 1:1 aspect fallback for older browsers */
  margin: 12px 0;
}
@supports (aspect-ratio: 1 / 1) {
  .sh-skeleton-image { padding-bottom: 0; aspect-ratio: 1 / 1; }
}
.sh-skeleton-card {
  background: #fff;
  border: 1px solid #eff2f5;
  border-radius: 0.475rem;
  box-shadow: 0 0 20px 0 rgba(76,87,125,.03);
  padding: 1rem 1.25rem 1.25rem;
  margin-bottom: 2rem;
}
.sh-skeleton-card .sh-sk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed #eff2f5;
  margin-bottom: 0.75rem;
}
.sh-skeleton-card .sh-sk-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .sh-skeleton { animation: none; }
}

/* ── Winner Score badge ───────────────────────────────────────────────── */
.sh-ws-badge {
  display: inline-flex;
  align-items: center;
  padding: .15rem .5rem;
  margin-left: .35rem;
  border-radius: .65rem;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.25;
  vertical-align: middle;
  white-space: nowrap;
  cursor: default;
}
.sh-ws-badge .sh-ws-num   { font-weight: 700; }
.sh-ws-badge .sh-ws-label { margin-left: .3rem; opacity: .85; font-weight: 500; }
.sh-ws-0 { background: #f1f1f4; color: #7e8299; }
.sh-ws-1 { background: #e9f3ff; color: #0d6efd; }
.sh-ws-2 { background: #fff4de; color: #d9822b; }
.sh-ws-3 { background: linear-gradient(90deg, #1f9d55, #37c978); color: #fff; }
.sh-ws-3 i { color: #fff; }

/* Winner Score hover breakdown — one factor per line + green/amber/red bar */
.sh-ws-why { font-size: .8rem; line-height: 1.3; }
.sh-ws-why .sh-ws-note { color: #5e6278; }
.sh-ws-row { margin-bottom: .55rem; }
.sh-ws-row:last-child { margin-bottom: 0; }
.sh-ws-rt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .2rem;
}
.sh-ws-rl { font-weight: 600; color: #3f4254; }
.sh-ws-rv { color: #7e8299; font-size: .72rem; text-align: right; white-space: nowrap; }
.sh-ws-track {
  height: 6px;
  border-radius: 6px;
  background: #eff2f5;
  overflow: hidden;
}
.sh-ws-fill {
  display: block;
  height: 100%;
  border-radius: 6px;
  transition: width .25s ease;
}
.sh-ws-good { background: #37c978; }
.sh-ws-ok   { background: #f6c000; }
.sh-ws-bad  { background: #f1416c; }
.sh-ws-na   { background: transparent; }
.sh-ws-foot {
  margin-top: .65rem;
  padding-top: .5rem;
  border-top: 1px solid #eff2f5;
  color: #7e8299;
  font-size: .72rem;
}
.sh-ws-guard {
  margin-top: .4rem;
  color: #7e8299;
  font-size: .72rem;
}
.sh-ws-guard i { color: #f6c000; margin-right: .15rem; }

/* =========================================================================
   Collections (swipe files)
   ========================================================================= */

/* Collection cards on the list page */
.sh-col-board-card {
  border: 1px solid #eef0f4;
  border-radius: .85rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sh-col-board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .6rem 1.6rem rgba(24, 28, 50, .08);
  border-color: #d7dbe6;
}
.sh-col-board-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: .75rem;
  color: #2884ef;
  background: linear-gradient(135deg, #eaf2ff 0%, #f3f0ff 100%);
}

/* Tabs on the single-collection page */
.sh-collection-tabs .nav-link { color: #7e8299; padding-top: .65rem; padding-bottom: .65rem; }
.sh-collection-tabs .nav-link.active { color: #2884ef; }
.sh-collection-tabs .badge-circle { min-width: 1.4rem; }

/* Compact lander/page/offer cards inside a tab */
.sh-col-card {
  border: 1px solid #eef0f4;
  border-radius: .75rem;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.sh-col-card:hover { box-shadow: 0 .4rem 1.1rem rgba(24, 28, 50, .07); border-color: #d7dbe6; }
.sh-col-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: .65rem;
  flex-shrink: 0;
}
.sh-col-thumb-lander { color: #2884ef; background: #eaf2ff; }
.sh-col-thumb-offer  { color: #17c653; background: #e8fff3; }
.sh-col-thumb-page .symbol-label { background-color: #f1f1f4; }

/* Remove bar under an ad card in a collection */
.sh-col-remove-bar { margin-top: -1.6rem; margin-bottom: 1.2rem; text-align: center; }
.sh-col-remove-bar .sh-col-remove {
  font-size: .8rem;
  color: #99a1b7;
  display: inline-flex;
  align-items: center;
}
.sh-col-remove-bar .sh-col-remove:hover { color: #f8285a; }

/* Empty states */
.sh-col-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: #b5b9c9;
  background: #f6f7fb;
}

/* Add-to-Collection chooser — centered modal */
.sh-col-modal {
  position: fixed;
  inset: 0;
  z-index: 11050;
  background: rgba(24, 28, 50, .45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.sh-col-modal.show { display: flex; animation: shColFadeIn .12s ease; }
@keyframes shColFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shColPopIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.sh-col-modal-box {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: .85rem;
  box-shadow: 0 1rem 3rem rgba(24, 28, 50, .25);
  padding: .75rem;
  animation: shColPopIn .15s ease;
}
.sh-col-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .6rem .75rem;
}
.sh-col-modal-title { font-weight: 700; color: #181c32; font-size: 1.05rem; display: flex; align-items: center; }
.sh-col-modal-close {
  border: none;
  background: transparent;
  color: #a1a5b7;
  cursor: pointer;
  padding: .25rem;
  border-radius: .5rem;
  line-height: 1;
}
.sh-col-modal-close:hover { background: #f4f6fa; color: #f8285a; }
.sh-col-pop-list { max-height: 244px; overflow-y: auto; }
.sh-col-pop-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .6rem;
  margin: 0;
  border-radius: .5rem;
  cursor: pointer;
}
.sh-col-pop-item:hover { background: #f4f6fa; }
.sh-col-pop-item-label { font-weight: 600; color: #3f4254; font-size: .9rem; }
.sh-col-pop-loading, .sh-col-pop-empty { text-align: center; padding: 1rem; color: #a1a5b7; font-size: .85rem; }
.sh-col-pop-create-toggle {
  display: flex;
  align-items: center;
  padding: .55rem .6rem;
  margin-top: .25rem;
  border-top: 1px solid #f1f1f4;
  color: #2884ef;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border-radius: .5rem;
}
.sh-col-pop-create-toggle:hover { background: #eef4ff; }
.sh-col-pop-create { display: none; padding: .5rem .4rem .3rem; }
.sh-col-pop-create.show { display: block; }

/* =========================================================================
   FB-style ad cards (search-results grid / print_ad only)
   Small modern refresh: tighter header, real FB profile row w/ "Sponsored",
   edge-to-edge creative, clean link strip + footer.
   Scoped to .card-fb-grid (added by print_ad) so the single-ad detail page,
   copy/creative search cards and winners cards keep their original styling.
   ========================================================================= */

/* Card shell — hairline border, soft shadow, gentle hover lift */
.card-fb-grid.card-custom {
  border: 1px solid #eef0f4;
  border-radius: .85rem;
  box-shadow: 0 1px 2px rgba(24, 28, 50, .04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card-fb-grid.card-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 .6rem 1.6rem rgba(24, 28, 50, .10);
}

/* Header — slim meta row with a subtle divider above the ad */
.card-fb-grid > .card-header {
  border-bottom: 1px solid #e4e6eb;
  min-height: auto;
  padding: .8rem 1.25rem .65rem;
}
.card-fb-grid .firsteen { color: #65676b; }

/* Body — tighter padding so the creative can run edge-to-edge */
.card-fb-grid .card-body { padding: .75rem 1.25rem 1.25rem; }

/* Profile row: avatar + page name + Sponsored (real FB layout) */
.card-fb-grid .fb-pagehead {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .25rem;
}
.card-fb-grid .fb-pagehead .pimage,
.card-fb-grid .fb-pagehead .pimage .symbol-label {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  flex: 0 0 36px;
}
.card-fb-grid .fb-pagemeta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.card-fb-grid .fb-pagehead .pname {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #050505;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-fb-grid .fb-sponsored { font-size: .75rem; color: #65676b; }

/* Ad copy — clean 3-line clamp; click expands (toggles .adcopy-open via JS) */
.card-fb-grid .card-body .adcopy {
  height: auto;
  margin: .65rem 0;
  font-size: .95rem;
  line-height: 1.4;
  color: #1c1e21;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-fb-grid .card-body .adcopy.adcopy-open {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Creative — full-bleed between header and footer, on a neutral letterbox */
.card-fb-grid .ad-img-link {
  display: block;
  margin: 0 -1.25rem;
  background: #f0f2f5;
}
.card-fb-grid .ad-img-link img,
.card-fb-grid .ad-img-link .img-ad1 { margin: 0 !important; border-radius: 0; }
.card-fb-grid .ad-img-link .video-thumbnail { margin: 0; }

/* Headline — clean FB link strip directly under the creative */
.card-fb-grid .card-body .adheadline {
  display: block;
  margin: 0 -1.25rem;
  padding: .85rem 1.25rem;
  background: #f0f2f5;
  border-top: 1px solid #e4e6eb;
  font-size: 1.05rem;
  font-weight: 700;
  color: #050505;
  line-height: 1.3;
}

/* Footer — equal-width, lightly rounded action buttons */
.card-fb-grid > .card-footer {
  border-top: 1px solid #f0f2f5;
  padding: .75rem 1.25rem;
  gap: .5rem;
}
.card-fb-grid > .card-footer .btn {
  flex: 1;
  border-radius: .6rem;
  font-size: .82rem;
  font-weight: 600;
}

/* =========================================================================
   Masonry test layout (rendered only when ?masonry=1 / is_masonry()).
   Fixed-width tiles packed by Masonry.js. Breakpoints mirror the Bootstrap
   columns the cards used before (4 / 3 / 2 / 1 across xxl / lg / md / sm).
   Item padding = horizontal gutter; item margin-bottom = vertical gutter
   (Masonry counts the item's outer height, so the card's own mb-10 is zeroed).
   ========================================================================= */
.sh-masonry-grid { margin: 0 -1.35rem; }
.sh-masonry-item {
  width: 25%;
  padding: 0 1.35rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 1399.98px) { .sh-masonry-item { width: 33.3333%; } }
@media (max-width: 991.98px)  { .sh-masonry-item { width: 50%; } }
@media (max-width: 575.98px)  { .sh-masonry-item { width: 100%; } }
.sh-masonry-grid .card-fb-grid.mb-10 { margin-bottom: 0 !important; }

/* =========================================================================
   Home "Top Offers" widgets (recovered from the classic home, modernized).
   Scoped to .sh-offers so the classic index2.php keeps its original look.
   ========================================================================= */
.sh-offers .card.card-custom {
  border: 1px solid #eef0f4;
  border-radius: .85rem;
  box-shadow: 0 1px 2px rgba(24, 28, 50, .04);
  transition: box-shadow .15s ease;
}
.sh-offers .card.card-custom:hover { box-shadow: 0 .5rem 1.4rem rgba(24, 28, 50, .08); }

/* Header */
.sh-offers .card-header {
  border-bottom: 1px solid #f3f4f8 !important;
  min-height: auto;
  padding: 1.1rem 1.25rem .85rem;
  align-items: center;
}
.sh-offers .card-label { font-size: 1.05rem; font-weight: 700; color: #181c32; }
.sh-offers .card-label i { color: #17c653; margin-right: .35rem; }

/* Segmented (pill) tabs */
.sh-offers .nav-pills {
  gap: .15rem;
  background: #f4f6fa;
  padding: .2rem;
  border-radius: .6rem;
}
.sh-offers .nav-pills .nav-link {
  color: #5e6278;
  font-size: .78rem;
  font-weight: 600;
  border-radius: .45rem;
  padding: .35rem .7rem;
}
.sh-offers .nav-pills .nav-link.active {
  background: #fff;
  color: #2884ef;
  box-shadow: 0 1px 2px rgba(24, 28, 50, .1);
}

/* Offer rows */
.sh-offers .table td { vertical-align: middle; padding-top: .55rem; padding-bottom: .55rem; }
.sh-offers tbody tr { transition: background .12s ease; }
.sh-offers tbody tr:hover td { background: #f8f9fc; }
.sh-offers .table a.text-dark { font-weight: 700; color: #181c32 !important; }
.sh-offers .table a.text-dark:hover { color: #2884ef !important; }
.sh-offers .btn-icon.btn-sm { width: 30px; height: 30px; }
.sh-offers #chart_running { margin-top: 1rem !important; width: 100%; }

/* =========================================================================
   Responsive header — tablet & small-laptop band (992px–1240px)
   ---------------------------------------------------------------------------
   In this band the desktop header (logo + platform selector + the
   "Menu"/"Reports" page menu + the icon navbar) was wider than one row, so
   the navbar dropped onto a second line — it read as broken on iPad-landscape
   (1024) and small laptops, the two most common user devices.

   Below 992px Metronic already swaps to its mobile header, and >=1241px the
   full header fits on one row, so both are left untouched. Here we reclaim
   horizontal space (the platform selector reserves a fixed 300px column for a
   200px button and shows a redundant "Facebook" label beside its brand logo)
   and tighten the inter-section gaps, so everything stays on one row to 992px.
   ========================================================================= */
@media (min-width: 992px) and (max-width: 1240px) {
  /* Platform selector: drop the text label (the brand icon + up/down arrows
     are self-evident) and stop reserving the fixed 300px column. */
  #kt_app_header .app-header-wrapper .w-lg-300px { width: auto !important; }
  #kt_app_header [data-kt-element="selected"] {
    width: auto !important;
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }
  #kt_app_header [data-kt-element="selected"] [data-kt-element="title"] { display: none !important; }

  /* Tighten gaps so the reclaimed space keeps the row intact down to 992px. */
  #kt_app_header .app-header-wrapper { gap: .5rem !important; }
  #kt_app_header .app-header-wrapper .gap-lg-4 { gap: .5rem !important; }
  /* Compact the Support button slightly to hold the row at the 992 edge. */
  #kt_app_header a[href$="/support"].btn { padding-left: .6rem !important; padding-right: .6rem !important; }
}

/* =========================================================================
   ALERTS PAGE — modern activity feed + tables (2026-06-04 restyle)
   Consumed by lib/view/view_alerts.php (print_alert_fired_*, print_alert_row,
   empty states) and alerts.php. Pure presentation. Explicit soft-tint chips
   (not Metronic bg-light-* symbol-labels) so colors are deterministic.
   ========================================================================= */
.sh-feed-item { display:flex; align-items:center; padding:.95rem .35rem; border-bottom:1px solid #f1f1f4; transition:background .15s ease; }
.sh-feed-item:last-child { border-bottom:0; }
.sh-feed-item:hover { background:#f9f9fb; }
.sh-feed-title { font-weight:500; color:#252f4a; line-height:1.3; }
.sh-feed-title b { font-weight:700; }
.sh-feed-meta { color:#99a1b7; font-size:.8rem; margin-top:.1rem; }
.sh-feed-chip { flex:0 0 auto; width:40px; height:40px; border-radius:.65rem; display:flex; align-items:center; justify-content:center; font-size:1rem; margin-right:1rem; }
.sh-feed-chip-page { background:#e9f3ff; color:#1b84ff; }
.sh-feed-chip-aff  { background:#fff4d6; color:#c79a00; }
.sh-alerts-empty { text-align:center; padding:2.5rem 1rem; }
.sh-alerts-empty .sh-feed-chip { width:60px; height:60px; font-size:1.5rem; margin:0 auto 1rem; }
.sh-alert-avatar { flex:0 0 auto; width:35px; height:35px; border-radius:.5rem; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem; margin-right:.75rem; }
.sh-alert-avatar-page { background:#e9f3ff; color:#1b84ff; }
.sh-alert-avatar-aff  { background:#fff4d6; color:#c79a00; }

/* Unread notification rows in the activities drawer */
.timeline-item.sh-notif-unread { position: relative; }
.timeline-item.sh-notif-unread::after { content:""; position:absolute; top:.35rem; right:0; width:8px; height:8px; border-radius:50%; background:#1b84ff; }

/* Bell badge: hide entirely when there is nothing new (no empty red dot, never "0"). */
#num-notificationsn:empty { display: none; }
