:root {
  --profile-bg: #ff2a3f;
  --profile-text: #ddd;
  --profile-shadow: #e93647;
  --cuadrado-grad1: #ff0000;
  --cuadrado-grad2: #972929;
  --cuadrado-border: #ca4c4c;
  --cuadrado-shadow: rgba(0, 0, 0, 0.25);
  --cuadrado-hover: #e77878;
}

html {
  min-height: 100%;
  position: relative;
}

/* Show it is fixed to the top */
body {
  /*min-height: 75rem;*/
  padding-top: 3.2rem;
  margin: 0;
  /*margin-bottom: 50px;*/
  margin-bottom: 5rem;
}

footer {
  /*position: absolute;*/
  bottom: 0;
  width: 100%;
  height: auto;
  color: rgba(255, 255, 255, 0.8);
  line-height: 17px;
  position: fixed;
  z-index: 1000;
  /*10000*/
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.home_img {
  background-image: url('../img/pages/home_scorizer.jpg');
  /*https://mobiledev.scorizer.com/assets/img/pages/home_scorizer.jpg*/
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #d91717;
  overflow-x: hidden;
  overflow-y: hidden;

}

.home_img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.home_img_felucha {
  background-image: url('../img/pages/home_felucha.jpg');
  /*https://mobiledev.scorizer.com/assets/img/pages/home_felucha.jpg*/
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #131a42;
  overflow-x: hidden;
  overflow-y: hidden;

}

.home_img_felucha::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* Base: monitor / desktop */
.logo-felucha {
  width: 30%;
  height: auto;
}

/* Tablet (ajusta el breakpoint si quieres) */
@media (max-width: 1024px) {
  .logo-felucha {
    width: 50%;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .logo-felucha {
    width: 75%;
  }
}

.img-avatar {
  background-color: rgb(139, 77, 77);
  border-radius: 50%;
  max-height: 50px;
  max-width: 50px;
  position: relative;
}

.width-50 {
  width: 50% !important;
}

.width-5 {
  width: 5% !important;
}

.box-option {
  min-height: 170px;
  cursor: pointer;
  text-align: center;
  align-items: center;
  padding-bottom: 10px;
}

.box-tournament {
  /*min-height: 150px;*/
  min-height: 9em;
  cursor: pointer;
  /*padding: 10px;*/
  padding: 1px;
}

.box-weight {
  min-height: 60px;
  cursor: pointer;
  padding: 10px;
}

.box-header {
  min-height: 60px;
  text-align: center;
  align-items: center;
  background-color: #e0e0e0;
  padding: 4px;
}

.box-header-sub {
  min-height: 50px;
  text-align: center;
  align-items: center;
  background-color: #e0e0e0;
}

.box-header-sub-title {
  /*height: 70px;*/
  text-align: center;
  align-items: center;
  /*vertical-align: middle !important;*/
  padding-top: 10px;
}

.box-header-class {
  min-height: 40px;
  text-align: center;
  align-items: center;
  /*background-color: #ececec;*/
  background-color: #495057;
  color: #FFF;
  /*padding: 4px;*/
  /*padding-top: 8px;*/
  padding: 4px;
  padding-top: 1px;
}

.box-header-banner {
  text-align: center;
  align-items: center;
  background-color: #f6f6f6;
  /*background-color: #777777; f6f6f6*/
}

.pointer {
  cursor: pointer !important;
}

.pointer-none {
  cursor: default;
}

@media (max-width: 576px) {
  footer {
    /*min-height: 60px;*/
    /*padding-top: 0.2rem;
    padding-bottom: 0.2rem;*/
    padding: 0.3rem 0.1rem 0.2rem 0.1rem;

  }

  body {
    margin-bottom: 100px;
  }

  .box-header-icon {
    width: 50% !important;
  }

  /* ul .col2 {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  } */
  .img-banner {
    max-width: 100%;
    height: auto;
  }

  .box-header-sub-title {
    height: 70px;
  }
}

@media (min-width: 768px) {
  footer {
    min-height: 40px;
    padding: 0.2rem 0.1rem 0.2rem 0.1rem;
  }

  .box-header-icon {
    width: 50% !important;
  }

  /* ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  } */
  .img-banner {
    max-width: 100%;
    height: auto;
  }

  .box-header-sub-title {
    height: 50px;
  }
}

@media (min-width: 992px) {
  .box-header-icon {
    width: 15% !important;
  }

  /* ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  } */
  .img-banner {
    flex-wrap: wrap;
    width: 100%;
    height: 15rem;
    /*object-fit: cover;*/
  }

  .box-header-sub-title {
    height: 50px;
  }

  footer {
    min-height: 35px;
    /*padding-top: 0.2rem;
      padding-bottom: 0.2rem;*/
    padding: 0.5rem 1rem 0.5rem 1rem;
  }


}

@media (max-width: 900px) and (orientation: landscape) {
  footer {
    min-height: 40px;
    /*padding: 0.2rem 0.1rem 0.2rem 0.1rem;*/
  }

  body {
    min-height: 50rem;
    padding-top: 3.65rem;
    margin: 0;
    margin-bottom: 5rem;
  }
}

.box-tournament-icon {
  width: 42px !important;
  height: 42px !important;
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 576px) {
  .box-tournament-icon {
    width: 34px !important;
    height: 34px !important;
  }
}

.header-element-left {
  padding-left: 10px;
  padding-top: 10px;
  margin-left: 10px;
  float: left;
  position: relative;
  width: 15%;
  height: auto;
}

.header-element-right {
  padding-left: 10px;
  padding-top: 10px;
  margin-left: 10px;
  float: right;
  position: relative;
  width: 15%;
  height: auto;
}

.text-uppercase {
  text-transform: uppercase;
}

.gmaps {
  height: 15rem;
  background-color: #eeeeee;
  border-radius: 3px;
  margin: 10px;
  width: 100%;
  word-wrap: break-word;
}

.div-center-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-red {
  display: inline-block;
  line-height: 1;
  background-color: rgb(255, 0, 0);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin-right: 2px;
  vertical-align: middle !important;
}

.circle-blue {
  display: inline-block;
  line-height: 1;
  background-color: rgb(23, 6, 208);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin-right: 2px;
  vertical-align: middle !important;
}

.badge-win {
  display: inline-block;
  line-height: 1.5;
  /*background-color: #efb810;*/
  background-image: linear-gradient(135deg, #ffbf00 0, #ffbf00 50%, #ffbf00 100%);
  border-radius: 0.25rem;
  padding: 0.25em 0.25em;
  font-size: 0.9em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}

.badge-win-medium {
  display: inline-block;
  line-height: 1.2;
  /*1.5;*/
  /*background-color: #efb810;*/
  background-image: linear-gradient(135deg, #ffbf00 0, #ffbf00 50%, #ffbf00 100%);
  border-radius: 0.25rem;
  padding: 0.25em 0.25em;
  font-size: 0.7em;
  /*0.9em;*/
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;

}


.badge-win-medium-red {
  display: inline-block;
  line-height: 1.2;
  /*1.5;*/
  /*background-color: #efb810;*/
  background-image: linear-gradient(135deg, #dc0404 0, #dc0404 50%, #dc0404 100%);
  border-radius: 0.25rem;
  padding: 0.25em 0.25em;
  font-size: 0.7em;
  /*0.9em;*/
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;

}

.badge-text {
  display: inline-block;
  line-height: 1.8;
  background-color: #ffffff;
  border-radius: 0.25rem;
  padding: 0.1em 0.1em;
  font-size: 0.8em;
  font-weight: 700;
  color: #000;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}

.div-line-top {
  border-top-style: dotted;
  border-top-width: 2px;
  /*1px;*/
  border-color: #c5c5c5;
}

.div-line-top-1 {
  border-top-style: dotted;
  border-top-width: 1px;
  /*1px;*/
  border-color: #c5c5c5;
}

.div-line-down {
  border-bottom-style: dotted;
  border-bottom-width: 2px;
  /*1px;*/
  border-color: #c5c5c5;
}

.div-line-down-1 {
  border-bottom-style: dotted;
  border-bottom-width: 1px;
  /*1px;*/
  border-color: #c5c5c5;
}

.div-line-right {
  border-right-style: dotted;
  border-right-width: 2px;
  /*1px;*/
  border-color: #c5c5c5;
}

.div-line-right-1 {
  border-right-style: dotted;
  border-right-width: 1px;
  /*1px;*/
  border-color: #c5c5c5;
}

.div-line-left {
  border-left-style: dotted;
  border-left-width: 2px;
  /*1px;*/
  border-color: #c5c5c5;
}

.div-line-left-1 {
  border-left-style: dotted;
  border-left-width: 1px;
  /*1px;*/
  border-color: #c5c5c5;
}

.div-line-down-none {
  border-bottom-style: none !important;
  border-bottom-width: 1px !important;
  border-color: #ffffff !important;
}

.award-gold {
  color: #efb810;
}

.award-silver {
  color: #BEBEBE;
}

.award-bronze {
  color: #CD7F32;
}

.videocontainer {
  max-width: 100%;
  padding: 0;
  display: block;
  margin: 0;
}

.back {
  vertical-align: middle !important;
  text-align: center;
  color: #FFF;
}


/*brackets*/
.keys div:first-child,
.keys div:last-child {
  flex-grow: .5;
}

.keys .spacer {
  flex-grow: 1;
}

.keys {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*min-width: 300px;*/
  list-style: none;
  padding: 0.5px;
}

/*brackets*/


.border-bottom-black {
  border-bottom-style: solid;
  border-bottom-width: 2px;
  /*border-color: black;*/
  font-weight: 700;
}

.border-right-black {
  border-right-style: solid;
  border-right-width: 12px;
  border-color: black;
}

.height-10px {
  height: 10px;
}

.height-1-5rem {
  height: 1.5rem;
}

.height-2-5rem {
  height: 2.5rem;
}

.height-3rem {
  height: 3rem;
}

.height-5-5rem {
  height: 5.5rem;
}

.height-7rem {
  height: 7rem;
}

.height-8rem {
  height: 8rem;
}

.height-10rem {
  height: 10rem;
}

.height-12rem {
  height: 12rem;
}

.height-13rem {
  height: 13rem;
}

.height-16rem {
  height: 16rem;
}

.height-16-5rem {
  height: 16.5rem;
}

.height-20rem {
  height: 20rem;
}

.height-22rem {
  height: 22rem;
}

.height-35rem {
  height: 35rem;
}

.height-35-5rem {
  height: 35.5rem;
}

.height-72-5rem {
  height: 72.5rem;
}


.height-modal-cookies {
  height: 20rem;
}

.height-modal-cookies-configutation {
  height: 20rem;
}

.height-modal-home {
  height: 22rem;
}

.vertical-orientation {
  transform: rotate(90deg);

  width: 71px;
  height: 18px;
  padding-top: 2px;
  float: left;
  transform-origin: left top 0;
  margin-left: 18px;
  /*10px;*/
  margin-top: 0px;
  letter-spacing: 3px;
}

.vertical-orientation-16 {
  transform: rotate(90deg);

  width: 96px;
  height: 18px;
  padding-top: 2px;
  float: left;
  transform-origin: left top 0;
  margin-left: 17px;
  /*10px;*/
  margin-top: 0px;
  letter-spacing: 3px;
}

.vertical-orientation-8 {
  transform: rotate(90deg);

  width: 176px;
  height: 18px;
  padding-top: 2px;
  float: left;
  transform-origin: left top 0;
  margin-left: 17px;
  /*10px;*/
  margin-top: 0px;
  letter-spacing: 3px;
}

.vertical-orientation-4 {
  transform: rotate(90deg);

  width: 312px;
  height: 18px;
  padding-top: 2px;
  float: left;
  transform-origin: left top 0;
  margin-left: 17px;
  /*10px;*/
  margin-top: 0px;
  letter-spacing: 3px;
}

.vertical-orientation-2 {
  transform: rotate(90deg);

  width: 616px;
  height: 18px;
  padding-top: 2px;
  float: left;
  transform-origin: left top 0;
  margin-left: 18px;
  /*10px;*/
  margin-top: 0px;
  letter-spacing: 3px;
}

.vertical-orientation-F {
  transform: rotate(90deg);

  width: 1208px;
  height: 18px;
  padding-top: 2px;
  float: left;
  transform-origin: left top 0;
  margin-left: 18px;
  /*10px;*/
  margin-top: 0px;
  letter-spacing: 3px;
}

/* .box-brackets:hover {

  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #808080;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
} */

.box-brackets:hover {
  background-color: #808080;
  background-clip: border-box;
  border-radius: 0.25rem;
  transition: all 1.3s;
  -webkit-transition: all 1.3s;
  -moz-transition: 1.3s;
  cursor: pointer;
  border-radius: 0.25rem;
}

.cover {
  object-fit: cover;
}

.loader {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(234, 234, 234, 0.3);
  z-index: 999;
  /*2000*/
  top: 58px;
}

.loader-background {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  border-top: 6px solid #FFF;
  border-right: 6px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: fixed;
  transform: translate3d(-50%, -50%, 0);
  left: 45%;
  top: 50%;
  display: block;
  z-index: 2010;
}

.loader-background::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-bottom: 6px solid #FF3D00;
  border-left: 6px solid transparent;
}


@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.box-option-long {
  min-height: 120px;
  cursor: pointer;
  text-align: center;
  align-items: center;
  padding-bottom: 10px;
}

.box-option-card {
  min-height: 120px;
  cursor: pointer;
  text-align: center;
  align-items: center;
  padding-bottom: 10px;

  background-size: cover;
  height: 150px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  position: relative;
  opacity: 0.9;
  filter: alpha(opacity=90);
  /* For IE8 and earlier */
  transition: transform .5s;

  overflow: hidden;
  object-fit: cover;

  border: 2px solid #3a3a3ae8;
  box-shadow: -1px 2px 6px #41464b;

}

.box-option-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.box-option-card-long {
  /* min-height: 120px; */
  cursor: pointer;
  /* text-align: center; */
  align-items: center;
  padding-bottom: 10px;
  /* background-size: cover; */
  /* height: 150px; */
  /* background-repeat: no-repeat; */
  /* background-position: 50% 50%; */
  /* position: relative; */
  /* opacity: 0.9; */
  filter: alpha(opacity=90);
  /* transition: transform .5s; */
  /* overflow: hidden; */
  /* object-fit: cover; */
  /* border: 2px solid #3a3a3ae8; */
  box-shadow: -1px 2px 6px #41464b;
  background-color: white;

}

.box-option-card-square {
  min-height: 120px;
  cursor: pointer;
  text-align: center;
  align-items: center;
  padding-bottom: 10px;

  background-size: cover;
  height: 150px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  position: relative;
  opacity: 0.9;
  filter: alpha(opacity=90);
  /* For IE8 and earlier */
  transition: transform .5s;
  overflow: hidden;
  object-fit: cover;
  border: 2px solid #ffffffe8;
  box-shadow: -1px 2px 6px #adadad;

}

.box-option-card-square::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  z-index: -1;
}


.width-5 {
  width: 5% !important;
}

.width-10 {
  width: 10% !important;
}

.width-8 {
  width: 8% !important;
}

.width-15 {
  width: 15% !important;
}

.width-25 {
  width: 25% !important;
}

.width-30 {
  width: 30% !important;
}

.width-50 {
  width: 50% !important;
}

.width-75 {
  width: 75% !important;
}

.width-70 {
  width: 70% !important;
}

.width-80 {
  width: 80% !important;
}

.div-height-200 {
  max-height: 200px;
  overflow: auto;
}

.div_alert_center {
  position: fixed;
  left: 0px;
  top: 15%;
  width: 100%;
  height: 100%;
  z-index: 200;
  display: none;
}

/*.z-index-100{
  z-index: 10000;
}*/

.alert2 {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 0rem !important;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}


.icon_brackets {
  position: relative;
  width: 100% !important;
  padding-top: 5px;
  height: 33px;
}

.text_name_brackets {
  position: absolute;
  width: 100% !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.modal_bracket {
  position: fixed;
  top: 0;
  left: 2% !important;
  z-index: 1055;
  display: none;
  width: 96% !important;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.photo_container {
  border-radius: 50%;
  overflow: hidden;
  position: relative;

}

.photo_container_extra_big {
  width: 150px !important;
  height: 150px !important;
  background-color: white;
}

.photo_container_big {
  width: 100px !important;
  height: 100px !important;
  background-color: white;
}


.photo_container_extra_small {
  width: 25px !important;
  height: 25px !important;
  background-color: white;
  border-radius: 50% !important;
  overflow: hidden;
  display: inline-block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* .photo_container_small{
  width: 43px;
  height: 43px;
  background-color: white;
} */

.photo_container_small {
  width: 43px;
  height: 43px;
  background-color: white;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  overflow: hidden;
  box-shadow: 0px 5px 15px #888;
  position: relative;
}

img.photo_container_extra_big,
img.photo_container_big,
img.photo_container_medium,
img.photo_container_extra_small,
img.photo_container_small {
  border-radius: 50% !important;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  display: block;
}

.team-shield-circle {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd4dc;
}

.team-shield-circle>img.photo_container_extra_small,
.team-shield-circle>img.photo_container_small {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 0 !important;
}

@media (max-width: 576px) {
  .team-shield-circle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }
}

.photo_container_medium {
  width: 90px !important;
  height: 90px !important;
  background-color: white;
  border-radius: 50%;
}

.photo_container_big {
  width: 150px !important;
  height: 150px !important;
  background-color: white;
  border-radius: 50%;
}

/* @-moz-keyframes rotation{
  0%{
    background-position: 0px 0px;
  }
  100%{
    background-position: -160px 0px;
  }
} */

.ball3d {
  position: absolute;
  width: 43px;
  height: 48px;
  opacity: .5;
}

.ball3d_extra_small {
  position: absolute;
  width: 34px;
  height: 30px;
  opacity: .3;
  left: -4px;
}

.father-photo-shadow {
  position: relative;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.son-photo-shadow {
  top: 0px;
  left: 0px;
  border: none;
  padding: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  /*  box-shadow: 0px 5px 15px #888;*/
}

.photo_container_medium {
  width: 40px;
  height: 40px;
  background-color: white;
}

.photo_container_big {
  width: 400px;
  height: 400px;
  background-color: white;
}

.photo_box {
  height: 100%;
  width: 50%;
  background-size: cover;
  background-position: center center !important;
  transition: all .9s ease-in-out;
  display: block;
  position: absolute;
}

.photo_box:hover {
  z-index: 9999;
  position: absolute;
  width: 100%;
  border-radius: 50%;
}

.photo_box_1 {
  z-index: 1;
  float: left;
}

.photo_box_2 {
  z-index: 2;
  right: 0;
}

.height_10 {
  height: 1px;
  background-color: rgb(82, 82, 82) !important;

}

.height_top_10 {
  height: 2px;
  background-color: rgb(82, 82, 82) !important;
  margin-bottom: 5px;
}

.height_45 {
  height: 50px;
}

/* .height_8em{
  height: 2.5em;
} */

.border_spacer {
  border-top: 12px solid #CCC;
}

.border_color_table {
  margin-bottom: 15px;
  border-bottom: 15px solid #CCC;
}

.match_father {
  /*display: flex;*/
  align-items: center;
}

.match_son {
  /* line-height: 20px; */
  /*width: 100%;*/
  /* height: auto; */
  display: flex;
  /* align-items: end; */
  justify-content: center;
  /* transform: rotate(90deg); */
  /* margin-left: 47px; */
  transform-origin: -1 top 10;
  /* transform-origin: 50% 50%; */
  /* right: 0px; */
  /* font-size: 1rem; */
  /* position: relative; */
  color: #d91717;
  font-weight: bold;
  /* padding: 2px; */
}

.bg-box {
  background: linear-gradient(#f9f7f7, #e3e3e3);
}


.div-center-home {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.text-center-home {
  /*position: fixed; */
  height: 25rem;
  text-align: center;
  overflow: hidden;
}

.text-bottom-home {
  bottom: 0;
  width: 100%;
  height: auto;
  line-height: 17px;
  position: fixed;
  margin: 1rem;
  text-align: center;

}

.text-top-home {
  top: 0;
  width: 100%;
  height: auto;
  line-height: 17px;
  position: fixed;
  margin: 1rem;
  text-align: center;
}

.float_right {
  float: right;
}

.float_left {
  float: left;
}

.div_profile_menu {
  padding: 3px 6px;
  background-color: var(--profile-bg);
  color: var(--profile-text);
  box-shadow: 0 0 25px var(--profile-shadow);
  margin: 0.5rem 0 0.2rem 0;
  font-size: 0.8rem;
}

.btn-big {
  padding: 1rem 1.5rem;
  font-size: 2.2rem;
  border-radius: 0.5rem;
}

.a_white {
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
}

.a_white:hover {
  color: rgb(255, 0, 0) !important;
  text-decoration: none;
  font-weight: bold;
}

.word-break-all {
  word-break: break-all
}

.width-33 {
  width: 33% !important;
}


.alert-pay {
  color: #000000;
  background-color: #f9fafb;
  border-color: #212529;
  border-width: 4px;
  border-style: solid;
}

.btn-link {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  color: #0000EE;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
  font-size: inherit;
}


/* .centeraaa {
    display: flex;
    justify-content: center;
    color: green;
  } */

/* .aa {
    gap: 4px 8px;

  }

.bb {
  align-items: start;
}

.cc {
    align-items: center;
    flex: 0.8 1 auto;
    padding-top: 6px;

} */

.btn_inscripcion {
  height: 100px;
  text-transform: uppercase;
  font-size: 1.5rem;
  box-shadow: 0 0 10px #444444;
  margin: 3px;
}

.btn_championship {
  height: 80px;
  font-size: 1.1rem;
  box-shadow: 0 0 10px #444444;
  margin: 3px;
}

.div-center-icon {
  /*width: 100%; */
  text-align: -webkit-center;
}

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  margin-top: 0.25em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /*border: 1px solid rgba(0, 0, 0, 0.25);*/
  border: 2px solid #808080 !important;
  border-bottom-width: 2px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-check-input-2-5 {
  width: 2.5em !important;
  height: 2.5em !important;
  margin-top: 0.25em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* border: 1px solid rgba(0, 0, 0, 0.25); */
  border: 2px solid #808080 !important;
  border-bottom-width: 2px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.nav-card {
  /*display: none;*/
  justify-content: space-between;
  margin: 2px;
  border-bottom: solid thin #e1e1e1;
  font-size: 0.6rem;
}

#shopping_car {
  z-index: 1;
}

.div-text-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/**************************************/
.container-icon {
  position: relative;
}

.icon-cart:hover {
  cursor: pointer;
}

.count-products {
  position: absolute;
  top: 50%;
  right: 0;
  background-color: rgb(25, 135, 84);
  color: #fff;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  left: 15px;
}

#contador-productos {
  font-size: 12px;
}

.count-bell {
  position: absolute;
  top: 50%;
  right: 0;
  /* background-color: rgb(25, 135, 84); */
  /* color: #fff; */
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border-radius: 50%;*/
}

@media (max-width: 576px) {
  .container-cart-products {
    position: absolute;
    top: 50px;
    right: 1rem;
    background-color: #fff;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
    border-radius: 5px;
    width: 85%;
    max-height: 40rem;
  }

  .text-precio {
    padding-right: 20% !important;
  }

  .height-modal-cookies {
    height: 17rem;
  }

  .height-modal-cookies-configutation {
    height: 32rem;
  }

  .height-modal-home {
    height: 28rem;
  }
}

@media (min-width: 768px) {
  .container-cart-products {
    position: absolute;
    top: 50px;
    right: 1rem;
    background-color: #fff;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
    border-radius: 5px;
    width: 85%;
    max-height: 40rem;
  }

  .text-precio {
    padding-right: 25% !important;
  }

  .height-modal-cookies {
    height: 14rem;
  }

  .height-modal-cookies-configutation {
    height: 25rem;
  }

  .height-modal-home {
    height: 25rem;
  }
}

@media (min-width: 992px) {
  .container-cart-products {
    position: absolute;
    top: 50px;
    right: 1rem;
    background-color: #fff;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
    border-radius: 5px;
    width: 35%;
    max-height: 40rem;
  }

  .text-precio {
    padding-right: 25% !important;
  }

  .height-modal-cookies {
    height: 12rem;
  }

  .height-modal-cookies-configutation {
    height: 20rem;
  }

  .height-modal-home {
    height: 24rem;
  }
}

.resumen_cart_menu {
  padding: 12px 12px 0px 12px;
  font-size: 0.7rem;
}

.cart-product {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.20);
  font-size: 0.7rem;
}

.info-cart-product {
  display: flex;
  justify-content: space-between;
}

.titulo-producto-carrito:first-child {
  width: 100%;
  /*70%;*/
}

.precio-producto-carrito {
  margin-left: 10px;
  width: 20%;
  text-align: start;
}

.cantidad-producto-carrito {
  width: 10%;
}


.icon-close {
  width: 25px;
  height: 25px;
}

.icon-close:hover {
  stroke: red;
  cursor: pointer;
}

.cart-total {
  padding: 10px 0;
}

.total-pagar {
  font-size: 20px;
  font-weight: 900;
}

.hidden-cart {
  display: none;
}

.hidden {
  display: block;
}

.row-product {
  max-height: 20rem;
  overflow-y: auto;
}

/**/
.title-options-cars {
  padding: 0.4rem;
  background-color: var(--bs-gray-700) !important;
  color: #FFF;
  text-transform: uppercase;
  /*font-size: 1.2rem;*/
  font-weight: bold;
  text-align: center;
}

.nav-card li {
  list-style: none;
  padding: 0.5rem;
  font-weight: bold;
  font-size: 0.8rem;
}

#shopping_car:hover .nav-card {
  font-size: 0.6rem;
  display: flex;
  justify-content: space-between;
  margin: 2px;
  border-bottom: solid thin #e1e1e1;
  /*display: block;*/
}

.btn-card {
  display: block;
  width: 90%;
  padding: 1rem;
  margin: 10px auto;
  cursor: pointer;
}

.btn-card-2 {
  display: block;
  width: 90%;
  padding: 0.7rem;
  margin: 10px auto;
  cursor: pointer;
}

.div_border {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 5px rgb(0 0 0 / 10%);
  margin: 20px 0;
  padding: 20px;
}


/*ESTILO DE SCROLL**/
/* Works on Firefox */
* {
  scrollbar-width: thin;
  /*scrollbar-color: black rgb(255, 255, 255);*/
  scrollbar-color: black rgb(233, 236, 239);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  /*background: rgb(255, 255, 255);*/
  background: rgb(233, 236, 239);

}

*::-webkit-scrollbar-thumb {
  background-color: black;
  border-radius: 20px;
  /*border: 2px solid rgb(255, 255, 255);*/
  border: 2px solid rgb(233, 236, 239);
  /*--bs-bg-opacity: 1;
    background-color: rgba( var(--bs-gray-300-rgb), var(--bs-bg-opacity) ) !important;*/
}

/*FIN ESTILO DE SCROLL**/

/* .ul-one-colum{
    columns: 1;
    -webkit-columns: 1;
} */

.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle;
  /*min-width: 94% !important;*/
  /*width: 100% !important;*/
  /*se descontrola el menu*/
  height: 20px;
}

/*
.select2-results__options {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100% !important;
}*/

/* .select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 0px !important;
    white-space: nowrap !important;
} */

.badge-min-height-35 {
  min-height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-bottom {
  position: relative;
  display: -webkit-flex;
  -webkit-flex-direction: column-reverse;
  display: flex;
  flex-direction: column-reverse;
}

.div_cp_ct_code {
  display: -webkit-flex;
  -webkit-flex-direction: column-reverse;
  display: flex;
  flex-direction: row;
}

.text-accordion-90 {
  white-space: normal;
  width: 90% !important;
  overflow: hidden;
  text-overflow: clip;
  font-size: 0.9em;
  -ms-word-wrap: break-word;
  -ms-word-break: break-all;
  word-wrap: break-word;
  word-break: break-all;
}

.text-accordion {
  white-space: normal;
  width: 60% !important;
  overflow: hidden;
  text-overflow: clip;
  font-size: 0.9em;
  /*word-break:break-word;
  word-break: break-all !important;*/


  -ms-word-wrap: break-word;
  -ms-word-break: break-all;
  word-wrap: break-word;
  word-break: break-all;
}

.text-accordion-badge {
  width: 30% !important;
  text-align: end;
}

.text-tachado {
  text-decoration: line-through;
}

.border-black-2 {
  border: 2px solid #004425 !important;
}

.border-grey-light-1 {
  border-style: solid;
  border-color: #ccc;
  border-width: 1px;
}

.open_info {
  width: 100%;
  padding: 25px;
  background-color: coral;
  color: white;
  font-size: 25px;
  box-sizing: border-box;
}

/*.text-align-center {
   height: auto;
  width: auto;
  text-align: center;
  vertical-align: middle;

  display: flex;
    align-items: center;

}*/


/**SLIDER**/
.slider-frame {
  width: 100%;
  height: auto;
  margin: 0px auto 0;
  overflow: hidden;
  /*height: 4rem;*/
}

.slider-frame ul {
  display: flex;
  padding: 0;
  width: 400%;
  margin-bottom: 0;
  animation: slide 20s infinite alternate ease-in-out;
  margin-top: 48px;
}

.slider-frame li {
  width: 100%;
  list-style: none;
}

.slider-frame img {
  width: 100%;
  /*height: 120%;*/
}

@keyframes slide {
  0% {
    margin-left: 0;
  }

  20% {
    margin-left: 0;
  }

  25% {
    margin-left: -100%;
  }

  45% {
    margin-left: -100%;
  }

  50% {
    margin-left: -200%;
  }

  70% {
    margin-left: -200%;
  }

  75% {
    margin-left: -300%;
  }

  100% {
    margin-left: -300%;
  }
}

/*4IMAGENES*/
/* @keyframes slide {
	0% {margin-left: 0;}
	20% {margin-left: 0;}

	25% {margin-left: -100%;}
	45% {margin-left: -100%;}

	50% {margin-left: -200%;}
	70% {margin-left: -200%;}

	75% {margin-left: -300%;}
	100% {margin-left: -300%;}
} */

/**SLIDER**/


.text-name-tournament {
  overflow: hidden;
  line-height: 1rem;
  /*height: 2.5rem; */
  /*height: 2.3rem; */
  /*3->3.5rem*/
  min-height: 2.3rem;
  -webkit-box-orient: vertical;
  display: block;
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

.text-ubication-tournament {
  overflow: hidden;
  line-height: 1rem;
  -webkit-box-orient: vertical;
  display: block;
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
}

.p-0-25 {
  padding: 0.25rem !important;
}

.margin-lr-1 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.bg-title {
  height: 40px;
  vertical-align: middle;
  padding-top: 10px;
}

.input_invalid {
  border-color: #dc3545 !important;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.input_valid {
  border-color: #198754 !important;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);

}

.g-1-1,
.gx-1-1 {
  --bs-gutter-x: 0.05rem;
}

.g-1-1,
.gy-1-1 {
  --bs-gutter-y: 0.05rem;
}

.opacity-0-8 {
  opacity: 0.8;
}

div#offcanvasBottomConfigurationUserHome {
  top: 3.5rem;
}

#offcanvasOnboardingWizard.onboarding-wizard {
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  background: #f8fafc;
}

.onboarding-wizard-header {
  min-height: 5.5rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
}

.onboarding-wizard-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: #6c757d;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

#offcanvasOnboardingWizard .offcanvas-title {
  color: #212529;
  font-size: 1.25rem;
  font-weight: 800;
}

.onboarding-wizard-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  overflow-y: auto;
}

.onboarding-wizard-progress {
  flex: 0 0 auto;
  height: 0.65rem;
  border-radius: 999px;
  background: #e2e8f0;
}

.onboarding-wizard-progress .progress-bar {
  border-radius: 999px;
  background: #d91717;
}

#onboarding_wizard_body {
  flex: 1 1 auto;
}

.onboarding-step {
  display: flex;
  min-height: calc(100vh - 14rem);
  flex-direction: column;
  gap: 1rem;
}

.onboarding-step-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(217, 23, 23, 0.1);
  color: #a00012;
  font-size: 1.35rem;
}

.onboarding-step h6 {
  margin: 0;
  color: #212529;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.onboarding-intent {
  display: flex;
  min-height: 4.75rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.8rem 0.9rem;
  white-space: normal;
}

.onboarding-intent-title {
  color: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.onboarding-intent-description {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.28;
}

.onboarding-intent.active .onboarding-intent-description {
  color: rgba(255, 255, 255, 0.86);
}

.onboarding-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding-bottom: 1rem;
}

.onboarding-field {
  padding: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.75rem;
  background: #ffffff;
}

.onboarding-field .form-label {
  margin-bottom: 0.35rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

.onboarding-field .form-control,
.onboarding-field .form-select {
  min-height: 2.85rem;
  border-color: rgba(148, 163, 184, 0.5);
  font-size: 1rem;
}

.onboarding-photo-field {
  grid-column: 1 / -1;
}

.onboarding-photo-field .alert {
  border-color: rgba(245, 158, 11, 0.28);
  background: #fff7ed;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.35;
}

.onboarding-wizard-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
  box-shadow: 0 -12px 24px rgba(15, 23, 42, 0.08);
}

.onboarding-wizard-footer .btn {
  min-height: 2.75rem;
  padding-right: 1rem;
  padding-left: 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  #offcanvasOnboardingWizard.onboarding-wizard {
    right: 0;
    left: 0;
    width: 100vw;
    transform: none;
    border-right: 0;
    border-left: 0;
  }

  .onboarding-wizard-body {
    padding: 1.5rem 2rem;
  }

  .onboarding-wizard-header,
  .onboarding-wizard-footer {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .onboarding-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .onboarding-wizard-footer .btn {
    flex: 1 1 0;
  }
}

.form-check-input:checked {
  background-color: #d91717 !important;
  border-color: #d91717 !important;
}

.bg-orange {
  background-color: #fd7e14 !important;
  color: white;
}

.x-qr {
  display: flex;
  justify-content: center;
}

.text-menu-name {
  width: 75%;
  white-space: nowrap;
  overflow: hidden;
}

.card-header {
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  background-color: #e9ecef;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  width: 100%;
  height: 45%;
  min-height: 45%;
  line-height: 1.3;
  font-weight: bold;
}

input[type="file"] {
  display: none;
}

.custom-file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 8px 6px;
  cursor: pointer;
}

