/* slick slider code for img  */
.create-rumble-box-left .slick-slider {
  height: 100%;
}

.create-rumble-box-left .slick-list {
  height: 100%;
}

.create-rumble-box-left .slick-track {
  height: 100%;
}

.create-rumble-box-left .slick-slide div {
  height: 100%;
}

.create-rumble-box-left .slick-prev {
  left: 5px;
  z-index: 1;
}

.create-rumble-box-left .slick-next {
  right: 5px;
}

.user-profile-first-container {
  display: flex;
}

.user-profile-page,
.profile-main-section {
  /* border: 1px solid red; */  /* DEBUG: rimosso bordo rosso */
  border-radius: 10px;
  /* padding: 10px; */          /* TEMP: disabilitato per test ProfileHeader */
  background-color: #fff;
}

.profile-main-section .user-head-section {
  /* margin: -10px -10px 0 -10px; */ /* Rimosso: non più necessario senza padding */
  margin: 0;
  padding: 0;
}

.user-profile-img-col {
  width: 30%;
  height: 318px;
  overflow: hidden;
}

.user-profile-img-col img {
  height: 100%;
  width: -webkit-fill-available;
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.user-profile-details-col {
  width: 70%;
  /* padding: 20px 0px; */
  margin-right: 20px;
}

.user-profile-details-container {
  display: flex;
  /* margin-top: 10px; */
}

.user-profile-details-left-col {
  width: 50%;
  padding-left: 20px;
  padding-top: 20px;
  border-right: 1px solid;
}

.user-profile-details-right-col {
  width: 50%;
  padding-left: 20px;
  padding-top: 20px;
}

.user-profile-details-left-col,
.user-profile-details-right-col {
  background-color: rgb(243, 243, 243);
  border: 1px solid #c4c4c4;
}

.usertopname {
  /* color: black; */
  font-size: 43px;
  /* font-family: "Revive80Outline"; */
  font-family: "Revive80WideOutline";
  font-weight: bold;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.05);
  border-top-right-radius: 5px;
  color: #fff;
  padding-left: 20px;
  /* text-align: center; */
}
.user-profile-text .user-username {
  font-size: 43px;
  font-family: "Revive80WideOutline";
  font-weight: bold;
  color: #fff;
}
.user-profile-text {
  background-color: rgba(255, 255, 255, 0.05);
  border-top-right-radius: 5px;
}

.userprofilename {
  color: #3e4958;
  font-size: 18px;
  font-family: "DINLight";
  margin: 0;
  margin-bottom: 10px;
}

.userprofilename span,
.tabs-list .tab-btn span {
  font-family: "DINRegular";
  font-size: 20px;
  padding-left: 2px;
}

.username {
  color: #3e4958;
  font-size: 18px;
  font-family: "DINLight";
  margin: 0;
  margin-bottom: 10px;
}

.username span {
  font-family: "DINRegular";
}

.useremail {
  color: #3e4958;
  font-size: 18px;
  font-family: "DINLight";
  margin: 0;
  margin-bottom: 10px;
}

.useremail span {
  font-family: "DINRegular";
}

.userphone {
  color: #3e4958;
  font-size: 18px;
  font-family: "DINLight";
  margin: 0;
  margin-bottom: 10px;
}

.userphone span {
  font-family: "DINRegular";
}

.userplan {
  color: #3e4958;
  font-size: 18px;
  font-family: "DINLight";
  margin: 0;
  margin-bottom: 10px;
}

.userplan span {
  font-family: "DINRegular";
}

.usersubscription {
  color: #3e4958;
  font-size: 18px;
  font-family: "DINLight";
  margin: 0;
  margin-bottom: 10px;
}

.usersubscription span {
  font-family: "DINRegular";
}

.userinvoice {
  color: #3e4958;
  font-size: 18px;
  font-family: "DINLight";
  margin: 0;
  margin-bottom: 10px;
}

.userinvoice span {
  font-family: "DINRegular";
}

.rumble-you-created-container {
  margin-top: 165px;
  padding-right: 24px;
}

