.profile-small-img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border: 1px solid #afafaf;
}

.profile-banner {
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #afafaf;
  }

  .runner-thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #636363;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    top: -50px;
    left: 0%;
    border-radius: 50%;
  }

  /* Medals Section */
 

  .medal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .see-more-btn-container {
    margin-top: 10px;
    text-align: center;
  }
  
  .medal-caption {
    font-size: 0.8em;
    margin-top: 5px;
    white-space: normal;
  }

  /* Achievements Grid */
  .achievement-card {
    text-align: center;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    border: 1px solid #c7c7c7;
    overflow: hidden;
    font-size: 13px;
  }
  .achievement-card h5{
    text-align: left;
    font-size: 30px;
    font-weight: 500;
  }
  .achievement-icon{
    text-align: center;
    font-size: 30px;
  }
  .achivement-text{
    text-align: center;
    font-weight: 500;
  }
  .achivement-text-parent{
    background-color: #000000;
    color: white;
    padding: 0 10px;
    height: 86px;
  }
  .achivement-text-parent h5{
    color: white;
    font-family: math;
    font-weight: bold;
    text-align: center;
  }

  /* Personal Bests */
  .personal-best-card {
    background-color: #fff;
    border-left: 4px solid #ffd700;
    padding: 15px;
    margin-bottom: 15px;
  }

  .m-p-0{
    margin: 0;
    padding: 0;
  }
  .medals-section {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* Default to 5 items per row */
    gap:0px; /* Adjust gap between items */
    padding: 0.2rem;
  }

   .medals-section-special {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* Default to 5 items per row */
    gap:0px; /* Adjust gap between items */
    padding: 0.2rem;
    background-color:#630101;
  }
  .expand-collopse-container{
      display: flex;
      justify-content: space-between;
      padding: 0 10px;
      background-color: #eee;
  }
      .medal-item {
        display: inline-block;
        text-align: center;
        margin-right: 10px;
        border: 1px solid #eee;
      }

      .medal-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .medal-caption {
        font-size: 0.8em;
        margin-top: 5px;
        white-space: normal; /* Allow text wrapping */
      }
    
       /* Add card hover effect */
    .card:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Style the cards */
    .card {
      border: 1px solid #ddd;
      border-radius: 8px;
    }

    .banner-part{
      height: 370px;
     }

     .btn-show-more {
      font-size: 12px;
      line-height: 1.25rem;
      font-weight: 700;
      color: #1c1c2e;
      cursor: pointer;
    }   
    .btn-unfollow {
      background-color: gray !important;
    }
    
    .btn-follow {
      padding: 5px 25px;
      font-size: 13px;
      border: 1px solid #ececec !important;
      color: #ffffff;
      background-color: #434aff;
      cursor: pointer;
      width: 160px;
      max-width: 200px;
      border-radius: 5px;
    }
    
    .btn-follow:hover {
      background-color: #0056b3;
    }
    .margin-bottom-10{
      margin-bottom: 10px;
    }
    .margin-10{
      margin: 10px;
    }
    .right
    {
      text-align: right;
    }
    .center{
      text-align: center;
    }
    .flex
    {
      display: flex;
    }
    .form-check {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .form-check-c-01
    {
      margin-left: 10px;
      gap: 2px;
      background-color: #ffee7f;
      padding: 0px 5px 0 5px;
    }
    .width-90px
    {
      width: 90px;
    }
    .width-100
    {
      width: 100% !important;
    }

    .margin-0{
      margin: 0 !important;
    }
    .box-shadow-all
    {    
      box-shadow: 2px 4px 6px 4px #c3c3c3;
    }
    .padding-0{
      padding: 0 !important;
    }
    .margin-0-15{
      margin: 0 15px;
    }
    .img-preview-profile{
      width: 90px;
      height: 90px;
      object-fit: cover;
      border-radius: 50%;
      border: 2px solid #ddd;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .img-preview-banner {
      width: 410px;
      height: 156px;
      object-fit: cover;
      border-radius: 8px;
      border: 2px solid #ddd;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .country-flag-container
    {
      padding-left: 10px;
    }
    .ddl-standard-01{
      width: 50px;
      height: 37px;
      border: 1px solid #636363;
      text-align: center;
      border-radius: 4px;
    }

    .ddl-standard-02{
      width: 50px;
      height: 37px;
      border: 1px solid #636363;
      text-align: right;
      border-radius: 4px;
    }

    .custom-row-1{
      border: 1px solid #e9e9e9;
      padding: 10px;
      margin: 12px 0px;
      border-radius: 5px;
      box-shadow: 2px 1px 2px #dfdfdf;
    }

    .title-01{
      margin: 10px 0px 2px 0;
      font-size: 16px;
      padding: 0;
    }

    .padding-10{
      padding: 10px;
    }
    .filter-black-shadow
    {
          padding: 10px;
    background-color: black;

    }
    .header-modal
    {
      margin-left: 10px;
      font-weight: bold;
      padding-top: 2px;
      color: #6a6a6a;
    }

    .flex-space-betwn{
      width: 100%;
      display: flex;
      justify-content: space-between;    
    }
    .form-select
    {
      border: 2px solid #dddddd;
      width: 180px;
      padding: 7px;
      border-radius: 3px;
      font-size: 17px;
    }
    .form-check-input{
      margin-bottom: 10px !important;
      border: 1px solid #2355ff9e;
    }

    .row-with-border{
      border: 1px solid #eee;
      margin: 10px 0px 10px 0px !important;
      padding: 10px 0 !important;
      border-radius: 5px;
      font-size: 0.8rem;
    }
    .font-size-sm{
      font-size: 0.8rem !important;
    }

  
    .crop-container {
      position: relative;
      max-width: 100%;
      height: 400px;
      background: #333;
      overflow: hidden;
    }
    .dark-background
    {
      background-color: #710c0c;
      padding: 10px;
      border-radius: 10px;
    }
    .create-background
    {
      padding: 10px;
      background-color: gray;
      border-radius: 10px;
    }
    .color-white
    {
      color: white;
    }
    
    .header-bold-02
    {
      margin: 0;
      color: white;
    }
    .display-block{
      display: block;
    }
    .edit-card {
      background-color: white;
      border-radius: 10px;
      padding: 10px;
    }
    .row-mobile
    {
      margin: 0px 0 10px 0px;
    }
    .marked-check-box{
      display: flex;
    background-color: #feff00;
    padding: 0px 5px 0 5px;
    }
    .disabled {
      pointer-events: none; /* Prevent interaction */
      opacity: 0.5;         /* Make it look disabled */
      cursor: not-allowed;  /* Change the cursor to indicate disabled state */
    }
    .browse-btn{
      border: 1px solid #e1e1e1;
      padding: 9px 10px;
      color: #000000;
      font-weight: normal;
      font-size: 12px;
      border-radius: 6px;
    }
  .lbl-normal-thin{
    margin: 10px 0px 0px;
    font-weight: normal;
    color: black;
    font-size: 16px;
    margin:'10px 0 0';
  }
    .image-preview
    {
      width: 300px;
      border: 1px solid #eee;
      padding: 10px;
    }
    .picture-parent-150{
      width: 150px;
      height: 250px;
      overflow: hidden;
    }
    .picture-parent-300{
      width: 300px;
      height: 250px;
      overflow: hidden;
    }
    .medal-selected{
      background-color: #5e89f7 !important;
    }
  /* Extra Small Screens (Very small phones) */
@media (max-width: 480px) {
    .banner-part{
        height: 180px;
    }
    .medal-item {
        display: inline-block;
        text-align: center;
        margin: 0;
        border: 1px solid #eee;
    }
    /* .medals-section {
      grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    } */

    .e-medals-section {
      height: 150px; /* Further reduce height for very small screens */
    }

    .e-medals-container {
        width: 100px; /* Make child divs even smaller */
        height: 150px; /* Adjust height accordingly */
        margin-right: 4px; /* Minimize spacing */
    }
}

@media (max-width: 900px) {
  .banner-part{
      height: 180px;
  }
}

@media (max-width: 767px) {
  .medals-section {
    grid-template-columns: repeat(8, 1fr); /* 5 items per row */
  }
   .medals-section-special {
    grid-template-columns: repeat(8, 1fr); /* 5 items per row */
  }
}

  /* Desktop Styles (min-width: 768px) */
  @media (min-width: 768px) {
    .profile-banner {
      height: 300px;
      border: 1px solid #afafaf;
    }

    .runner-thumbnail {
      width: 120px;
      height: 120px; /* Bigger thumbnail */
      border: 1px solid #636363;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      position: relative;
      top: -50px;
      border-radius: 50%;
    }
  

    .medals-section {
      grid-template-columns: repeat(8, 1fr); /* 8 items per row */
    }
     .medals-section-special {
    grid-template-columns: repeat(8, 1fr); /* 5 items per row */
  }
    
    .medal-item {
      display: block;
      margin-right: 0;
      border: 1px solid #eee;
    }
    .medal-image {
      width: 100px;
      height: 100px; /* Larger medals on desktop */
    }
    

    .achievement-card {
      margin-bottom: 10px; /* Remove spacing between grid items */
    }

    .personal-best-card {
      padding: 20px; /* More spacing */
    }

    .form-group {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .form-group label {
      flex: 1;
      font-weight: bold;
    }
    .form-group input, .form-group select, .form-group textarea {
      flex: 2;
    }
    .edit-card {
      border-radius: 10px;
      padding: 20px;
      background: white;
    }
  }

  /* Color Themes */
  .achievement-card.ironman { background-color: #ffd700; color: #000; }
  .achievement-card.pacer { background-color: #6f42c1; color: #fff; }

  .achievement-card.ironman {
    background-color: #ffd700; /* Gold */
  }
  .achievement-card.ultra {
    background-color: #007bff; /* Blue */
    color: #fff;
  }
  .achievement-card.trainer {
    background-color: #28a745; /* Green */
    color: #fff;
  }

  .w-100 {
    width: 100% !important;
  }
  .w-90{
    width: 90% !important;
  }

:disabled {
  cursor: default;
  background-color: #c5c5c5;
  border: 1px solid #979797 !important;
}
.medal-img-list-small{
    height: 50px;
    width: auto;
    border: 1px solid #c10000;
    object-fit: contain;
    display: inline-block;
    border: 1px solid #c10000;
}
.img-background-listing{
  background-color: #000000;
    padding: 5px;
    border-radius: 5px;
}
.medal-img-list {
  cursor: pointer;
  overflow: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100px;
}

.medal-img-list:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.achivement-count-input{
  width: 39px;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  color: blue;
}

.achivement-list-item{
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  margin-right: 10px;
  padding: 0px 10px;
  width: auto;
  border-radius: 5px;
}

.app-list-item {
  background-color: #eee;
  margin-bottom: 10px;
  margin-right: 10px;
  padding: 5px 10px;
  border-radius: 5px;
}

.running {
  background-color: #ffcc006b !important;
}
.ul-running{
  background-color: #ff880086 !important;
}
.t-running{
  background-color: #001aff50 !important;
}

.swimming {
  background-color: #b9d9f7 !important; /* Dodger Blue for Swimming */
}

.cycling {
  background-color: #b6edb6 !important; /* Lime Green for Cycling */
}

.triathlon {
  background-color: #ff6347 !important; /* Tomato for Triathlon */
}

.adventureRacing {
  background-color: #8b45138f !important; /* Saddle Brown for Adventure Racing */
}

.winterSports {
  background-color: #4682b4 !important; /* Steel Blue for Winter Sports */
}

.obstacelRacing {
  background-color: #8000806e !important; /* Purple for Obstacle Racing */
}

/* Strava */
.category-strava {
  background-color: #ffefe8; /* Strava orange */
  color: white;
  border-radius: 5px;
  padding: 5px;
}

/* Garmin Connect */
.category-garmin-connect {
  background-color: #c2e9ff; /* Garmin blue */
  color: white;
  border-radius: 5px;
  padding: 5px;
}

/* RunKeeper */
.category-runkeeper {
  background-color: #c1d5df; /* RunKeeper blue */
  color: white;
  border-radius: 5px;
  padding: 5px;
}

/* Nike Run Club */
.category-nike-run-club {
  background-color: #a7a7a7; /* Nike black */
  color: #ffffff; /* White text */
  border-radius: 5px;
  padding: 5px;
}

/* MapMyRun */
.category-mapmyrun {
  background-color: #bfdbbf; /* Green */
  color: white;
  border-radius: 5px;
  padding: 5px;
}

/* Garmin Connect IQ */
.category-garmin-connect-iq {
  background-color: #cfd9e2; /* Gray */
  color: white;
  border-radius: 5px;
  padding: 5px;
}

/* Suunto App */
.category-suunto {
  background-color: #d3b9bb; /* Red */
  color: white;
  border-radius: 5px;
  padding: 5px;
}

/* Strava Metro */
.category-strava-metro {
  background-color: #b49b9f; /* Pink */
  color: white;
  border-radius: 5px;
  padding: 5px;
}

/* Polar Flow */
.category-polar-flow {
  background-color: #7f8aa3; /* Polar blue */
  color: white;
  border-radius: 5px;
  padding: 5px;
}

/* Zwift */
.category-zwift {
  background-color: #d6c1b8; /* Zwift orange */
  color: white;
  border-radius: 5px;
  padding: 5px;
}


.trainer{
  background-color: #909ba5;
  margin-left: 3px;
}
.input-container
{
  margin: 5px 0 0 5px;
  padding: 0;
}
.ml{
  margin-left: 0.3rem;
}
.badge-common-style{
  color: black;
  white-space: nowrap;
  margin-top: 5px;
  font-size: 0.8rem;
}
.form-control-sm{
  width: 70px !important;
  height: 30px !important;
  margin-bottom: 0 !important;
}

.c-ddl{
width: 100%;
  height: 34px !important;
  font-size: 1rem;
  padding: 0px 10px;
}
.profile-link-val{
  background-color: #eee;
  padding: 0 10px !important;
  border-radius: 2px;
}

.copy-container{
  background-color: #297b2a;
  border-radius: 5px;
  }
.btn-standard-white-01{
    color: white;
    height: 30px;
    padding: 0 10px;
    font-size: 0.7rem;
    border-radius: 5px;
}
.section-entry
{
      background-color: #f0f2f5;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Medal Image For Event */
.e-medals-section {
  display: flex; /* Lay out child divs horizontally */
  overflow-x: auto; /* Enable horizontal scrolling */
  white-space: nowrap; /* Prevent wrapping of child elements */
  padding: 5px;
  background: #f5f5f5; /* Optional background */
  border: 1px solid #ddd; /* Optional border */
  height: 300px;
  overflow-y: hidden;
}

.e-medals-container {
  flex-shrink: 0; 
  overflow: hidden;
  margin-right: 9px;
  background: #51515b;
  color: white;
  border: 1px solid #a3a3a3;
  width: 150px; 
  height: 280px; 
}

.e-medal-item {
  display: flex;
  flex-direction: column; /* Stack image and details vertically */
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  width: 120px; /* Consistent width */
  flex-shrink: 0; /* Prevent items from shrinking */
}

.e-medal-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.e-medal-item.medal-selected {
  border-color: #0d6efd; /* Highlight border for selected item */
}

.e-medal-image-container {
  width: 100%;
  height: 208px;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  background-color: white;
}
.e-medal-image
{
  width: 100%;
}

.medal-details {
  text-align: center;
}

.medal-details p {
  margin: 0;
  line-height: 1.2;
  font-size: 0.75rem; /* Smaller font for details */
  color: #6c757d; /* Muted text color */
}

.e-image-details {
  font-size: 12px;
  text-align: center;
  padding-left: 10px;
}
.c-white
{
  color: white !important;
}

@media (max-width: 768px) {
  .medal-image {
      max-width: 80px;
      max-height: 80px;
  }

  .e-medal-item {
      width: 100px; /* Smaller width for mobile view */
  }
  .e-image-details
  {
    font-size: 0.6rem;
    text-align: center;
  }
  .e-medal-image{
    height: 150px;
    width: 100%;
  }

  .e-medals-section {
    height: 224px; /* Reduce height for smaller screens */
  }

  .e-medals-container {
      width: 120px; /* Narrower child divs */
      height: 225px; /* Adjust height proportionally */
      margin-right: 6px; /* Reduce spacing between items */
  }

  .e-medal-image-container {
    width: 100%;
    height: 147px;
  
}
}

.black
{
  color: black;
}

.rounded-full
{
  color: black;
  padding: 0 10px;
  border-radius: 10px;
  background-color: #dfd3d3;
  margin-bottom: 5px;
  font-size: 12px;
}

.selected-medal-image
{
  border: 2px solid #eee;
  padding: 10px;
}


.title-with-padding
{
      background: #adadad;
    color: black;
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: 600;
}

.share-facebook
{
      background-color: rgb(24, 119, 242);
    color: white;
    padding: 3px 10px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    border: none;
    font-weight: normal;
}

.collapsable-div
{
  text-align: center;
      cursor: pointer;
    background: rgb(39 39 39);
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}
.change-image-camera{
    font-size: 20px;
    color: white;
    background-color: red;
    padding: 5px;
    border-radius: 5px;
}
.add-more-information-section
{
      background-color: #595987;
    padding: 30px;
    color: white;
    width: 100%;
    border-radius: 7px;
    margin-bottom: 10px;
}

.is-ironman
{
  background-color: #ffe3e3 !important;
  border-top: 6px solid #ff0000 !important;
}

.runner-thumbnail-sm {
      width: 80px;
      height: 80px; /* Bigger thumbnail */
      border: 1px solid #636363;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      border-radius: 50%;
    }