.badge_license {
  /*float: right;*/
  position: absolute;
  right: 5px;
}

.icon_license {
  left: 5px;
  position: absolute;
}

.div-width-desktop {
  width: 100%;
}

@media (max-width: 30em) {

  /* 30*16px = 480px*/
  table {
    width: 100%;
  }

  /*table tr{*/

  .tr-license {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
  }

  .td-license {
    /*oculta las columnas en mobile*/
    display: none;
  }


  .td-license-desktop {
    display: none;
  }

  .td-license-mobile {
    display: block;
  }

  .div-width-desktop {
    width: 70%;
  }

  table thead {
    display: none;
  }

  .show_thead {
    display: block !important;
  }

  .text-60 {
    width: 50px;
  }

  /*.none-desktop{
    display: block;
  }*/
}

@media (min-width: 482px) {
  .table tr td span .td-license {
    display: none;
  }

  /*.td-license-desktop{
    display: block;
    min-height: 90px;
    height: 90px;
  }*/
  .td-license-mobile {
    display: none;
  }

  .none-desktop {
    display: none;
  }

  /* .table tr td span[data-lang] { YAVA
    display: none;
  } */
}

.display-flex {
  display: flex;
}

.display-contents {
  display: contents;
}

.licenses-team-options-header,
.licenses-team-options-cell {
  min-width: 240px;
}