.rumble-you-created-head-container {
  width: 100%;
  display: flex;
  align-items: center;
}

.rumble-you-created-head-left-col {
  width: 75%;
}

.rumble-you-created-head-right-col {
  width: 25%;
  display: flex;
}

.rumble-you-created-head-left-col h3 {
  color: black;
  font-size: 32px;
  font-family: "Revive80";
  margin: 0;
}

.first-filter-icon-col {
  width: 35%;
}

.second-filter-icon-col {
  width: 20%;
}

.third-filter-icon-col {
  width: 30%;
}

.fourth-filter-icon-col {
  width: 15%;
}

.first-filter-icon-col img,
.second-filter-icon-col img,
.third-filter-icon-col img,
.fourth-filter-icon-col img,
.create-rumble-box-right.prf-rmbl-list {
  cursor: pointer;
}

.created-rumble-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.create-list-rumble-box {
  display: flex;
  /* width: 385px; */
  width: 100%;
  box-shadow: 0px 0px 4px 2px #00000021;
  border-radius: 10px;
  /* height: 180px; */
  height: 220px;
}

.create-rumble-box-left {
  width: 40%;
}

.create-rumble-box-right {
  width: 60%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.create-rumble-box-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 0px 0px 10px;
}

.create-rumble-box-title {
  color: #3e4958;
  font-size: 20px;
  font-family: "DINBold";
  margin: 0;
  /* margin-top: 14px; */
}

.create-rumble-orga {
  color: #3e4958;
  font-size: 10px;
  font-family: "DINLight";
  font-style: italic;
  margin: 0;
}

.create-rumble-dur {
  color: #3e4958;
  font-size: 12px;
  font-family: "DINLight";
  margin: 0;
  margin-top: 10px;
}

.create-rumble-dur span {
  font-family: "DINRegular";
}

.create-rumble-start {
  color: #3e4958;
  font-size: 12px;
  font-family: "DINLight";
  font-style: italic;
  margin: 0;
}

.create-rumble-mood {
  color: #3e4958;
  font-size: 12px;
  font-family: "DINLight";
  margin: 0;
}

.create-rumble-mood span {
  font-family: "DINRegular";
}

.create-rumble-prize {
  color: #3e4958;
  font-size: 12px;
  font-family: "DINLight";
  margin: 0;
}

.create-rumble-prize span {
  font-family: "DINRegular";
}

.create-rumble-box-btn {
  display: flex;
  /* justify-content: space-between; */
  justify-content: flex-end;
  align-items: center;
  margin-top: 15px;
}

.create-rumble-avail {
  width: 48%;
  color: #191a23;
  font-size: 10px;
  font-family: "DINBold";
  background-color: #b9ff66;
  border: 2px solid #88e619;
  border-radius: 5px;
}

.create-rumble-join-btn {
  width: 48%;
  color: #191a23;
  font-size: 10px;
  font-family: "DINBold";
  background-color: #b9ff66;
  border: 2px solid #88e619;
  border-radius: 5px;
}

.edit-rumble-btn {
  /* width: 48%; */
  color: #fff;
  font-size: 14px;
  font-family: "DINBold";
  background-color: #f5484d;
  border: 2px solid #f5484d;
  border-radius: 5px;
}

.edit-profile-btn {
  color: #fff;
  font-size: 14px;
  font-family: "DINBold";
  background-color: #f5484d;
  border: 2px solid #f5484d;
  border-radius: 5px;
  /* width: 50vh; */
  /* padding: 5px; */
}

.created-rumbles-all-btn-container {
  margin-top: 50px;
  text-align: center;
}

.created-rumbles-all-btn-container button {
  color: #f5484d;
  font-size: 26px;
  font-family: "Revive80Outline";
  background-color: transparent;
  border: 0;
}

.rumble-you-involved-container {
  margin-top: 165px;
  /* margin-bottom: 130px; */
  padding-right: 24px;
}