.licenses-team-options-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: nowrap;
}

.licenses-team-options-wrap .pointer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.licenses-team-options-wrap .pointer svg {
  display: block;
}

.licenses-team-options-wrap .licenses-team-option-mini {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 999px;
  color: #fff;
}

.licenses-team-options-wrap .licenses-team-option-mini svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.licenses-team-options-wrap .licenses-team-option-qr {
  background: #0b7285;
}

.licenses-team-options-wrap .licenses-team-option-pdf {
  background: #2b8a3e;
}

.licenses-team-options-wrap .accreditation-option-mini {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  color: #fff;
  background: #198754;
  box-shadow: 0 6px 14px rgba(25, 135, 84, 0.24);
}

.licenses-team-options-wrap .accreditation-option-mini:hover,
.licenses-team-options-wrap .accreditation-option-mini:focus {
  background: #157347;
}

.licenses-team-options-wrap .accreditation-option-mini svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.div-btn-float {
  height: 85px;
  /*100px; */
}

.normal-button {
  position: relative;
  top: auto;
  width: 100%;

  height: 80px;
  font-size: 1.5rem;
  box-shadow: 0 0 10px #444444;
  margin: 3px;
  text-transform: uppercase;

  display: inline-block;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  color: #fff;
  background-color: #198754 !important;
  border-color: #198754 !important;
}

.fixed-button {
  position: fixed;
  top: 100px;
  /*60*/
  z-index: 100;
  width: 100%;

  height: 80px;
  font-size: 1.5rem;
  box-shadow: 0 0 10px #444444;
  margin: 3px;
  text-transform: uppercase;

  display: inline-block;
  font-weight: 400;
  /* line-height: 1.5; */
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

  color: #fff;
  background-color: #198754 !important;
  border-color: #198754 !important;

  left: 2%;
  width: 95% !important;
}

.div-top {
  top: 155px;
  /*185px;*/
}

.div-top2 {
  top: 200px;
  /*185px;*/
}

.div-fixed-button {
  position: fixed;
  top: 95px;
  z-index: 100;
  /*width: 100%;*/
  font-size: 1.5rem;
  box-shadow: 0 0 10px #444444;
  margin: 3px;
  text-transform: uppercase;
  /*display: inline-block;*/
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.3rem 0.2rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  color: #fff;
  left: 0%;
  /*width: 95% !important;*/
  background-color: #c7c7c7 !important;
  border-color: #c7c7c7 !important;
}

.mx-1-1 {
  margin-right: 0.15rem !important;
  margin-left: 0.15rem !important;
}

.arrow {
  position: absolute;
  top: 30%;
  right: 16px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  background-color: rgb(0 0 0 / 25%);
  border-radius: 50%;
  padding: 0.5px;
}

.arrow-25 {
  position: absolute;
  top: 9%;
  right: 16px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  background-color: rgb(0 0 0 / 25%);
  border-radius: 50%;
  padding: 0.5px;
}

/*ESTILOS DEL SELECT*/
/*.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {*/
/* width: 220px; */
/*width: 100% !important;
}*/

/*.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #e9ecef;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}*
/* 
.inner .show{
  max-height: 200px;
  overflow: hidden auto;
  min-height: 96px;
} */

/* .dropdown-menu .show {
  overflow: scroll;
} */

.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #f9fafb !important;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.modal {
  position: fixed;
  /* top: 0; */
  top: 15% !important;
  bottom: 10%;
  left: 0;
  z-index: 998;
  display: none;
  width: 100%;
  /* height: 100%; */
  height: 80%;
  outline: 0;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #f3abab;
}

.bootstrap-select .dropdown-toggle .filter-option {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: inherit;
  padding-right: inherit;
  padding-bottom: inherit;
  padding-left: inherit;
  height: 100%;
  width: 100%;
  text-align: left;
  text-transform: uppercase !important;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
  }
}

ul.custom-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.custom-list li {
  margin: 2px 0;
  /* Reduce el espacio entre elementos */
}

#render_container {
  max-height: 500px;
  /* O la altura que necesites */
  overflow-y: auto;
  overflow-x: hidden;
  /* Opcional: oculta el scroll horizontal */
  padding: 10px;
  /* Opcional: para un poco de espacio interno */
  border: 1px solid #ccc;
  /* Opcional: para delimitar el contenedor */
  background-color: #f8f9fa;
}


.btn-2 {
  flex: 1;
  margin: 0 5px;
  padding: 3px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  font-size: 11px;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 0 8px rgb(255 255 255 / 30%);
}

.btn-2.share {
  background: #0077cc;
}

.btn-2.tickets {
  background: #28a745;
}

.btn-2.info {
  background: #ff5733;
}

.btn-2:hover {
  opacity: 0.8;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.padding_0 {
  padding: 0 !important;
}

.input-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.input-container button {
  width: 30px;
  height: 30px;
  border: none;
  background-color: #FF0019;
  color: white;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
}

.input-container button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.input-container input {
  width: 60px;
  height: 30px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.border-bottom-light {
  border-bottom: 1px solid #f9fafb !important;
}

.border-radius-0-25 {
  border-radius: 0.25rem;
}

/* Contenedor general */
.calendar-container {
  padding: 1rem;
}

/* Navegación de meses */
.nav-buttons {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

/* Contenedor scrollable */
.days-scroll-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ancho fijo para ver varios días y hacer scroll */
.days-window {
  display: flex;
  align-items: center;
  /* Centra los círculos verticalmente */
  height: 100px;
  /* Altura suficiente para los círculos */
  width: 550px;
  /* Ancho para ver varios días y hacer scroll */
  overflow: hidden;
  /* Oculta horizontalmente lo que excede */
  margin: 0 10px;
  /* Espacio a los lados de las flechas */
  scrollbar-width: none;
  /* Para Firefox */
  -ms-overflow-style: none;
  /* Para Internet Explorer 10+ */
}

.days-window::-webkit-scrollbar {
  display: none;
  /* Para Chrome, Safari y Opera */
}


/* Flechas de scroll */
.arrow-btn {
  margin: 0 5px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.day-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12vw;
  /* Tamaño relativo en pantallas pequeñas */
  height: 12vw;
  max-width: 60px;
  /* Tamaño máximo en pantallas grandes */
  max-height: 60px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-size: 1rem;
  background-color: #f8f9fa;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}



.day-card:hover {
  background-color: #e9ecef;
  transform: scale(1.05);
}

/* Día activo (seleccionado) */
.day-card.active {
  background-color: #ff4d4d;
  color: #fff;
  transform: scale(1.15);
}

.day_today {

  border: 1px dashed #ff4d4d;
  /* Rojo suave */
  color: #000;
  transform: scale(1.15);
}

/* Ajuste para pantallas grandes */
@media (min-width: 768px) {
  .day-card {
    width: 6vw;
    /* Reducimos el tamaño en pantallas medianas */
    height: 6vw;
    max-width: 50px;
    max-height: 50px;
  }
}

@media (min-width: 1200px) {
  .day-card {
    width: 4vw;
    /* Tamaño aún más pequeño en pantallas grandes */
    height: 4vw;
    max-width: 40px;
    max-height: 40px;
  }
}

/* Estilos para la card de clase */
.card.class-card {
  overflow: hidden;
  background-color: var(--bs-gray-600);
  /* Fondo gris */
  color: #fff;
  /* Texto en blanco para contraste */
}

.card.class-card .card-header.class-card-header {
  background-color: var(--bs-gray-900);
  /* Header oscuro */
  color: #fff;
  font-size: 1.2rem;
  padding: 0.75rem 1rem;
}

.card.class-card .card-body.class-card-body {
  background-color: var(--bs-gray-600);
  /* Mismo fondo que la card */
  padding: 1rem;
  color: #fff;
  /* Texto blanco en el body */
}

/* Si tienes elementos con la clase text-muted dentro de la card, puedes sobreescribirlos */
.card.class-card .card-body.class-card-body .text-muted {
  color: rgba(255, 255, 255, 0.8);
  /* Blanco con opacidad para diferenciar */
}


.custom-header {
  background-color: #ffffff;
  /* Gris claro */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  padding-bottom: 12px;
  position: relative;
}

.bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: black;
  border-radius: 2px;
}

.no-class-message {
  margin-top: 20px;
  font-size: 1rem;
  color: #333;
}


.icon-img {
  width: 10vw;
  /* Tamaño relativo al ancho de la ventana */
  height: 10vw;
  object-fit: cover;
  /* Mantiene la imagen sin deformarse */
  border-radius: 50%;
  /* Hace que la imagen sea circular */
  max-width: 50px;
  /* Límite de tamaño máximo */
  max-height: 50px;
  /* Límite de tamaño máximo */
}


.custom-nav-wrapper {
  max-width: 400px;
  /* Ajusta este valor según el diseño deseado */
  width: 100%;
}

.custom-nav {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Card principal: con borde, sombra y fondo blanco */
.detalles-clase-card {
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  background-color: #fff;
  transition: transform 0.3s ease;
  width: 100%;
  /* El contenedor se ajusta al 100% del ancho disponible */
  max-width: 100%;
  /* Asegura que no se exceda de su tamaño máximo */
  box-sizing: border-box;
  /* Incluye el padding y margen en el cálculo del ancho */
}

/* Banner: imagen rectangular, totalmente responsive */
.detalles-clase-banner {
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: opacity 0.3s ease;
  height: auto;
  /* Mantiene la relación de aspecto original */
}

@media (max-width: 1000px) {
  .detalles-clase-card {
    width: 100%;
    /* Asegura que el contenedor también ocupe el 100% en dispositivos móviles */
    padding: 0;
    /* Evita el padding extra en pantallas pequeñas */
  }

  .detalles-clase-banner {
    object-fit: contain;
    /* Ajusta la imagen para que se vea entera */
  }


}

/* Cabecera de la card: fondo degradado, texto centrado y con mayor contraste */
.detalles-clase-header {
  background: linear-gradient(135deg, #333, #555);
  color: #fff;
  font-size: 2rem;
  padding: 15px;
  text-align: center;
  border-radius: 0;
  width: 100%;
  /* Ocupa todo el ancho del contenedor */
  height: auto;
  /* Mantiene la relación de aspecto original */
  object-fit: cover;
}

/* Cuerpo de la card: espaciado y tipografía clara */
.detalles-clase-body {
  padding: 20px;
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Información: cada ítem con separación y borde inferior sutil */
.info-item {
  margin-bottom: 10px;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: bold;
  color: #555;
  margin-right: 5px;
}

.info-value {
  color: #333;
}

/* Botón de inscripción: estilo sólido, sin bordes redondeados, con efecto hover */
.btn-inscribirse {
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 0;
  background-color: #28a745;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-inscribirse:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.btn-inscribirseArriba {
  padding: 6px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 0;
  background-color: #28a745;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-descargar {
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 0;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-descargarArriba {
  padding: 6px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 0;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.class-schedule {
  background-color: #555;
  color: #f8f9fa;
  text-align: center;
  padding: 1%;
  font-size: 1rem;
}











/* Modal base */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.custom-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.custom-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  min-height: 400px;
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Encabezado */
.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.custom-modal-header h5 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.custom-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Tabs */
.custom-modal-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-top: 10px;
  margin-bottom: 15px;
}

.tab-button {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  color: #555;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-button.active {
  color: #2c3e50;
  border-bottom: 2px solid #2c3e50;
}

/* Cuerpo del modal */
.custom-modal-body {
  padding: 15px 0;
}

.tab-content {
  display: block;
}

.d-none {
  display: none;
}

/* Etiquetas de inputs */
.modal-label {
  font-weight: bold;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

/* Estilos para los inputs */
#link_name_modal,
#link_url_modal {
  width: 100%;
  margin-bottom: 10px;
}

/* Estilos para los items de link en el modal */
.link-item {
  background: #f9f9f9;
  padding: 8px 12px;
  margin-bottom: 5px;
  border: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* En dispositivos grandes, mostrar nombre y URL en línea */
.link-item strong {
  flex: 1 1 auto;
  font-size: 1rem;
  margin-right: 10px;
}

.link-item span.url {
  flex: 2 1 auto;
  font-size: 0.95rem;
  word-break: break-all;
  margin-right: 10px;
}

.btn-link-delete {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #d33;
  cursor: pointer;
}

/* Ajustes responsivos para móviles */
@media (max-width: 576px) {
  .link-item {
    align-items: flex-start;
    padding: 10px;
    margin-bottom: 8px;
  }

  .link-item strong,
  .link-item span.url {
    width: 100%;
    margin: 0 0 5px 0;
    font-size: 1rem;
  }

  .btn-link-delete {
    align-self: flex-end;
  }
}


/* Pie del modal */
.custom-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* Contenedor de la lista de enlaces: se hace scroll si excede la altura definida */
#link-modal-list {
  max-height: 120px;
  /* Ajusta según necesites */
  overflow-y: auto;
  padding-right: 10px;
  /* Espacio para el scrollbar */
  margin-top: 10px;
}

/* En dispositivos móviles, reduce la altura si es necesario */
@media (max-width: 576px) {
  #link-modal-list {
    max-height: 100px;
  }
}

/* El resto del modal mantiene sus dimensiones fijas */
.custom-modal-content {
  width: 90%;
  max-width: 800px;
  min-height: 400px;
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* No se aplica overflow-y aquí para que solo el contenedor de enlaces sea scrollable */
}






/* Estilos para la dropzone en la pestaña de Archivos */
.dropzone {
  border: 2px dashed #ccc;
  padding: 30px;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.3s ease;
  text-align: center;
}

.dropzone p {
  margin: 0;
  font-size: 1rem;
  color: #555;
}

.dropzone.dragover {
  border-color: #28a745;
}

/* Ajustes responsivos para la dropzone */
@media (max-width: 576px) {
  .dropzone {
    padding: 20px;
    font-size: 0.9rem;
  }

  .detalles-clase-header {
    font-size: 1.3rem;
    /* Reduce el tamaño del texto */
    padding: 10px;
    /* Ajusta el padding si es necesario */
  }
}

/* Contenedor para el listado de archivos, con scroll */
#file-list-container {
  max-height: 120px;
  overflow-y: auto;
  padding-right: 10px;
  margin-top: 10px;
}

/* Estilos para el listado de archivos */
.file-item {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.file-item .file-remove {
  color: #d33;
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Oculta el input visualmente pero lo deja en el flujo para que pueda recibir clics */
.invisible-input {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  cursor: pointer;
}

.enlace-sin-formato {
  text-decoration: none;
  color: white;
  font-weight: normal;
}

.enlace-sin-formato:hover {
  text-decoration: none;
  color: white;
  font-weight: normal;
}




.progress {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar {
  height: 18px;
  background-color: rgb(238, 48, 60);
  border-radius: 4px;
  transition: 0.4s linear;
  transition-property: width, background-color;
}

.progress-striped .progress-bar {
  background-color: #ac2b2b;
  background-image: linear-gradient(45deg, rgb(238, 48, 60) 25%,
      transparent 25%, transparent 50%,
      rgb(238, 48, 60) 50%, rgb(238, 48, 60) 75%,
      transparent 75%, transparent);
  animation: progressAnimationStrike 6s;
}

.text-progressbar {
  font-size: 0.8em;
}

#assistants-photo {
  display: flex;
  align-items: center;
  justify-content: center;

}

/* Ajusta cada foto para que se superponga con la anterior */
#assistants-photo .photo_assistants_small {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #fff;
  /* un borde blanco para separarlas visualmente */
  margin-left: -12px;
  /* el truco para superponer */
  z-index: 1;
  /* asegura que aparezcan encima de los anteriores */
}

/* La primera foto no lleva margen negativo para no salirse del contenedor */
#assistants-photo .photo_assistants_small:first-child {
  margin-left: 0;
}


#photo-plus {
  margin-left: 0;
  /* o el margen que quieras */
  background-color: #ffffff;
  /* o un color distinto para diferenciarlo */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal base */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.custom-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Contenedor del modal */
.assistants-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Header del modal */
.assistants-modal-header {
  background: #ffffff;
  padding: 16px 24px;
  border-bottom: 2px solid #d32f2f;
  /* Acento rojo */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assistants-modal-header h5 {
  margin: 0;
  font-size: 1.5rem;
  color: #d32f2f;
  font-weight: bold;
}

.assistants-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #d32f2f;
  cursor: pointer;
}

/* Cuerpo del modal */
.custom-modal-body {
  padding: 16px 24px;
  background: #f7f7f7;
}

.assistants-modal-list {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  max-height: 300px;
  overflow-y: auto;
}

/* Item de asistente */
.assistant-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.assistant-item:hover {
  transform: translateY(-2px);
}

.assistant-photo-container {
  flex: 0 0 auto;
  margin-right: 12px;
}

.assistants-modal-photo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.assistant-name-container {
  flex: 1;
}

.assistants-modal-name {
  font-size: 1.1rem;
  color: #424242;
  font-weight: 500;
}

/* Footer del modal */
.custom-modal-footer {
  background: #ffffff;
  padding: 12px 24px;
  border-top: 1px solid #ddd;
  text-align: right;
}

/* Responsive */
@media (max-width: 576px) {
  .assistants-modal-content {
    width: 95%;
    max-width: 90%;
  }

  .assistants-modal-photo {
    width: 35px;
    height: 35px;
  }

  .assistants-modal-name {
    font-size: 1rem;
  }

  .assistants-modal-list {
    max-height: 250px;
  }
}

.assistant-detail-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.assistant-details {
  display: none;
  padding: 16px;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 10px;
}

.assistant-full-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.assistant-sport {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  text-align: center;
}

.assistant-email {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

/* Añadido para los datos adicionales */
.assistant-age,
.assistant-sports-practiced {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-bottom: 10px;
}

/* Opcional: estilo para centrar el contenido dentro del detalle */
.assistant-detail-content {
  text-align: center;
}


/* Foto de perfil pequeña */
.assistant-detail-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

/* Estilos para la sección de comentarios */
.comments-section {
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

.comments-title {
  margin-bottom: 10px;
  font-weight: bold;
}

.comment-form {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-info .user-name {
  font-weight: bold;
  font-size: 1rem;
}




/* Contenedor general de comentarios */
.comments-section {
  padding: 15px;
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
  box-sizing: border-box;
}

/* Título de comentarios */
.comments-title {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}

/* Formulario de comentario */
.comment-form {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Información de usuario (imagen + nombre) */
.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.user-info .user-name {
  font-weight: bold;
  font-size: 1rem;
}

/* Rating bar */
.rating-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rating-bar i {
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 5px;
  color: #f0ad4e;
}

/* Ajustes para pantallas pequeñas en el rating bar */
@media (max-width: 576px) {
  .rating-bar i {
    font-size: 1.2rem;
    margin-right: 3px;
  }
}

/* Comentarios */
.comment {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

/* Cabecera de cada comentario (foto, nombre y rating) */
.comment .comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.comment .comment-header .user-name {
  font-weight: bold;
  margin-left: 10px;
  font-size: 0.9rem;
}

/* Para que la valoración en cada comentario se muestre bien */
.comment .comment-rating {
  margin-left: 10px;
  font-size: 1rem;
}

/* Texto del comentario */
.comment p {
  white-space: normal;
  /* Permite el salto de línea */
  word-wrap: break-word;
  /* Fuerza el ajuste en palabras largas */
  overflow-wrap: break-word;
  /* Asegura que el texto se ajuste al contenedor */
  font-size: 0.95rem;
  margin: 0;
}

/* Contenedor para la lista de comentarios */
#comments-list {
  max-height: 400px;
  /* Puedes ajustar la altura según el diseño */
  overflow-y: auto;
}

/* Ajustes responsive generales */
@media (max-width: 768px) {
  .comments-section {
    width: 95%;
    padding: 10px;
  }

  .comment-form,
  .comment {
    padding: 10px;
  }
}



.attendance-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.attendance-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.attendance-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 18px;
}

.attendance-modal-title {
  text-align: center;
  margin-bottom: 15px;
}

.calendar-header {
  text-align: center;
  margin-bottom: 10px;
}

.calendar-nav-btn {
  cursor: pointer;
}

.month-year-label {
  margin: 0 10px;
  font-weight: bold;
}

/* Contenedor del calendario en forma de círculos */
.circle-calendar {
  width: 100%;
}

.circle-calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 5px;
  font-weight: bold;
}

.circle-day-header {
  padding: 5px 0;
}

.circle-calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: 100%;
  justify-items: center;
}

.circle-day.empty {
  visibility: hidden;
}

.day-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.day-circle.non-selectable {
  color: #ccc;
  cursor: default;
}

.day-circle.selected {
  background: #d32f2f;
  color: #fff;
}

.attendance-options {
  margin-top: 15px;
  text-align: center;
}

.attendance-option-label {
  margin-right: 10px;
}

.attendance-save {
  margin-top: 15px;
  text-align: center;
}

.attendance-save-btn {
  padding: 8px 15px;
}

/* attendance.css */
.schedule-btn.active {
  background-color: #a38787;
  color: white;
  border-color: #d32f2f;
}

.attendance-schedule-info {
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
}

.attended {
  background-color: #d4edda;
  /* fondo verde suave */
}


/* Para pantallas pequeñas (menos de 576px) usa un ancho relativo */
@media (max-width: 575.98px) {
  .qr-modal-dialog {
    max-width: 90%;
    width: 90%;
  }
}

/* Para pantallas de sm en adelante, ancho fijo */
@media (min-width: 576px) {
  .qr-modal-dialog {
    max-width: 400px;
    max-height: 400px;
    height: 400px;
  }
}

/* Aumenta la altura mínima del contenido del modal */
.qr-modal-content {
  min-height: 200px;
}





/* Contenedor del modal de Clases Inscritas */
.classes-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  /* Asegúrate de que sea mayor que otros modales si es necesario */
}

/* Contenido del modal de Clases Inscritas: se ajusta la altura en móviles */
.classes-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  max-width: 500px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  /* Limita la altura al 90% de la ventana */
  overflow-y: auto;
  /* Activa scroll vertical si el contenido es muy alto */
}

/* Botón de cerrar del modal de Clases Inscritas */
.classes-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 18px;
}

/* Título del modal de Clases Inscritas */
.classes-modal-title {
  text-align: center;
  margin-bottom: 15px;
}

/* Sección para guardar, similar al otro modal pero con nuevas clases */
.classes-save {
  margin-top: 15px;
  text-align: center;
}

.classes-save-btn {
  padding: 8px 15px;
}

/* Área de detalles para Clases Inscritas: scroll vertical si el contenido es muy alto */
.classes-schedule-info {
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
  max-height: 300px;
  /* Ajusta este valor según necesites */
  overflow-y: auto;
}






.chart-wrapper {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  padding: 20px;
}

.chart-wrapper h2 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}

canvas {
  display: block;
  margin: 0 auto;
}

/* Contenedor modal */
.exportM-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

/* Superposición de fondo */
.exportM-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Contenedor del contenido modal */
.exportM-content {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Se utiliza translateZ(0) y will-change para ayudar al renderizado y minimizar el desenfoque */
  transform: translate(-50%, -50%) translateZ(0);
  will-change: transform;
  width: 90%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Encabezado del modal */
.exportM-header {
  background-color: #d91717;
  color: #fff;
  padding: 16px 24px;
  border-bottom: 2px solid #d91717;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.exportM-header h5 {
  margin: 0;
  font-size: 1.5rem;
}

.exportM-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Cuerpo del modal */
.exportM-body {
  padding: 16px 24px;
  background-color: #f8f8f8;
}

/* Secciones internas del modal */
.exportM-section {
  margin-bottom: 1.5rem;
}

.exportM-section h6 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
  color: #333;
}

.exportM-section p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #555;
}

/* Grupos de checkboxes y radio buttons */
.exportM-checkboxGroup,
.exportM-radioGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  display: flex !important;
  align-items: center !important;
}

.exportM-checkboxGroup label,
.exportM-radioGroup label {
  font-size: 1rem;
  color: #444;
  cursor: pointer;
  display: block;
}

/* Contenedor modal */
.exportM-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

/* Superposición de fondo */
.exportM-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Contenedor del contenido modal */
.exportM-content {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Se utiliza translateZ(0) y will-change para ayudar al renderizado y minimizar el desenfoque */
  transform: translate(-50%, -50%) translateZ(0);
  will-change: transform;
  width: 90%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Encabezado del modal */
.exportM-header {
  background-color: #d91717;
  color: #fff;
  padding: 16px 24px;
  border-bottom: 2px solid #d91717;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

@media (min-width: 576px) {
  #div_total_items {
    margin-left: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .totalItems {
    margin-left: 150px !important;
  }
}


.exportM-header h5 {
  margin: 0;
  font-size: 1.5rem;
}

.exportM-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Cuerpo del modal */
.exportM-body {
  padding: 16px 24px;
  background-color: #f8f8f8;
}

/* Secciones internas del modal */
.exportM-section {
  margin-bottom: 1.5rem;
}

.exportM-section h6 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
  color: #333;
}

.exportM-section p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #555;
}

/* Grupos de checkboxes y radio buttons */
.exportM-checkboxGroup,
.exportM-radioGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  display: flex !important;
  align-items: center !important;
}

.exportM-checkboxGroup label,
.exportM-radioGroup label {
  font-size: 1rem;
  color: #444;
  cursor: pointer;
  display: block;
}

/* Estilo para el select */
.exportM-select {
  width: 100%;
  max-width: 300px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Divisor */
.exportM-divider {
  height: 1px;
  background-color: #ddd;
  margin: 1.5rem 0;
  border: none;
}

/* Pie del modal */
.exportM-footer {
  padding: 12px 24px;
  text-align: right;
  background-color: #f1f1f1;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Estilo del botón de exportar */
#btnExport {
  font-size: 1rem;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: #d91717;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

#btnExport:hover {
  background-color: #ce0f0f;
}

/* Responsive: ajustes en pantallas pequeñas */
@media (max-width: 576px) {
  .exportM-content {
    width: 95%;
    max-width: 90%;
    height: 90%;
    max-height: 95%;
    overflow-y: auto;
  }
}

input.export-col {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #999;
  border-radius: 3px;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
}

input.export-col:checked {
  background-color: #d91717;
  border-color: #d91717;
}

input.export-col:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}










/* Aumentar altura general de filas */
.list-tickets-custom td {
  padding: .8rem 1rem;
  vertical-align: middle;
}

/* Zebra por sesión completa */
.list-tickets-custom tr.session-even-row td {
  background-color: #f8f9fa;
}

.list-tickets-custom tr.session-odd-row td {
  background-color: #fff;
}

/* Extra altura en sesiones de una sola zona */
.list-tickets-custom tr.single-zone-row td {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

/* Contenedor de cada sesión */
.session-wrapper {
  margin-bottom: 2rem;
  border: 1px solid #aaa9a9;
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: #eeecec;
}

/* Título de sesión */
.session-wrapper h2 {
  margin-bottom: 1rem;
  text-align: center;
}

/* Contenedor de la gráfica principal */
.session-chart {
  position: relative;
  height: 230px;
  margin-bottom: 1.5rem;
}

/* Fila de zonas */
.zones-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Cada tarjeta de zona */
.zone-chart {
  flex: 0 0 170px;
  /* ancho base */
  max-width: 100%;
  text-align: center;
  position: relative;
  height: 220px;
  /* suficiente para el canvas y el título */
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

/* Título de zona */
.zone-chart h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Canvas del pie chart principal */
.session-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Canvas de zona */
.zone-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 576px) {
  .negrita-zona {
    font-weight: bold;
  }

  .tnmt_button {
    border-width: 2px;

    display: flex;
    flex-direction: column;
    padding: 5px;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .textlang {
    display: none;
  }

  .tnmt_button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    font-size: 0.9rem;
    white-space: nowrap;
    /* Evita que el texto se divida en dos líneas */
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
    /* Permite que los botones se envuelvan si es necesario */
    justify-content: space-around;
    /* Centra los botones */
    width: 100%;
    /* Asegura que ocupe todo el ancho disponible */
    margin: 0;
    /* Elimina márgenes adicionales */
    align-items: center;
  }

  .actions a i,
  .actions a svg,
  .actions a div[data-lang] {
    flex-shrink: 0;
  }

  .actions a div[data-lang] {
    margin-left: 0.5rem;
  }
}

.datetext {
  font-size: 1em;
  font-weight: bold;
}

.actions {
  margin: 10px 10px 0px 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  /* Asegura que los botones se ajusten a pantallas pequeñas */
  background-color: #313030;
}

.textlang {
  font-size: 80%;
}

/* Estilo general para los cuadrados */
.cuadrado {
  width: 90%;
  padding-top: 90%;
  position: relative;
  border-radius: 1rem;
  box-shadow: none;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #d62127;
}

/* Hover */
.cuadrado:hover {
  transform: none;
  transition: background-color 0.12s ease;
  border-color: #d62127;
  background-color: rgba(214, 33, 39, 0.03);
}

.cuadrado .card-body {
  color: #d62127 !important;
}

.cuadrado .card-body div[data-lang],
.cuadrado .card-body .h3,
.cuadrado .card-body .fw-bold {
  color: #d62127 !important;
}

.cuadrado .icono svg {
  filter: brightness(0) saturate(100%) invert(16%) sepia(88%) saturate(3650%) hue-rotate(345deg) brightness(91%) contrast(101%);
}

.cuadrado #EditarTorneo.icono svg {
  width: 72px;
  height: 72px;
}

.cuadrado #FormaPago.icono svg {
  width: 72px;
  height: 72px;
}

.cuadrado #ConfigurarYoutube.icono svg {
  width: 78px;
  height: 78px;
  filter: none !important;
}

.cuadrado #requests.icono svg {
  width: 68px;
  height: 68px;
}

.menu-card-subtitle {
  color: #d62127 !important;
  font-size: 1.15rem;
  line-height: 1.1;
}

/* Excepción para "Crear Club/Equipo": mantener badge verde con "+" blanco */
.cuadrado #new.icono svg {
  filter: none !important;
}

.cuadrado #new.icono svg path {
  fill: #d62127 !important;
  stroke: #d62127 !important;
}

.cuadrado #new.icono svg #create-badge circle {
  fill: #198754 !important;
  stroke: #ffffff !important;
}

.cuadrado #new.icono svg #create-badge line {
  stroke: #ffffff !important;
}

/* Cuadrado más chico en pantallas medias */
@media (min-width: 768px) {
  .cuadrado {
    width: 80%;
    padding-top: 80%;
  }
}

/* Cuadrado más chico en pantallas grandes */
@media (min-width: 1200px) {
  .cuadrado {
    width: 60%;
    padding-top: 60%;
  }
}



/* Iconos dentro de los cuadrados */
.icono {
  width: 100%;
  height: auto;
  max-width: 60px;
  max-height: 60px;
}

/* Tamaño iconos en móviles */
@media (max-width: 768px) {
  .icono {
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
  }

  .cuadrado #EditarTorneo.icono svg {
    width: 56px;
    height: 56px;
  }

  .cuadrado #FormaPago.icono svg {
    width: 56px;
    height: 56px;
  }

  .cuadrado #ConfigurarYoutube.icono svg {
    width: 60px;
    height: 60px;
  }

  .cuadrado #requests.icono svg {
    width: 54px;
    height: 54px;
  }
}