.lets-create-new-rum-container {
  margin-top: 250px;
  padding: 0 130px;
}

.lets-create-new-rum-container h3 {
  color: black;
  font-size: 32px;
  font-family: "Revive80";
  margin: 0;
  text-align: center;
}

.lets-creat-rum-sub-title {
  color: black;
  font-size: 24px;
  font-family: "DINRegular";
  margin: 0;
  text-align: center;
  margin-top: 65px;
}

.lets-creat-rum-content {
  color: black;
  font-size: 18px;
  font-family: "DINLight";
  margin: 0;
  text-align: center;
  margin-top: 35px;
}

.user-profile-page .profile-page-tabs {
  padding: 0px;
  border: 1px solid #c4c4c4;
}

.user-profile-page .tabs-list {
  width: -webkit-fill-available;
}

.user-profile-page .user-tab-section {
  border: 1px solid #c4c4c4;
}

.user-profile-page .tabs-list button {
  border-right: 1px solid #c4c4c4;
}

.tab-search-bar .MuiOutlinedInput-notchedOutline {
  border: 0px;
}

.MuiIconButton-sizeMedium:hover {
  background-color: rgb(61 61 61) !important;
}

.user-profile-page .MuiInputBase-inputSizeSmall {
  padding: 11.5px 14px;
}

.user-profile-page .MuiInputBase-inputSizeSmall:focus {
  border: 0px;
}