/* Tamaño iconos en pantallas grandes */
@media (min-width: 769px) {
  .icono {
    width: 160px;
    height: 160px;
    max-width: 130px;
    max-height: 130px;
  }
}

.footer-button,
.menu-button {
  border: 1px solid #d62127;
  border-radius: 0.85rem;
  background: #ffffff;
  color: #d62127 !important;
}

.footer-button span,
.menu-button span {
  color: #d62127 !important;
}

.footer-button svg,
.menu-button svg {
  filter: brightness(0) saturate(100%) invert(16%) sepia(88%) saturate(3650%) hue-rotate(345deg) brightness(91%) contrast(101%);
}

.youtube-config-panel {
  border: 1px solid rgba(214, 33, 39, 0.15);
  border-radius: 1.25rem;
  box-shadow: 0 12px 28px rgba(214, 33, 39, 0.08);
}

.youtube-config-header-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.youtube-config-header-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.youtube-config-brand {
  color: #ff0000;
  font-size: 1.2rem;
  line-height: 1.1;
}

.youtube-mat-card {
  height: 100%;
  padding: 1rem;
  border: 1px solid rgba(214, 33, 39, 0.15);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.youtube-session-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.youtube-mat-title {
  color: #d62127;
  font-size: 1.1rem;
  line-height: 1.2;
}

.youtube-mat-title span {
  color: inherit !important;
}

.youtube-session-card {
  padding: 0.9rem;
  border: 1px solid rgba(214, 33, 39, 0.14);
  border-radius: 0.95rem;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.youtube-session-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.youtube-session-title {
  color: #d62127;
  font-size: 0.96rem;
  line-height: 1.2;
}

.youtube-session-actions {
  display: flex;
  gap: 0.5rem;
}

.youtube-camera-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.youtube-camera-item {
  padding: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.08);
}

.youtube-camera-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #d62127;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
}

.youtube-camera-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.youtube-camera-action {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.youtube-camera-action svg {
  width: 18px;
  height: 18px;
  filter: none !important;
}

.youtube-camera-url {
  margin-top: 0.35rem;
  color: #6c757d;
  font-size: 0.82rem;
  word-break: break-all;
}

@media (max-width: 768px) {
  .youtube-config-header-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .youtube-mat-card {
    padding: 0.85rem;
  }

  .youtube-session-header {
    flex-direction: column;
  }

  .youtube-session-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .youtube-camera-item {
    padding: 0.75rem;
  }
}

.footer-button:hover,
.menu-button:hover {
  box-shadow: 0 8px 16px rgba(214, 33, 39, 0.2);
  transform: translateY(-1px);
  background-color: #ffffff;
  border-color: #d62127;
  color: #d62127 !important;
}

.footer-button:hover span,
.menu-button:hover span {
  text-decoration: none;
}

@media (min-width: 480px) {

  .footer-button,
  .menu-button {
    display: inline-flex;
    flex-direction: column;
    /* Apila los elementos en columna (icono arriba, texto abajo) */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-button svg,
  .menu-button svg {
    margin-bottom: 2px;
    /* Espacio entre el SVG y el texto */
  }
}

/* Estilos para pantallas de escritorio (min-width: 768px) */
@media (min-width: 768px) {

  .footer-container,
  .menu-container {
    display: flex;
    justify-content: center;
    /* Centra los elementos horizontalmente en pantallas grandes */
    gap: 1rem;
    /* Espacio entre los elementos */
    padding: 0px 0;
    /* Añadimos algo de espacio arriba y abajo */
  }

  .footer-button,
  .menu-button {
    display: inline-flex;
    flex-direction: column;
    /* Los íconos estarán arriba y el texto abajo en pantallas grandes */
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-button svg,
  .menu-button svg {
    margin-bottom: 5px;
    /* Espacio entre el SVG y el texto */
  }
}




/* Flecha de expansión */
.expand-icon {
  cursor: pointer;
  font-size: 16px;
  color: #007bff;
}

@media (max-width: 30em) {

  /* Ocultar las filas expandibles por defecto */
  .expanded-row {
    display: none;
  }

  /* La fila de expansión se muestra hacia abajo */
  .expanded-info {
    background-color: #f8f9fa;
    padding: 10px;
    border-top: 1px solid #ddd;
  }

  /* Aumentar tamaño de la flecha para móviles */
  .expand-icon {
    font-size: 20px;
  }
}

.modal-backdrop.show {
  z-index: 990 !important;
}

/* Y el propio modal más arriba todavía */
#gdprModal.modal.show {
  z-index: 2010 !important;
}

/* Estilos para la barra de scroll lateral */
.footer-container,
.menu-container {
  display: flex;
  overflow-x: auto;
  /* Activa el scroll lateral */
  white-space: nowrap;
  /* Evita que los elementos se rompan en varias líneas */
  -webkit-overflow-scrolling: touch;
  /* Suaviza el desplazamiento en móviles */
  scrollbar-width: none;
  /* Oculta la barra de desplazamiento en Firefox */
}

.footer-container::-webkit-scrollbar {
  display: none;
  /* Oculta la barra de desplazamiento en Chrome/Safari */
}

.menu-container::-webkit-scrollbar {
  display: none;
  /* Oculta la barra de desplazamiento en Chrome/Safari */
}

/* ===== Footer Nav (mobile app) ===== */
footer#footer {
  background: #ffffff !important;
  border-top: 1px solid #d62127;
  box-shadow: none;
  padding: 0 calc(0rem + env(safe-area-inset-right, 0px)) calc(0rem + env(safe-area-inset-bottom, 0px)) calc(0rem + env(safe-area-inset-left, 0px));
}

footer#footer .text-white {
  width: 100%;
}

footer#footer .footer-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  overflow-x: auto;
  padding: 0;
  border-left: 1px solid #d62127;
  border-right: 1px solid #d62127;
}

footer#footer .footer-button {
  flex: 1 1 0;
  min-width: 58px;
  border-radius: 0;
  border: 0;
  border-right: 1px solid #d62127;
  background: transparent;
  box-shadow: none;
  transition: background-color 0.12s ease;
}

footer#footer .footer-button:last-child {
  border-right: 0;
}

footer#footer .footer-button>div {
  min-height: 3.35rem;
  padding: 0.2rem 0.15rem !important;
  gap: 0.15rem;
}

footer#footer .footer-button svg {
  width: 19px !important;
  height: 19px !important;
  margin-bottom: 0 !important;
  filter: brightness(0) saturate(100%) invert(16%) sepia(88%) saturate(3650%) hue-rotate(345deg) brightness(91%) contrast(101%);
}

footer#footer .footer-button span {
  display: block;
  width: 100%;
  font-size: 0.64rem !important;
  line-height: 1.08;
  letter-spacing: 0.018em;
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-align: center;
  text-justify: inter-word;
  color: #d62127 !important;
  text-decoration: none !important;
}

footer#footer .footer-button:hover {
  transform: none;
  box-shadow: none;
  background-color: rgba(214, 33, 39, 0.04);
  filter: none;
}

footer#footer .footer-button:hover span {
  text-decoration: none !important;
}

.menu-container .menu-button {
  min-width: 84px;
  border: 1px solid #d62127;
  background: #ffffff;
  box-shadow: 0 7px 14px rgba(214, 33, 39, 0.18);
}

.menu-container .menu-button svg {
  width: 19px !important;
  height: 19px !important;
  margin-bottom: 0 !important;
  filter: brightness(0) saturate(100%) invert(16%) sepia(88%) saturate(3650%) hue-rotate(345deg) brightness(91%) contrast(101%);
}

.menu-container .menu-button span {
  display: block;
  width: 100%;
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-align: center;
  color: #d62127 !important;
  text-decoration: none !important;
}

.home-belts-entry {
  margin-bottom: .35rem;
}

.home-belts-button {
  width: 100%;
  min-height: 88px;
  padding: .85rem .65rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.home-belts-button svg {
  width: 32px !important;
  height: 24px !important;
  margin-bottom: .35rem !important;
  fill: currentColor;
  stroke: rgba(214, 33, 39, .35);
  stroke-width: 1.2;
  filter: none !important;
}

footer#footer .footer-button:active {
  transform: translateY(0);
}

/* ===== Home page footer (footer_home) ===== */
footer#footer_home {
  background: #ffffff !important;
  border-top: 1px solid #d62127;
  box-shadow: none;
  color: #d62127 !important;
}

footer#footer_home .container-fluid {
  border-left: 1px solid #d62127;
  border-right: 1px solid #d62127;
  padding-top: 0.4rem;
  padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
}

footer#footer_home,
footer#footer_home small,
footer#footer_home span,
footer#footer_home a {
  color: #d62127 !important;
}

footer#footer_home a {
  text-decoration: none;
  font-weight: 700;
}

footer#footer_home a:hover,
footer#footer_home a:focus {
  color: #a6161b !important;
  text-decoration: underline;
}

/* ===== Header profile strip aligned with footer style ===== */
#menu_nav .div_profile_menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0.42rem calc(50% - 50vw) 0.15rem;
  padding: 0.24rem 0.7rem 0.24rem 0.45rem;
  background: #ffffff;
  border: 0;
  box-shadow: none;
  width: 100vw !important;
  max-width: 100vw !important;
  border-radius: 0 !important;
}

#menu_nav .div_profile_menu>.col {
  padding-left: 0;
  padding-right: 0;
}

#menu_nav .div_profile_menu .float_left,
#menu_nav .div_profile_menu .float_right {
  float: none;
}

#menu_nav .div_profile_menu .float_left {
  flex: 1 1 auto;
  min-width: 0;
}

#menu_nav .div_profile_menu .float_right {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
}

#menu_nav .div_profile_menu .text-white {
  color: #d62127 !important;
}

#menu_nav .div_profile_menu .float_right .text-white {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
}

#menu_nav .div_profile_menu .text-menu-name {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Evita que la clase logos_bar (tamaño de icono) recorte el texto del nombre */
#menu_nav .div_profile_menu .text-menu-name .logos_bar {
  width: auto !important;
  height: auto !important;
  display: inline-block;
  max-width: 100%;
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#menu_nav .div_profile_menu #menu_type_team {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.25rem;
  max-width: 45vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  border: 1px solid #212529;
  background: #212529;
  color: #ffffff !important;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  text-shadow: none;
}

#menu_nav .div_profile_menu #menu_type_team * {
  color: #ffffff !important;
}

#menu_nav .menu-sysadmin-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-height: 1.55rem;
  max-width: min(38vw, 9rem);
  padding: 0.18rem 0.58rem !important;
  border: 1px solid rgba(214, 33, 39, 0.28) !important;
  border-radius: 999px !important;
  background: #fff5f5 !important;
  color: #c9161d !important;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 10px rgba(214, 33, 39, 0.08) !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#menu_nav .menu-sysadmin-toggle svg {
  flex: 0 0 auto;
  width: 0.78rem;
  height: 0.78rem;
}

#menu_nav .menu-sysadmin-toggle span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#menu_nav .menu-sysadmin-toggle.is-active {
  background: #d62127 !important;
  border-color: #d62127 !important;
  color: #ffffff !important;
  box-shadow: 0 5px 14px rgba(214, 33, 39, 0.22) !important;
}

#menu_nav .menu-sysadmin-toggle:hover,
#menu_nav .menu-sysadmin-toggle:focus {
  transform: translateY(-1px);
  border-color: rgba(214, 33, 39, 0.45) !important;
  box-shadow: 0 6px 16px rgba(214, 33, 39, 0.16) !important;
}

@media (min-width: 768px) {
  #menu_nav .div_profile_menu .text-menu-name .logos_bar {
    font-size: 0.88rem;
  }

  #menu_nav .div_profile_menu #menu_type_team {
    max-width: 26vw;
    font-size: 0.7rem;
  }
}

@media (min-width: 768px) {
  footer#footer .footer-container {
    gap: 0;
  }

  footer#footer .footer-button {
    min-width: 96px;
  }

  footer#footer .footer-button>div {
    min-height: 3.45rem;
  }

  footer#footer .footer-button svg {
    width: 21px !important;
    height: 21px !important;
  }

  footer#footer .footer-button span {
    font-size: 0.7rem !important;
    letter-spacing: 0.025em;
  }
}

.minor-selected {
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
  color: #421014;
}


#div_document_identification {
  max-height: 50vh;
}

#minors_list {
  max-height: 40vh;
  overflow-y: auto;
  /* scroll vertical cuando pase de esa altura */
  padding-right: 0.5rem;
  /* opcional: espacio para que no “pise” la barra */
}

.pointer-events-none {
  pointer-events: none;
}


/*//Ajusta el scroll un poco mas abajo en pantallas mas grandes
@media (min-width: 769px) {
  #minor_form_container {
    scroll-margin-top: 60px;
  }
}*/


/* Nueva clase para el contenedor de búsqueda */
.search-col {
  position: relative;
  /* Asegura que el div de resultados se posicione dentro de esta sección */
}

/* Aseguramos que el contenedor de los resultados ocupe el 100% del ancho del contenedor */
.results-container {
  position: absolute;
  /* Para posicionarlo encima del resto de la página */
  display: none;
  width: 100%;
  /* Ahora ocupa el 100% del ancho del contenedor (search-col) */
  max-height: 300px;
  /* Establecer un alto máximo para la lista de resultados */
  overflow-y: auto;
  /* Hacer scroll si los resultados exceden el contenedor */
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  z-index: 1200;
  /* Debe quedar por encima del contenido de la página, pero por debajo de los popups */
  top: 100%;
  /* Asegura que el contenedor esté justo debajo del campo de búsqueda */
  margin-top: 5px;
  /* Añadir un pequeño espacio entre el input y el contenedor */
}

.results-container:not(:empty) {
  display: block;
}

/* Estilo para los elementos dentro del contenedor de resultados */
.result-item {
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
}

.result-item:hover {
  background-color: #f0f0f0;
  /* Efecto visual cuando pasas el cursor sobre un elemento */
}

.logo_scorizer_bar {
  height: 1.9em !important;
}

.logos_bar {
  height: 37px !important;
  width: 37px !important;
}

/* Fuerza el logo de equipo del header a formato circular real */
#menu_photo_team {
  width: 43px !important;
  height: 43px !important;
  border-radius: 50%;
  overflow: hidden;
}

#menu_photo_team img {
  width: 43px !important;
  height: 43px !important;
  object-fit: cover;
  border: 1px solid #ccc !important;
  padding: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50% !important;
  display: block;
}



/*Ajustes de tamaño para el Menu/Barra superior*/
@media (min-width: 320px) {
  .logo_scorizer_bar {
    height: 1.4em !important;
  }

  .logos_bar {
    height: 30px !important;
    width: 30px !important;
  }

}

@media (min-width: 360px) {
  .logo_scorizer_bar {
    height: 1.8em !important;
  }

  .logos_bar {
    height: 32px !important;
    width: 32px !important;
  }

}


/* Cuadros siempre del mismo tamaño y cuadrados */
.square-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* cuadrado */
  overflow: hidden;
}

/* La imagen se adapta al cuadro sin deformarse */
.square-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: initial;
  display: block;
}

/* Botón azul personalizado para normativa */
.badge-blue {
  background-color: #0d6efd !important;
  /* azul bootstrap base */
  color: #fff !important;
  border: 1px solid #0a58ca !important;
}

/* Contenedor de la tarjeta centrada */
.event-wrap {
  display: flex;
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px;
}

/* la caja donde metes la card: que no ocupe 100% fijo */
.event-description-card {
  max-width: 800px;
  /* o 600/700 según quieras */
  width: 100%;
  box-sizing: border-box;
}

/* Contenedor de chips: que pueda partir a varias líneas */
.event-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  /* ocupa todo el ancho disponible */
}

/* ⚠️ Bootstrap .badge trae white-space:nowrap;  -> lo anulamos SOLO aquí */
.event-description-card .badge {
  white-space: normal !important;
  /* permite saltos */
  max-width: 100%;
  text-align: left;
  line-height: 1.2;
  overflow-wrap: anywhere;
  /* corta palabras muy largas/URLs */
  word-break: break-word;
  /* respaldo */
  hyphens: auto;
  display: inline-block;
  /* asegura caja con ancho */
}

/* Enlaces-badge (Google Maps) también deben poder partir */
.event-description-card a.badge {
  display: inline-block;
  white-space: normal !important;
  text-decoration: none;
}

/* El texto general de la card no se desborda */
.event-description-card .card-body {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.6;
}

/* Evita desbordes de elementos “anchos” */
.event-description-card img,
.event-description-card table,
.event-description-card pre,
.event-description-card code {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* === Mejoras añadidas === */

/* Textarea ocupa todo el ancho y con padding interno superior/inferior */
.event-description-card textarea.form-control {
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: none;
  /* opcional: evita redimensionar manual */
  box-sizing: border-box;
  overflow: hidden;
  /* junto con auto-resize en JS */
}

/* Chips a todo el ancho, centrados si caben */
.event-description-card .d-flex.flex-wrap {
  width: 100%;
}

/* Centrar el card dentro del contenedor padre */
#event-description-card {
  display: flex;
  justify-content: center;
}

#event-description-card .card {
  width: 100%;
  max-width: 800px;
  /* puedes ajustar el límite */
}

/* la card ocupa todo el ancho de esa caja */
#event-description-card>.card {
  width: 100%;
}

/* chips a todo el ancho y con saltos */
#event-description-card .d-flex.flex-wrap {
  width: 100%;
}

/* textarea full-width con padding interno */
#event-description-card textarea.form-control {
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: none;
  box-sizing: border-box;
  overflow: hidden;
}

.swal-btn-confirm {
  background-color: rgb(25, 135, 84) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 0.375rem !important;
  font-weight: 500;
}

.swal-btn-cancel {
  background-color: rgb(221, 51, 51) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 0.375rem !important;
  font-weight: 500;
  margin-left: 0.5rem;
}

/* ===== Event information page (card-like redesign) ===== */
.event-wrap {
  display: block;
  padding: 0.4rem 0.75rem 1.15rem;
}

.event-description-card {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

#event-description-card {
  display: block;
}

.event-info-neo {
  border-radius: 1rem;
  border: 1px solid rgba(17, 26, 54, 0.08);
  box-shadow: 0 14px 26px rgba(17, 26, 54, 0.12);
  overflow: hidden;
  background: #fff;
}

.event-info-hero {
  min-height: 230px;
  cursor: default;
}

.event-info-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-info-body {
  padding: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.event-info-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.event-info-action-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0.24rem 0.64rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  border: 1px solid transparent;
  color: #fff !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.14);
}

.event-info-action-chip.is-map {
  background: rgba(25, 135, 84, 0.95);
  border-color: rgba(25, 135, 84, 0.95);
}

.event-info-action-chip.is-doc {
  background: rgba(13, 110, 253, 0.95);
  border-color: rgba(13, 110, 253, 0.95);
}

.event-info-action-chip:hover {
  color: #fff !important;
  opacity: 0.92;
}

.event-info-meta {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.event-info-description {
  color: #111827;
  line-height: 1.75;
  font-size: 1.04rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.event-info-editor-header {
  margin-bottom: 0.45rem;
}

.event-info-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.event-info-editor-actions .btn {
  min-height: 2.1rem;
  border-radius: 0.55rem;
  font-weight: 700;
}

.event-info-editor-field {
  margin-bottom: 0.2rem;
}

.event-info-textarea {
  border-radius: 0.65rem;
  border: 1px solid rgba(17, 26, 54, 0.2);
  box-shadow: none;
}

.event-info-textarea:focus {
  border-color: rgba(13, 110, 253, 0.55);
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.16);
}

.event-disclaimer {
  margin: 0 0 0.6rem;
  border-radius: 0.65rem;
  padding: 0.58rem 0.72rem;
  background: rgba(13, 110, 253, 0.07);
  border: 1px solid rgba(13, 110, 253, 0.18);
  color: #0f172a;
  line-height: 1.45;
  font-size: 0.83rem;
}

@media (max-width: 768px) {
  .event-info-hero {
    min-height: 190px;
  }

  .event-info-body {
    padding: 0.78rem;
  }

  .event-info-description {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .event-info-action-chip {
    font-size: 0.73rem;
    padding: 0.24rem 0.55rem;
  }
}


/*********************************************/

@media (max-width: 768px) {
  #table-awwars-medall {
    display: none;
  }

  /*#mobile_cards_container { display: block; }*/

  /* Contenedor visual para cada atleta */
  .medal-block {
    display: block;
    margin-bottom: 12px;
    padding: 10px 10px;
    border-radius: 8px;
    background: #f9f9f9;
  }

  .medal-block:last-child {
    margin-bottom: 0;
  }

  .medal-federation,
  .medal-club,
  .medal-name-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .medal-name-check label {
    margin: 0;
    font-size: 0.9rem;
  }

  .medal-federation img,
  .medal-club img {
    width: 20px;
    height: 20px;
  }

  /* Quita exceso de espacio en celdas para móvil */
  #table_body_all td {
    vertical-align: top;
    padding: 6px !important;
  }

  #mobile_cards_container .mobile-view {
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    margin-bottom: 1.2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  /* Contenedor de cada medalla */
  .medal-block {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  }

  /* Federación y club siguen en bloque */
  .medal-block .d-flex.align-items-center.mb-1 {
    margin-bottom: 0.25rem !important;
  }

  /* Fila del nombre + check */
  .medal-block .d-flex.align-items-center:last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.3rem;
  }

  .medal-block label {
    flex: 1;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
  }

  .medal-block input[type="checkbox"] {
    margin-left: 10px;
    margin-right: 5px;
    flex-shrink: 0;
    transform: scale(1.2);
    /* opcional: agranda un poco */
  }


}

@media (min-width: 769px) {
  #table-awwars-medall {
    display: block;
  }

  /*#mobile_cards_container { display: none; }*/
}

.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

/* ===== Performance/Agility layer (no color changes) ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

a,
button,
.btn,
.nav-link,
.pointer,
[role="button"],
input[type="button"],
input[type="submit"] {
  touch-action: manipulation;
}

.box-option,
.box-option-long,
.box-option-card,
.box-option-card-square,
.box-tournament,
.box-brackets,
.photo_box,
.rotate-180 {
  transition-property: transform, box-shadow, opacity, filter;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

.box-option-card,
.box-option-card-square,
.box-option-card-long,
.box-tournament,
.box-option,
.box-option-long,
.photo_box {
  backface-visibility: hidden;
  transform: translateZ(0);
}

.div-center-home {
  min-height: 100dvh;
  height: auto;
}

.loader {
  inset: 58px 0 0 0;
}

.loader-background {
  left: 50%;
  will-change: transform;
}

@media (max-width: 1024px),
(hover: none) {

  .home_img,
  .home_img_felucha {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Modern UI refinement layer ===== */
:root {
  --ui-radius-xs: 0.45rem;
  --ui-radius-sm: 0.65rem;
  --ui-radius-md: 0.9rem;
  --ui-radius-lg: 1.2rem;
  --ui-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --ui-shadow-md: 0 6px 18px rgba(0, 0, 0, 0.12);
  --ui-shadow-lg: 0 12px 26px rgba(0, 0, 0, 0.16);
  --ui-button-border: rgba(255, 255, 255, 0.2);
  --ui-button-shadow: -1px 10px 18px rgba(0, 0, 0, 0.25);
  --ui-button-shadow-hover: -1px 14px 24px rgba(0, 0, 0, 0.32);
}

body {
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

.container,
.container-fluid {
  padding-inline: clamp(0.75rem, 2vw, 1.25rem);
}

:where(.btn:not(.btn-link)) {
  border-radius: 0.95rem;
  border: 2px solid var(--ui-button-border);
  font-weight: 700;
  letter-spacing: 0.012em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  box-shadow: var(--ui-button-shadow);
  background-size: 170% 170%;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, background 0.16s ease;
}

:where(.btn:not(.btn-link)):hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--ui-button-shadow-hover);
  filter: saturate(1.06) brightness(1.04);
}

:where(.btn:not(.btn-link)):active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(145deg, var(--cuadrado-grad1) 0%, var(--cuadrado-grad2) 100%);
  border-color: var(--cuadrado-border);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(145deg, #ff1a26 0%, #a52e2e 100%);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(145deg, #2f3944 0%, #161f2f 100%);
  border-color: rgba(118, 131, 146, 0.5);
  color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: linear-gradient(145deg, #3d4854 0%, #1d2739 100%);
  color: #fff;
}

.btn-success {
  background: linear-gradient(145deg, #1f9d6b 0%, #0f6642 100%);
  border-color: rgba(104, 195, 157, 0.52);
  color: #fff;
}

.btn-success:hover,
.btn-success:focus {
  background: linear-gradient(145deg, #26ad78 0%, #147e54 100%);
  color: #fff;
}

.btn-success-dark {
  background: linear-gradient(145deg, #136847 0%, #0b4a33 100%);
  border-color: rgba(94, 167, 136, 0.48);
  color: #fff;
}

.btn-success-dark:hover,
.btn-success-dark:focus {
  background: linear-gradient(145deg, #197d56 0%, #0d5a3e 100%);
  color: #fff;
}

.btn-danger {
  background: linear-gradient(145deg, #f25060 0%, #bb2332 100%);
  border-color: rgba(255, 166, 173, 0.5);
  color: #fff;
}

.btn-danger:hover,
.btn-danger:focus {
  background: linear-gradient(145deg, #f56a78 0%, #cb2e3f 100%);
  color: #fff;
}

.btn-dark {
  background: linear-gradient(145deg, #232b34 0%, #0d1423 100%);
  border-color: rgba(101, 114, 130, 0.45);
  color: #fff;
}

.btn-dark:hover,
.btn-dark:focus {
  background: linear-gradient(145deg, #2f3a46 0%, #162033 100%);
  color: #fff;
}

.btn-warning {
  background: linear-gradient(145deg, #ffd24a 0%, #e8a80d 100%);
  border-color: rgba(255, 250, 206, 0.6);
  color: #1c1c1c;
  text-shadow: none;
}

.btn-warning:hover,
.btn-warning:focus {
  background: linear-gradient(145deg, #ffdb68 0%, #f0b92f 100%);
  color: #1c1c1c;
}

.btn-info {
  background: linear-gradient(145deg, #30b6e3 0%, #157fa8 100%);
  border-color: rgba(186, 238, 255, 0.55);
  color: #fff;
}

.btn-info:hover,
.btn-info:focus {
  background: linear-gradient(145deg, #49c2ea 0%, #1d91bc 100%);
  color: #fff;
}

.btn-light {
  background: linear-gradient(145deg, #f5f7fa 0%, #dde2e9 100%);
  border-color: rgba(130, 141, 155, 0.38);
  color: #1f2937;
  text-shadow: none;
}

.btn-light:hover,
.btn-light:focus {
  background: linear-gradient(145deg, #ffffff 0%, #e8edf4 100%);
  color: #111827;
}

:where(.btn:not(.btn-link)).disabled,
:where(.btn:not(.btn-link)):disabled {
  filter: grayscale(0.2);
  opacity: 0.6;
  box-shadow: none;
}

:where(.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus) {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb, 13, 110, 253), 0.18);
}

:where(.form-control, .form-select, .input-group-text) {
  border-radius: var(--ui-radius-sm);
  min-height: 2.5rem;
}

.tap-option-menu,
.tap-option-menu-active,
.tap-option-menu-no-flex,
.tap-option-menu-active-no-flex {
  border-radius: 0.82rem !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 20px rgba(11, 19, 36, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, background 0.16s ease;
}

.tap-option-menu,
.tap-option-menu-no-flex {
  background: linear-gradient(135deg, #ff3348 0%, #d91717 100%) !important;
}

.tap-option-menu-active,
.tap-option-menu-active-no-flex {
  background: linear-gradient(135deg, #232b34 0%, #101725 100%) !important;
}

.tap-option-menu:hover,
.tap-option-menu-active:hover,
.tap-option-menu-no-flex:hover,
.tap-option-menu-active-no-flex:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(11, 19, 36, 0.24);
  filter: saturate(1.05);
}

.tap-option-menu-disabled {
  opacity: 0.55;
  filter: grayscale(0.15);
}

.btn_inscripcion,
.btn_championship {
  border-radius: 0.95rem !important;
  border-color: transparent !important;
  border-width: 0 !important;
  box-shadow: var(--ui-button-shadow) !important;
}

.normal-button,
.fixed-button {
  border-radius: 0.95rem !important;
  border: 2px solid var(--cuadrado-border) !important;
  box-shadow: var(--ui-button-shadow) !important;
}

.normal-button,
.fixed-button {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
  background: linear-gradient(145deg, var(--cuadrado-grad1) 0%, var(--cuadrado-grad2) 100%) !important;
  border-color: var(--cuadrado-border) !important;
}

.normal-button:hover,
.fixed-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--ui-button-shadow-hover) !important;
  filter: saturate(1.06) brightness(1.04);
}

:where(.card, .modal-content, .offcanvas, .dropdown-menu, .accordion-item, .list-group-item) {
  border-radius: var(--ui-radius-md);
  box-shadow: var(--ui-shadow-sm);
}

:where(.card, .modal-content, .offcanvas, .dropdown-menu) {
  backdrop-filter: saturate(115%);
}

:where(.table) {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--ui-radius-sm);
}

:where(.table > :not(caption) > * > *) {
  padding: 0.68rem 0.82rem;
  vertical-align: middle;
}

.table-hover tbody tr {
  transition: transform 0.14s ease, filter 0.14s ease;
}

.table-hover tbody tr:hover {
  transform: translateY(-1px);
  filter: saturate(1.03);
}

.box-option,
.box-option-long,
.box-option-card,
.box-option-card-square,
.box-option-card-long,
.box-tournament,
.div_profile_menu {
  border-radius: var(--ui-radius-md);
}

.box-option-card,
.box-option-card-square,
.box-option-card-long,
.box-tournament {
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.box-option-card:hover,
.box-option-card-square:hover,
.box-option-card-long:hover,
.box-tournament:hover {
  transform: translateY(-2px);
  box-shadow: var(--ui-shadow-md);
}

@keyframes menuDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#navbarCollapse .menu-dropdown {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  max-height: min(68vh, 24rem);
  overflow-y: auto;
  padding: 0.35rem;
  border-radius: var(--ui-radius-md);
  animation: menuDropdownIn 0.18s ease;
}

#navbarCollapse li.nav-item[dropdown],
#navbarCollapse li.nav-item.dropdown {
  width: 100%;
  position: relative;
}

#navbarCollapse .menu-dropdown-search {
  position: sticky;
  top: -0.35rem;
  z-index: 4;
  padding: 0.25rem 0.1rem 0.4rem;
  background: #f9fafb;
}

#navbarCollapse .dropdown-search-input {
  min-height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#navbarCollapse .team-group-header {
  margin-top: 0.3rem;
}

#navbarCollapse .team-option-row {
  border-radius: var(--ui-radius-sm);
  transition: transform 0.14s ease, filter 0.14s ease;
}

#navbarCollapse .team-option-row:hover {
  transform: translateX(2px);
  filter: brightness(0.98);
}

#navbarCollapse #dropdown_language .translate .dropdown-item,
#navbarCollapse #dropdown_team .dropdown-item {
  border-radius: var(--ui-radius-sm);
  transition: background-color 0.14s ease, padding-left 0.14s ease;
}

#navbarCollapse #dropdown_language .translate .dropdown-item:hover,
#navbarCollapse #dropdown_team .dropdown-item:hover {
  padding-left: 1rem;
}

#navbarCollapse .dropdown-empty-message {
  pointer-events: none;
  text-align: center;
  opacity: 0.8;
}

#menu_nav .language-top-dropdown {
  position: relative;
}

#menu_nav .team-top-dropdown {
  position: relative;
}

#menu_nav>.container-fluid {
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

#menu_nav .menu-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.35rem;
  width: 100%;
}

#menu_nav .menu-top-left {
  flex: 0 1 auto;
  min-width: 0;
}

#menu_nav .menu-top-left .logo_scorizer_bar {
  display: block;
  width: auto !important;
  height: clamp(1.7rem, 2.6vw, 2.15rem) !important;
  max-width: min(33vw, 10.5rem);
}

#menu_nav .menu-top-right {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: auto;
}

#menu_nav .menu-top-left .navbar-brand,
#menu_nav .menu-top-right .navbar-brand {
  margin-right: 0;
}

#menu_nav .team-logo-toggle {
  min-height: 37px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: none;
  transition: none !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

#menu_nav .team-logo-toggle:hover,
#menu_nav .team-logo-toggle:focus {
  color: #fff;
  background: transparent;
  border-color: transparent;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

#menu_nav .team-logo-toggle:active {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

#menu_nav .team-logo-toggle::after {
  display: none;
}

#menu_nav .help-top-btn {
  min-height: 37px;
  min-width: 37px;
  padding: 0.28rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

#menu_nav .help-top-btn:hover,
#menu_nav .help-top-btn:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.28);
}

#menu_nav .help-top-btn svg {
  width: 20px;
  height: 20px;
}

#menu_nav .team-logo-toggle .team-logo-caret,
#menu_nav #btn_navbarCollapse .avatar-menu-caret {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