.dark-mode .user-profile-details-left-col,
.dark-mode .user-profile-details-right-col,
.dark-mode .user-profile-page .tabs-list button,
.dark-mode .tabs-for-mobile .MuiInputBase-sizeLarge {
  background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .user-profile-page,
.dark-mode-active .profile-main-section,
.dark-mode .profile-page-tabs.MuiBox-root {
  background-color: rgb(33, 37, 41);
}

.dark-mode .user-profile-details-left-col,
.dark-mode .user-profile-details-right-col,
.dark-mode .user-profile-page,
.dark-mode-active .profile-main-section,
.dark-mode .user-profile-page .tabs-list button,
.dark-mode .user-profile-page .user-tab-section {
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .user-profile-page .profile-page-tabs,
.dark-mode .user-profile-page .tabs-list button {
  border-color: #202020;
}

.dark-mode .tabs-list .tab-btn span {
  color: #fff;
}

.dark-mode .tabs-list .tab-btn span.MuiTypography-root {
  color: #f5484d;
}

.btnViolate {
  background-color: #9747ff;
  font-family: "DINBold" !important;
  border-radius: 10px;
  color: #fff;
}

.pln-btn-group button {
  border-color: #9747ff;
  color: #9747ff;
  font-family: "DINBold";
  border-radius: 10px;
}

.pln-btn-group button:hover {
  background-color: #9747ff;
  color: #fff !important;
  border-color: #9747ff;
}

.MuiTabs-indicator {
  border-bottom: 3px solid #f5484d !important;
}

.tabs-for-mobile .profile-page-tabs p,
.tabs-for-mobile .profile-page-tabs p span {
  font-family: "DINRegular";
  font-size: 20px;
  text-align: center;
}

.dark-mode .tabs-for-mobile .profile-page-tabs p,
.tabs-for-mobile .profile-page-tabs p span {
  color: #fff;
}

.mobile-tab-btn {
  border: 1px solid #c4c4c4;
}

.dark-mode .mobile-tab-btn {
  border: 1px solid #202020;
}

.mobile-tab-search {
  background-color: rgb(245, 245, 245) !important;
}

.dark-mode .mobile-tab-search {
  background-color: rgb(33, 37, 41) !important;
}

.tabs-for-mobile .MuiIconButton-root.MuiIconButton-sizeMedium {
  padding-bottom: 20px;
  border-left: 1px solid #202020;
}

.dark-mode-active #basic-nav-dropdown.dropdown-toggle::after {
  color: #fff;
}

button.btn.btn-outline-danger.logout-btn-profile {
  padding: 3px 10px;
  border-color: #f5484d;
  color: #f5484d;
  font-family: "DINBold";
  font-size: 14px;
}

button.btn-gym-image.btn.btn-outline-primary {
  padding: 3px 10px;
  border-color: #9747ff;
  color: #9747ff;
  font-family: "DINBold";
  font-size: 14px;
}

button.btn.btn-outline-danger.logout-btn-profile:hover,
button.btn-gym-image.btn.btn-outline-primary:hover {
  color: #fff;
}
button.btn-gym-image.btn.btn-outline-primary:hover {
  background-color: #9747ff;
}

.userinvoice .Mui-checked + .MuiSwitch-track {
  background-color: #b9ff66 !important;
  opacity: 1 !important;
}
.dark-mode-active p.web-icon,
.dark-mode-active p.instagram-icon {
  /* color: #fff; */
}
.dark-mode-active .custom-tabs.profilepage .MuiTab-root {
  font-size: 18px;
  color: #fff;
}
div.no-data-wrn {
  font-family: "DINLight";
}
.user-profile-tab-section {
  position: sticky;
  top: 0;
  z-index: 50; /* Valore basso ma sufficiente per stare sopra le cards */
  background-color: rgba(0,0,0,0.25);
}
.dark-mode-active .user-profile-tab-section {
  /* background-color: rgba(32, 32, 32, 1); */
  background-color: rgb(33, 37, 41);
}
.user-profile-tab-section {
  background-color: #fff;
}
.dark-mode-active .user-profile-tab-section .age-category-tabs {
  background-color: rgb(33, 37, 41);
}
.user-preference-section.container .pre-first .card,
.user-preference-section.container .pre-second .card {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: "DINRegular";
}
.user-preference-section.container .pre-second .card {
  padding-bottom: 26px;
}

/* Mobile preferences container spacing */
.user-preference-section.container .pre-first,
.user-preference-section.container .pre-second {
  margin-bottom: 0.75rem;
}

/* Remove margin from last container */
.user-preference-section.container .pre-first:last-child,
.user-preference-section.container .pre-second:last-child,
.user-preference-section.container > :last-child {
  margin-bottom: 0;
}

span.lb-text {
  font-family: "DIN Next LT Pro";
}
span.lb-value {
  font-family: "DINLight";
}
.user-preference-section .Mui-checked + .MuiSwitch-track {
  background-color: #b9ff66 !important;
  opacity: 1 !important;
}
.user-preference-section .MuiSwitch-thumb {
  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
  background-color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #cacad8;
}
.plan-btns button {
  border-color: #9747ff;
  color: #9747ff;
}
.plan-btns button:hover {
  background-color: #9747ff;
  color: #fff;
}
.new-user-profile-img.prf-thumb {
  opacity: 30%;
}
.prf-rmbl-list.w-100 .rumble-join-btn.see-results,
.prf-rmbl-list.w-100 .edit-rumble-btn,
.prf-rmbl-list.w-100 .create-rumble-join-btn {
  width: 30% !important;
}
.prf-rmbl-list:not(.w-100) .rumble-join-btn.see-results,
.prf-rmbl-list:not(.w-100) .edit-rumble-btn,
.prf-rmbl-list:not(.w-100) .create-rumble-join-btn {
  width: 50% !important;
}
.user-profile-text.gym {
  height: 140px;
}
.user-profile-header.gym-user .grcode {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgb(61, 61, 61) !important;
  border-top-right-radius: 5px !important;
}
.gym-top-col-social p,
.gym-top-col-social span {
  color: #000;
}
.dark-mode-active .gym-top-col-social p,
.dark-mode-active .gym-top-col-social span {
  color: #f3f3f3;
}
.pre-first.gym-sec {
  padding-left: 14px !important;
}
@media (max-width: 767px) {
  .user-profile-text.gym.public {
    height: 70px;
  }
  .user-profile-text.gym.public div{
    margin-bottom: 0px !important;
  }
  .pre-first.gym-sec {
    padding-left: 0px !important;
  }
  .card-body.gym-map-col {
    padding: 8px !important;
  }
  .user-profile-text.gym {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .user-profile-text .profile-btn-grp {
    margin: 0 auto;
  }
  .user-profile-text .user-username {
    margin: 0 auto !important;
  }
  .user-profile-first-container {
    display: block;
  }
  .user-preference-section.container .pre-second {
    padding: 0 !important;
  }
  .user-preference-section.container .pre-second .card {
    padding-bottom: 0px;
  }
  .user-profile-page {
    padding: 0 10px;
    border: 0px;
  }
  .profile-main-section {
    padding: 0px;
  }

  .user-profile-img-col {
    width: 100%;
    text-align: center;
  }

  .user-profile-img-col img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 10px;
  }

  /* .new-user-profile-img {
    object-fit: contain !important;
  } */
  .user-profile-logo.column {
    height: 315px !important;
  }

  .user-profile-details-col {
    padding-right: 0px;
    width: 100%;
  }

  .usertopname,
  .user-profile-text .user-username {
    font-size: 30px;
    text-align: center !important;
    margin-top: 20px;
    border-top-right-radius: 0px;
  }

  .user-profile-details-container {
    display: block;
    /* margin-top: 10px; */
    /* padding-left: 5px; */
  }

  .user-profile-details-left-col {
    width: 100%;
  }

  .user-profile-details-right-col {
    width: 100%;
    /* margin-left: 20px; */
  }

  .rumble-you-created-container {
    margin-top: 50px;
    padding: 0 10px;
    padding-right: 0px;
  }

  .rumble-you-created-head-container {
    width: 100%;
    display: block;
    align-items: center;
  }

  .rumble-you-created-head-left-col {
    width: 100%;
  }

  .rumble-you-created-head-right-col {
    width: 100%;
    display: flex;
    margin-top: 20px;
  }

  .rumble-you-created-head-left-col h3 {
    font-size: 22px;
    text-align: center;
  }

  .created-rumble-grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .first-filter-icon-col {
    width: 25%;
    text-align: center;
  }

  .second-filter-icon-col {
    width: 25%;
    text-align: center;
  }

  .third-filter-icon-col {
    width: 25%;
    text-align: center;
  }

  .fourth-filter-icon-col {
    width: 25%;
    text-align: center;
  }

  .create-rumble-avail {
    font-size: 8px;
  }

  .create-rumble-join-btn {
    font-size: 8px;
  }

  .created-rumbles-all-btn-container {
    margin-top: 25px;
  }

  .rumble-you-involved-container {
    margin-top: 60px;
    padding: 0 10px;
    padding-right: 0px;
  }

  .lets-create-new-rum-container {
    margin-top: 50px;
    padding: 0 10px;
  }

  .lets-create-new-rum-container h3 {
    font-size: 22px;
  }

  .lets-creat-rum-sub-title {
    font-size: 20px;
    margin-top: 30px;
  }

  .lets-creat-rum-content {
    font-size: 16px;
    margin-top: 25px;
  }
}

/* dt.13.01.2025 start */
@media (min-width: 768px) and (max-width: 991px) {
  .created-rumble-grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 5px 10px 5px 5px;
  }
  .create-rumble-box-left {
    width: 33%;
  }
}
@media (min-width: 992px) and (max-width: 1300px) {
  .created-rumble-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 5px 10px 5px 5px;
  }
}
/* dt.13.01.2025 end */