#menu_nav .language-iso-toggle {
  min-height: 37px;
  padding: 0.1rem 0.45rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  box-shadow: none;
}

#menu_nav .language-iso-toggle:hover,
#menu_nav .language-iso-toggle:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.28);
}

#menu_nav .language-iso-toggle::after {
  display: none;
}

#menu_nav .language-iso-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

#menu_nav .language-iso-caret {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(0 0 0 / 25%);
  border-radius: 50%;
}

#menu_nav #btn_navbarCollapse {
  position: relative;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  min-width: 43px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#menu_nav #btn_navbarCollapse:hover,
#menu_nav #btn_navbarCollapse:focus {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  outline: 0;
}

#menu_nav .team-logo-caret svg,
#menu_nav .avatar-menu-caret svg {
  width: 12px !important;
  height: 12px !important;
}

#navbarCollapse #navbarDropdownLanguageUser::after {
  margin-left: auto;
}

#navbarCollapse #current_language_iso_menu {
  letter-spacing: 0.04em;
}

#menu_nav .language-top-dropdown #dropdown_language {
  right: 0;
  left: auto;
  min-width: min(92vw, 21rem);
  max-width: min(92vw, 21rem);
  max-height: min(68vh, 24rem);
  overflow-y: auto;
  padding: 0.35rem;
  border-radius: var(--ui-radius-md);
  animation: menuDropdownIn 0.18s ease;
}

#menu_nav .team-top-dropdown #dropdown_team {
  right: 0;
  left: auto;
  min-width: min(92vw, 22rem);
  max-width: min(92vw, 22rem);
  max-height: min(68vh, 24rem);
  overflow-y: auto;
  padding: 0.35rem;
  border-radius: var(--ui-radius-md);
  animation: menuDropdownIn 0.18s ease;
}

#menu_nav .language-top-dropdown .menu-dropdown-search {
  position: sticky;
  top: -0.35rem;
  z-index: 4;
  padding: 0.25rem 0.1rem 0.4rem;
  background: #f9fafb;
}

#menu_nav .team-top-dropdown .menu-dropdown-search {
  position: sticky;
  top: -0.35rem;
  z-index: 4;
  padding: 0.25rem 0.1rem 0.4rem;
  background: #f9fafb;
}

#menu_nav .language-top-dropdown .dropdown-search-input {
  min-height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#menu_nav .team-top-dropdown .dropdown-search-input {
  min-height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#menu_nav .language-top-dropdown #dropdown_language .translate .dropdown-item {
  border-radius: var(--ui-radius-sm);
  transition: background-color 0.14s ease, padding-left 0.14s ease;
}

#menu_nav .team-top-dropdown .team-group-header {
  margin-top: 0.3rem;
}

#menu_nav .team-top-dropdown .team-option-row {
  border-radius: var(--ui-radius-sm);
  transition: transform 0.14s ease, filter 0.14s ease;
}

#menu_nav .team-top-dropdown .team-option-row:hover {
  transform: translateX(2px);
  filter: brightness(0.98);
}

#menu_nav .team-top-dropdown #dropdown_team .dropdown-item {
  border-radius: var(--ui-radius-sm);
  transition: background-color 0.14s ease, padding-left 0.14s ease;
}

#menu_nav .team-top-dropdown #dropdown_team .dropdown-item:hover {
  padding-left: 1rem;
}

#menu_nav .language-top-dropdown #dropdown_language .translate .dropdown-item:hover {
  padding-left: 1rem;
}

#menu_nav .language-top-dropdown .dropdown-empty-message {
  pointer-events: none;
  text-align: center;
  opacity: 0.8;
}

#menu_nav .team-top-dropdown .dropdown-empty-message {
  pointer-events: none;
  text-align: center;
  opacity: 0.8;
}

@media (max-width: 576px) {
  #menu_nav>.container-fluid {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }

  #menu_nav .menu-top-row {
    gap: 0.2rem;
  }

  #menu_nav .menu-top-left .logo_scorizer_bar {
    width: auto !important;
    height: clamp(1.45rem, 5.3vw, 1.8rem) !important;
    max-width: min(38vw, 8.2rem);
  }

  #menu_nav .menu-top-right #bell,
  #menu_nav .menu-top-right #shopping_car,
  #menu_nav .menu-top-right .team-top-dropdown,
  #menu_nav .menu-top-right .help-top-btn {
    margin-top: 0 !important;
  }

  #menu_nav .menu-top-right #shopping_car {
    margin-left: 0.2rem !important;
    margin-right: 0.2rem !important;
  }

  #menu_nav .language-top-dropdown #dropdown_language {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 5.6rem) !important;
    bottom: auto !important;
    right: 0.5rem !important;
    left: 0.5rem !important;
    width: auto !important;
    min-width: calc(100vw - 1rem) !important;
    max-width: calc(100vw - 1rem) !important;
    max-height: min(58vh, 22rem) !important;
    transform: none !important;
    z-index: 1065;
  }

  #menu_nav .team-top-dropdown #dropdown_team {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 5.6rem) !important;
    bottom: auto !important;
    right: 0.5rem !important;
    left: 0.5rem !important;
    width: auto !important;
    min-width: calc(100vw - 1rem) !important;
    max-width: calc(100vw - 1rem) !important;
    max-height: min(58vh, 22rem) !important;
    transform: none !important;
    z-index: 1065;
  }
}

/* ===== Tournament Toolbar (tournaments/tournaments) ===== */
.tournaments-toolbar-state {
  margin-top: 0.1rem;
}

.tournaments-toolbar-state .btn {
  width: 100%;
  min-height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 20px rgba(11, 19, 36, 0.22);
}

.tournaments-toolbar-state .btn.btn-secondary {
  background: linear-gradient(135deg, #78818a 0%, #5d6772 100%);
  color: #fff;
}

.tournaments-toolbar-state .btn.btn-success {
  background: linear-gradient(135deg, #20325f 0%, #111a36 100%);
  color: #fff;
}

.tournaments-toolbar-tabs {
  padding-top: 0.25rem;
}

.tournaments-toolbar-tabs .col {
  padding-inline: 0.2rem;
}

.tournaments-toolbar-tabs .tap-option-menu,
.tournaments-toolbar-tabs .tap-option-menu-active {
  margin: 0 !important;
  min-height: 4rem;
  height: 4rem;
  border-radius: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 20px rgba(11, 19, 36, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.tournaments-toolbar-tabs .tap-option-menu {
  background: linear-gradient(135deg, #ff3348 0%, #d91717 100%) !important;
}

.tournaments-toolbar-tabs .tap-option-menu-active {
  background: linear-gradient(135deg, #232b34 0%, #101725 100%) !important;
}

.tournaments-toolbar-tabs .tap-option-menu:hover,
.tournaments-toolbar-tabs .tap-option-menu-active:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(11, 19, 36, 0.24);
  filter: saturate(1.05);
}

.tournaments-toolbar-tabs .tap-option-menu-disabled {
  opacity: 0.52;
}

.tournaments-toolbar-search {
  margin-top: 0.25rem;
}

.tournaments-toolbar-search .input-group {
  border-radius: 0.82rem;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(11, 19, 36, 0.13);
}

.tournaments-toolbar-search #search {
  border: 1px solid rgba(17, 26, 54, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.tournaments-toolbar-search .btn {
  min-height: 2.5rem;
  border-radius: 0.75rem !important;
  border: 0;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(11, 19, 36, 0.2);
}

.tournaments-toolbar-search .btn.btn-primary {
  background: linear-gradient(135deg, #ff3348 0%, #d91717 100%);
  color: #fff;
}

.tournaments-toolbar-search .btn.btn-secondary {
  background: linear-gradient(135deg, #7c858f 0%, #636d78 100%);
  color: #fff;
}

.tournaments-toolbar-search .btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
}

.combat-filter-dropdown {
  position: relative;
  width: 100%;
}

.combat-filter-toggle {
  min-height: 2.5rem;
  border-radius: 0.82rem;
  border: 1px solid rgba(17, 26, 54, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
  box-shadow: 0 8px 18px rgba(11, 19, 36, 0.13);
}

.combat-filter-toggle.show {
  border-color: rgba(217, 23, 23, 0.22);
  box-shadow: 0 12px 24px rgba(11, 19, 36, 0.18);
}

.combat-filter-toggle::after {
  display: inline-block;
  content: "";
  float: right;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}

.combat-filter-toggle.show::after {
  transform: rotate(225deg);
}

.combat-filter-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 1050;
  display: none;
  list-style: none;
  width: 100%;
  min-width: 100%;
  max-height: min(58vh, 20rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(17, 26, 54, 0.1);
  box-shadow: 0 18px 36px rgba(11, 19, 36, 0.18);
}

.combat-filter-menu.show {
  display: block;
}

.combat-filter-menu .menu-dropdown-search {
  position: sticky;
  top: -0.35rem;
  z-index: 3;
  padding: 0.25rem 0.1rem 0.4rem;
  background: #f9fafb;
}

.combat-filter-menu .dropdown-search-input {
  min-height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.combat-filter-option-row {
  border-radius: var(--ui-radius-sm);
  transition: transform 0.14s ease, filter 0.14s ease;
}

.combat-filter-option-row .combat-filter-option {
  display: block;
  border-radius: var(--ui-radius-sm);
  color: inherit;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.14s ease, padding-left 0.14s ease;
}

.combat-filter-option-row:hover {
  filter: brightness(0.98);
}

.combat-filter-option-row .combat-filter-option:hover,
.combat-filter-option-row.active .combat-filter-option {
  background-color: rgba(217, 23, 23, 0.08);
  padding-left: 1rem;
}

.combat-filter-menu .dropdown-empty-message {
  padding: 0.55rem 0.75rem;
  color: #6b7280;
  font-size: 0.88rem;
}

.combat-search-highlight {
  padding: 0 0.15rem;
  background: #fff3a3;
  color: inherit;
  border-radius: 0.2rem;
}

@media (max-width: 768px) {

  .tournaments-toolbar-tabs .tap-option-menu,
  .tournaments-toolbar-tabs .tap-option-menu-active {
    min-height: 3.5rem;
    height: 3.5rem;
    font-size: 0.92rem !important;
  }
}

/* ===== Tournament Cards (tournaments/tournaments) ===== */
@keyframes tournamentCardIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tournament-card-neo {
  position: relative;
  border: 0 !important;
  border-radius: 1rem !important;
  overflow: hidden;
  background: linear-gradient(170deg, #ffffff 0%, #f4f5f8 100%);
  box-shadow: 0 14px 30px rgba(11, 19, 36, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: tournamentCardIn 0.26s ease both;
}

.tournament-card-neo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217, 23, 23, 0.12), rgba(10, 20, 50, 0.12));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tournament-card-neo:hover::before {
  opacity: 1;
}

.tournament-card-hero {
  position: relative;
  min-height: 12rem;
  isolation: isolate;
  background: #0d1328;
}

.tournament-card-poster {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.tournament-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 36, 0.9) 0%, rgba(11, 19, 36, 0.35) 48%, rgba(11, 19, 36, 0.06) 100%);
}

.tournament-card-title-wrap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 0.85rem;
}

.tournament-card-title {
  margin: 0;
  color: #fff;
  font-size: clamp(0.95rem, 2.1vw, 1.12rem);
  line-height: 1.2;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.tournament-card-badges {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  max-width: calc(100% - 1.3rem);
}

.tournament-card-countdown {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
  white-space: nowrap;
  line-height: 1;
  color: #111827;
  background: rgba(255, 193, 7, 0.95);
  border-radius: 999px;
  padding: 0.26rem 0.55rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.tournament-card-countdown.is-live {
  background: rgba(25, 135, 84, 0.95);
  color: #fff;
}

.tournament-card-registration-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
  white-space: nowrap;
  line-height: 1;
  color: #fff;
  border-radius: 999px;
  padding: 0.26rem 0.55rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.tournament-card-registration-badge.is-open {
  background: rgba(13, 110, 253, 0.95);
}

.tournament-card-registration-badge.is-warning {
  background: rgba(220, 53, 69, 0.95);
}

.tournament-card-registration-badge.is-closed {
  background: rgba(33, 37, 41, 0.95);
}

.tournament-card-body {
  padding: 0.85rem !important;
}

.tournament-card-meta {
  display: grid;
  gap: 0.5rem;
}

.tournament-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.6rem;
  color: #13213a;
  background: rgba(13, 20, 40, 0.06);
  border: 1px solid rgba(13, 20, 40, 0.08);
  font-size: 0.83rem;
  line-height: 1.25;
}

.tournament-chip i {
  color: #d91717;
  width: 0.95rem;
  text-align: center;
  flex: 0 0 auto;
}

.tournament-chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tournament-chip-location {
  align-items: flex-start;
}

.tournament-chip-organizer {
  align-items: center;
  gap: 0.55rem;
}

.tournament-chip-organizer-logo {
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  min-height: 1.35rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(13, 20, 40, 0.14);
}

.tournament-chip-organizer span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.2;
}

.tournament-chip-location span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.28;
}

.tournament-chip-enrollment {
  background: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.2);
}

.tournament-chip-enrollment i {
  color: #0d6efd;
}

.tournament-card-actions {
  background: linear-gradient(135deg, #131f40 0%, #0b1229 62%, #18274f 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 3.55rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tournament-card-action {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.55rem;
  padding: 0.5rem 0;
  color: #fff !important;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tournament-card-action:last-child {
  border-right: 0;
}

.tournament-card-action:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px) scale(1.02);
}

.tournament-card-action svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.tournament-card-neo:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(11, 19, 36, 0.26), 0 8px 16px rgba(0, 0, 0, 0.15);
}

.tournament-card-neo:hover .tournament-card-poster {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .tournament-card-poster {
    height: 11.2rem;
  }

  .tournament-card-body {
    padding: 0.72rem !important;
  }

  .tournament-card-actions,
  .tournament-card-action {
    min-height: 3.75rem;
  }

  .tournament-card-action svg {
    width: 28px;
    height: 28px;
  }
}

.btn-big {
  font-size: clamp(1.35rem, 3.8vw, 2.2rem);
  line-height: 1.1;
  padding: 0.9rem 1.35rem;
}

#logo_project img,
.text-top-home img,
.text-center-home img {
  max-width: min(84vw, 480px);
  height: auto;
}

.text-top-home,
.text-bottom-home {
  margin-inline: auto;
  left: 0;
  right: 0;
  max-width: min(1200px, 96vw);
}

footer,
.text-bottom-home {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  body {
    margin-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .text-bottom-home {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (prefers-reduced-motion: reduce) {

  :where(.btn),
  .box-option-card,
  .box-option-card-square,
  .box-option-card-long,
  .box-tournament,
  .table-hover tbody tr {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Home footer (index) aligned with header/app footer ===== */
.text-bottom-home {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.45rem 0.6rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  border-top: 1px solid #d62127;
  color: #d62127;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1000;
}

.text-bottom-home .text-white,
.text-bottom-home span,
.text-bottom-home small {
  color: #d62127 !important;
}

.text-bottom-home .a_white {
  color: #d62127 !important;
  text-decoration: none;
  font-weight: 700;
}

.text-bottom-home .a_white:hover,
.text-bottom-home .a_white:focus {
  color: #a6161b !important;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .text-bottom-home {
    line-height: 1.25;
    font-size: 0.9rem;
  }

  .text-bottom-home .text-white,
  .text-bottom-home span,
  .text-bottom-home small {
    font-size: 0.9rem;
  }
}

/* ===== My teams (responsive logo shape) ===== */
#table_class .photo_container_small,
#table_class .photo_container_extra_small {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px;
  min-height: 42px;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
}

/* Force team/staff avatars to render as circular badges consistently */
img.photo_container_extra_big,
img.photo_container_big,
img.photo_container_medium,
img.photo_container_small,
img.photo_container_extra_small {
  display: block;
  flex-shrink: 0;
  box-sizing: border-box;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%);
  object-fit: cover !important;
  object-position: center center !important;
}

.my-team-search-logo {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #cfd4dc;
}

.my-team-search-logo > .my-team-search-logo-img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  display: block !important;
  border: 0 !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50%) !important;
  object-fit: cover !important;
  object-position: center center !important;
  box-shadow: none !important;
  background-color: #fff !important;
}

/* tournaments-championships: remove red borders from buttons only in this page */
.page-tournaments-championships :where(.btn:not(.btn-link)) {
  border-color: transparent !important;
  border-width: 0 !important;
}

/* tournaments-inscription-list-all: force remove red borders from CTA buttons */
.page-tournaments-inscription-list-all #inscription_add .btn.btn_championship,
.page-tournaments-inscription-list-all #inscription_add .btn.btn-card,
.page-tournaments-inscription-list-all #inscription_add .btn.btn-success {
  border: 0 !important;
  border-color: transparent !important;
  outline: 0 !important;
}

/* Back buttons in header rows: keep visible size on mobile (avoid shrinking in col-1) */
.box-header-class .col-1[onclick] {
  min-width: 46px;
  min-height: 40px;
  padding-left: 0.45rem;
  padding-right: 0.2rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.box-header-class .bi-arrow-left-circle {
  width: 30px !important;
  height: 30px !important;
  max-width: none !important;
  display: block;
  line-height: 1;
  overflow: visible;
  flex: 0 0 auto;
  transform: translateY(2px);
}

/* Global accordion refresh (used across modules) */
:where(.accordion .accordion-item) {
  border: 1px solid rgba(152, 165, 180, 0.35);
  border-radius: 0.82rem !important;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(13, 21, 37, 0.12);
  margin-bottom: 0.34rem;
}

:where(.accordion .accordion-button) {
  min-height: 3rem;
  padding: 0.78rem 1rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 0.82rem !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

:where(.accordion .accordion-button:hover) {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(10, 18, 33, 0.16);
  filter: saturate(1.05);
}

:where(.accordion .accordion-button:not(.collapsed)) {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  filter: brightness(1.04);
}

:where(.accordion .accordion-button::after) {
  width: 1.05rem;
  height: 1.05rem;
  background-size: 1.05rem;
  transition: transform 0.22s ease, filter 0.22s ease;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

:where(.accordion .accordion-button:not(.collapsed)::after) {
  transform: rotate(-180deg) scale(1.04);
}

:where(.accordion .accordion-body) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
  padding: 0.72rem;
}

/* Tap-option blocks inside expanded sections */
.tap-option {
  display: flex;
  align-items: center;
  min-height: 3.2rem;
  cursor: pointer;
  border-radius: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 16px rgba(13, 21, 37, 0.14);
  padding: 0.8rem 0.95rem !important;
  margin: 0.34rem 0 !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.tap-option .row {
  width: 100%;
  align-items: center;
}

.tap-option h5 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.tap-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 20px rgba(13, 21, 37, 0.2);
  filter: saturate(1.05) brightness(1.03);
}

.tap-option:focus-visible {
  outline: 2px solid #4e8ef7;
  outline-offset: 2px;
}

.championship-options-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.35rem 1rem 0.85rem;
}

.championship-option-cell {
  min-width: 0;
}

.championship-option-cell .tap-option {
  height: 100%;
  min-height: 3.2rem;
  margin: 0 !important;
  padding: 0.62rem 0.82rem !important;
}

.championship-option-cell .tap-option .row {
  width: 100%;
}

.championship-option-cell .tap-option h5 {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Championships quick action next to share */
.championship-actions-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.42rem;
}

.championship-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  width: 100%;
}

.championship-actions-under-title {
  margin-top: 0.25rem;
  margin-bottom: 0.2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0.8rem;
}

.championship-quick-actions-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.6rem;
}

.championship-quick-actions-inline .championship-quick-action {
  width: 100%;
  min-height: 3.25rem;
  justify-content: flex-start;
  text-align: left;
}

/* In championships accordion, "Inscripciones" card must stay green */
.championship-option-cell [id^="div_tap_inscription_"].tap-option {
  background: linear-gradient(145deg, #1f9d6b 0%, #0f6642 100%);
  border-color: rgba(170, 238, 208, 0.38);
  color: #fff;
}

.championship-option-cell [id^="div_tap_inscription_"].tap-option h5,
.championship-option-cell [id^="div_tap_inscription_"].tap-option svg {
  color: #fff;
}

.championship-badges-inline {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.championship-badges-inline .badge2.w-100 {
  width: auto !important;
}

.championship-quick-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.48rem;
  min-height: 2.9rem;
  width: 100%;
  padding: 0.46rem 0.62rem;
  border-radius: 0.82rem;
  cursor: pointer;
  color: #fff;
  text-align: left;
  box-shadow: 0 6px 14px rgba(15, 25, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.championship-quick-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(15, 25, 42, 0.28);
  filter: brightness(1.05);
}

.championship-quick-action-share {
  background: linear-gradient(145deg, #2f3a46 0%, #162033 100%);
  border-color: rgba(150, 168, 190, 0.35);
}

.championship-quick-action-inscriptions {
  background: linear-gradient(145deg, #1f9d6b 0%, #0f6642 100%);
  border-color: rgba(170, 238, 208, 0.38);
}

.championship-quick-action .championship-quick-action-icon {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.championship-quick-action .championship-quick-action-icon svg {
  width: 18px;
  height: 18px;
}

.championship-quick-action small {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
  white-space: normal;
  overflow-wrap: anywhere;
}

.championship-title-wrap {
  position: relative;
  padding-left: 4.45rem;
  padding-right: 1rem;
  padding-top: 0.28rem;
}

.championship-share-bubble {
  position: absolute;
  left: 1.55rem;
  top: 0.55rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2b6fcc 0%, #114892 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(17, 72, 146, 0.38);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.championship-share-bubble:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.06);
  box-shadow: 0 10px 18px rgba(17, 72, 146, 0.46);
}

.championship-share-bubble:focus-visible {
  outline: 2px solid #4e8ef7;
  outline-offset: 2px;
}

.championship-share-bubble-icon {
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.championship-share-bubble-icon svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 430px) {
  .championship-options-grid {
    padding-left: 0.92rem;
    padding-right: 0.92rem;
  }

  .championship-quick-action {
    min-height: 3rem;
    padding: 0.42rem 0.52rem;
    gap: 0.36rem;
  }

  .championship-quick-actions-inline .championship-quick-action {
    width: 100%;
  }

  .championship-title-wrap {
    padding-left: 4.2rem;
    padding-right: 0.9rem;
    padding-top: 0.35rem;
  }

  .championship-share-bubble {
    left: 1.2rem;
    top: 0.62rem;
    width: 2.35rem;
    height: 2.35rem;
  }

  .championship-quick-action .championship-quick-action-icon svg {
    width: 16px;
    height: 16px;
  }

  .championship-quick-action small {
    font-size: 0.82rem;
  }
}

.page-tournaments-streaming-all {
  background:
    radial-gradient(circle at top left, rgba(214, 33, 39, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f7fb 0%, #edf1f6 100%);
}

.streaming-all-shell {
  display: grid;
  gap: 1rem;
}

.streaming-all-player-card {
  background: linear-gradient(160deg, #111827 0%, #1f2937 100%);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.streaming-all-player-head {
  padding: 1.15rem 1.2rem 0.95rem;
  color: #ffffff;
}

.streaming-all-player-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.streaming-all-player-title {
  margin-top: 0.35rem;
  font-size: 1.3rem;
  line-height: 1.15;
}

.streaming-all-player-meta {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.2;
}

.streaming-all-player-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
}

.streaming-all-player-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.streaming-all-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.streaming-all-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.streaming-all-tab {
  border: 1px solid rgba(214, 33, 39, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: #d62127;
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

.streaming-all-tab span {
  color: inherit !important;
}

.streaming-all-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(148, 163, 184, 0.16);
}

.streaming-all-tab.is-active {
  background: linear-gradient(145deg, #d62127 0%, #9f1116 100%);
  border-color: rgba(214, 33, 39, 0.7);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(214, 33, 39, 0.22);
}

.streaming-all-mat-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 33, 39, 0.12);
  border-radius: 1.1rem;
  padding: 1rem;
  box-shadow: 0 12px 26px rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(6px);
}

.streaming-all-mat-title {
  margin-bottom: 0.8rem;
  color: #d62127;
  font-size: 1.05rem;
  line-height: 1.15;
}

.streaming-all-mat-title span {
  color: inherit !important;
}

.streaming-all-session-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.streaming-all-session-card {
  padding: 0.85rem;
  border: 1px solid rgba(214, 33, 39, 0.12);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.streaming-all-session-title {
  margin-bottom: 0.7rem;
  color: #d62127;
  font-size: 0.96rem;
  line-height: 1.15;
}

.streaming-all-session-title span {
  color: inherit !important;
}

.streaming-all-camera-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.streaming-all-camera-button {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 0.95rem;
  padding: 0.82rem 0.95rem;
  text-align: left;
  color: #0f172a;
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.1);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.streaming-all-camera-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(148, 163, 184, 0.16);
  border-color: rgba(214, 33, 39, 0.34);
}

.streaming-all-camera-button.is-active {
  background: linear-gradient(145deg, #d62127 0%, #9f1116 100%);
  border-color: rgba(214, 33, 39, 0.72);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(214, 33, 39, 0.24);
}

.streaming-all-camera-name {
  font-size: 1rem;
  line-height: 1.15;
}

.streaming-all-camera-meta {
  font-size: 0.86rem;
  line-height: 1.2;
  color: rgba(15, 23, 42, 0.68);
}

.streaming-all-camera-button.is-active .streaming-all-camera-meta {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 992px) {
  .streaming-all-shell {
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.85fr);
    align-items: start;
  }

  .streaming-all-sidebar {
    position: sticky;
    top: 5.8rem;
  }
}

@media (max-width: 768px) {
  .streaming-all-player-head {
    padding: 0.95rem 0.95rem 0.8rem;
  }

  .streaming-all-player-title {
    font-size: 1.08rem;
  }

  .streaming-all-player-meta {
    font-size: 0.86rem;
  }

  .streaming-all-mat-card {
    padding: 0.88rem;
  }

  .streaming-all-session-card {
    padding: 0.78rem;
  }

  .streaming-all-camera-button {
    padding: 0.78rem 0.82rem;
  }
}


/* GRAFICAS-ESTILO */
#stats_distributions .stats-distribution-card {
  overflow: hidden;
  min-height: 100%;
}

#stats_distributions .stats-distribution-card .card-header {
  padding: 0.55rem 0.85rem;
  min-height: 44px;
}

#stats_distributions .stats-distribution-card .card-header .fw-bold {
  line-height: 1.15;
}

#stats_distributions .stats-distribution-body {
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1rem 1.15rem;
  min-height: 360px;
}

#stats_distributions .stats-chart-layout {
  display: grid;
  gap: 1rem;
}

#stats_distributions .stats-chart-layout-circular {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

#stats_distributions .stats-chart-layout-linear {
  grid-template-columns: minmax(0, 1fr);
}

#stats_distributions .stats-chart-box {
  position: relative;
  width: 100%;
  height: var(--stats-chart-height, 280px);
  min-height: 220px;
  min-width: 0;
  margin-bottom: 0;
}

#stats_distributions .stats-chart-canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block;
}

#stats_distributions .stats-chart-details {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

#stats_distributions .stats-chart-legend {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

#stats_distributions .stats-chart-support-scroll {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

#stats_distributions .stats-chart-support-scroll::-webkit-scrollbar {
  width: 8px;
}

#stats_distributions .stats-chart-support-scroll::-webkit-scrollbar-thumb {
  background: rgba(73, 80, 87, 0.28);
  border-radius: 999px;
}

#stats_distributions .stats-chart-support-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

#stats_distributions .stats-chart-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

#stats_distributions .stats-chart-legend-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 auto;
}

#stats_distributions .stats-chart-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 12px;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

#stats_distributions .stats-chart-legend-label {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#stats_distributions .stats-chart-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

#stats_distributions .stats-chart-detail-label {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#stats_distributions .stats-chart-detail-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#stats_distributions .stats-chart-legend-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#stats_distributions .stats-chart-detail-value,
#stats_distributions .stats-chart-detail-percent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

#stats_distributions .stats-chart-detail-value {
  background: rgba(225, 6, 0, 0.12);
  color: #b30000;
}

#stats_distributions .stats-chart-detail-percent {
  background: rgba(73, 80, 87, 0.1);
  color: #495057;
}

@media (max-width: 576px) {
  #stats_distributions .stats-distribution-card .card-header {
    padding: 0.5rem 0.75rem;
  }

  #stats_distributions .stats-distribution-body {
    padding: 0.9rem 0.9rem 1rem;
    min-height: 320px;
  }

  #stats_distributions .stats-chart-legend-row,
  #stats_distributions .stats-chart-detail-row {
    align-items: flex-start;
    flex-direction: column;
  }

  #stats_distributions .stats-chart-legend-main {
    width: 100%;
  }

  #stats_distributions .stats-chart-legend-meta,
  #stats_distributions .stats-chart-detail-meta {
    width: 100%;
    justify-content: flex-start;
  }

  #stats_distributions .stats-chart-support-scroll {
    max-height: 360px;
  }
}

@media (min-width: 992px) {
  #stats_distributions .stats-distribution-body {
    min-height: 420px;
  }

  #stats_distributions .stats-chart-layout-circular {
    grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    gap: 1.25rem;
  }

  #stats_distributions .stats-chart-layout-circular .stats-chart-box {
    min-height: 340px;
  }

  #stats_distributions .stats-chart-layout-linear {
    grid-template-columns: minmax(320px, 44%) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  #stats_distributions .stats-chart-layout-linear .stats-chart-box {
    min-height: 340px;
  }
}

.graficas-client-page {
  padding-top: 50px;
  padding-bottom: 120px;
}

.stats-distribution-scope .stats-distribution-card {
  overflow: hidden;
  min-height: 100%;
}

.stats-distribution-scope .stats-distribution-card .card-header {
  padding: 0.55rem 0.85rem;
  min-height: 44px;
}

.stats-distribution-scope .stats-distribution-card .card-header .fw-bold {
  line-height: 1.15;
}

.stats-distribution-scope .stats-distribution-body {
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1rem 1.15rem;
  min-height: 360px;
}

.stats-distribution-scope .stats-chart-layout {
  display: grid;
  gap: 1rem;
}

.stats-distribution-scope .stats-chart-layout-circular {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.stats-distribution-scope .stats-chart-layout-linear {
  grid-template-columns: minmax(0, 1fr);
}

.stats-distribution-scope .stats-chart-box {
  position: relative;
  width: 100%;
  height: var(--stats-chart-height, 280px);
  min-height: 220px;
  min-width: 0;
  margin-bottom: 0;
}

.stats-distribution-scope .stats-chart-canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block;
}

.stats-distribution-scope .stats-chart-details {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.stats-distribution-scope .stats-chart-legend {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.stats-distribution-scope .stats-chart-support-scroll {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.stats-distribution-scope .stats-chart-support-scroll::-webkit-scrollbar {
  width: 8px;
}

.stats-distribution-scope .stats-chart-support-scroll::-webkit-scrollbar-thumb {
  background: rgba(73, 80, 87, 0.28);
  border-radius: 999px;
}

.stats-distribution-scope .stats-chart-support-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

.stats-distribution-scope .stats-chart-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.stats-distribution-scope .stats-chart-legend-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 auto;
}

.stats-distribution-scope .stats-chart-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 12px;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.stats-distribution-scope .stats-chart-legend-label {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.stats-distribution-scope .stats-chart-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.stats-distribution-scope .stats-chart-detail-label {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.stats-distribution-scope .stats-chart-detail-meta,
.stats-distribution-scope .stats-chart-legend-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stats-distribution-scope .stats-chart-detail-value,
.stats-distribution-scope .stats-chart-detail-percent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.stats-distribution-scope .stats-chart-detail-value {
  background: rgba(225, 6, 0, 0.12);
  color: #b30000;
}

.stats-distribution-scope .stats-chart-detail-percent {
  background: rgba(73, 80, 87, 0.1);
  color: #495057;
}

@media (max-width: 576px) {
  .stats-distribution-scope .stats-distribution-card .card-header {
    padding: 0.5rem 0.75rem;
  }

  .stats-distribution-scope .stats-distribution-body {
    padding: 0.9rem 0.9rem 1rem;
    min-height: 320px;
  }

  .stats-distribution-scope .stats-chart-legend-row,
  .stats-distribution-scope .stats-chart-detail-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-distribution-scope .stats-chart-legend-main {
    width: 100%;
  }

  .stats-distribution-scope .stats-chart-legend-meta,
  .stats-distribution-scope .stats-chart-detail-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .stats-distribution-scope .stats-chart-support-scroll {
    max-height: 360px;
  }
}

@media (min-width: 992px) {
  .stats-distribution-scope .stats-distribution-body {
    min-height: 420px;
  }

  .stats-distribution-scope .stats-chart-layout-circular {
    grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    gap: 1.25rem;
  }

  .stats-distribution-scope .stats-chart-layout-circular .stats-chart-box {
    min-height: 340px;
  }

  .stats-distribution-scope .stats-chart-layout-linear {
    grid-template-columns: minmax(320px, 44%) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .stats-distribution-scope .stats-chart-layout-linear .stats-chart-box {
    min-height: 340px;
  }
}

.chart-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 35px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .06);
  transition: .3s ease;
}

.chart-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .08);
}

.chart-wrapper h2 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.chart-wrapper h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 3px;
  background: #e10600;
  margin: 10px auto 0;
  border-radius: 3px;
}

/* GRAFICAS-ESTILO */