/* MuiMenu dropdown z-index fix - commentato per usare il default MUI */
/* .MuiMenu-paper {
  z-index: 2510 !important;
} */

/* Gym Favorite Cards Redesign */
.gym-favorite-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gym-favorite-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
}

.gym-card-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

.gym-card-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0.2);
}

.gym-card-info {
  flex: 1;
  min-width: 0; /* Allow text truncation */
}

.gym-card-name {
  color: #fff;
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gym-card-stats {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: #a3a3a3;
  flex-wrap: wrap;
}

.gym-card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gym-card-stats svg {
  font-size: 0.85rem;
}

.gym-card-location {
  font-size: 0.85rem;
  color: #a3a3a3;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gym-card-follow-btn {
  width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.gym-card-follow-btn.following {
  background: transparent;
  border: 1px solid #f5484d;
  color: #f5484d;
}

.gym-card-follow-btn.following:hover {
  background: rgba(245, 72, 77, 0.1);
  transform: scale(1.02);
}

.gym-card-follow-btn:not(.following) {
  background: #f5484d;
  border: none;
  color: white;
}

.gym-card-follow-btn:not(.following):hover {
  background: #e33e43;
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gym-card-stats {
    gap: 8px;
  }
  
  .gym-card-stats span {
    font-size: 0.8rem;
  }
}

/* Dark theme compatibility */
@media (prefers-color-scheme: dark) {
  .gym-favorite-card {
    background-color: rgba(45, 45, 45, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
  }
  
  .gym-favorite-card:hover {
    background-color: rgba(45, 45, 45, 0.8);
  }
}

/* Gym Favorite Cards Horizontal Layout - Same size for mobile and desktop */
.gym-favorite-card-horizontal {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 16px 16px 0; /* No padding on left for image to touch border */
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100px; /* Fixed height matching image height */
  position: relative;
  overflow: hidden;
}

.gym-favorite-card-horizontal:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Fixed size image */
.gym-card-image-horizontal {
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
  min-height: 100px !important;
  max-width: 100px !important;
  max-height: 100px !important;
  border-radius: 10px 0 0 10px; /* Rounded corners only on left side */
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0.2);
  margin-right: 12px;
  margin-left: 0;
}

/* Content section */
.gym-card-content-horizontal {
  flex: 1;
  min-width: 0; /* Allow text truncation */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding-right: 150px; /* Space for follow button */
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Gym name */
.gym-card-name-horizontal {
  color: #fff;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

/* Stats row */
.gym-card-stats-horizontal {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: #a3a3a3;
}

.gym-card-stats-horizontal span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Location row - DEPRECATED: Removed in favor of follow button */
/* .gym-card-location-horizontal {
  font-size: 0.85rem;
  color: #a3a3a3;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gym-card-distance {
  color: #f5484d;
  font-weight: 500;
  margin-left: 4px;
} */

/* Follow button - Rectangle with icon and text */
.gym-card-follow-btn-horizontal {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}

.gym-card-follow-btn-horizontal.following {
  background: transparent;
  border: 1px solid #f5484d;
  color: #f5484d;
}

.gym-card-follow-btn-horizontal.following:hover {
  background: rgba(245, 72, 77, 0.1);
  transform: translateY(-50%) scale(1.05);
}


/* Ensure consistent sizing across all screen sizes */
@media (max-width: 768px) {
  .gym-favorite-card-horizontal {
    height: 100px; /* Altezza fissa come desktop */
  }
  
  .gym-card-stats-horizontal {
    gap: 12px;
  }
  
  .gym-card-content-horizontal {
    padding-right: 16px; /* Normal padding on mobile */
    padding-top: 0.5rem; /* 8px */
    padding-bottom: 0.5rem; /* 8px */
    gap: 0.25rem; /* 4px - gap ridotto per mobile */
  }
  
  /* Mobile: button in normal flow, not absolute */
  .gym-card-follow-btn-horizontal {
    position: static;
    transform: none;
    margin-top: 0;
    width: fit-content;
    align-self: flex-start;
    padding: 3px 7px; /* Dimezzato da 6px 14px */
  }
  
  .gym-card-follow-btn-horizontal.following:hover {
    transform: none;
  }
  
  /* Fix per margini Bootstrap nelle sezioni gym mobile */
  /* Updated November 2025: Added !important, row-gap, and removed child padding */
  .favorite-gyms-section .row,
  .profile-panel-content-container .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    row-gap: 0.5rem !important;
  }

  /* Remove horizontal padding from row children in favourite gyms */
  .favorite-gyms-section .row > *,
  .profile-panel-content-container .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
