.container {
    max-width: 1030px;
    margin: auto;
    padding: 20px;
  }

  @media (max-width: 768px) {
    .container {
        padding: 0 !important;
    }
}
  
  .tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .tab-button {
    padding: 10px 20px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
  }
  
  .tab-button.active {
    background-color: #007bff;
    color: white;
  }
  
  
  .search-bar-profile {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
    padding: 0 10px;
  }
  
  .search-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    flex: 1;
  }
  
  .search-button {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    background-color: #007bff;
    color: white;
    cursor: pointer;
  }

  .achivement-block {
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    margin: 0 10px;
    max-width: 300px;
    padding-bottom: 5px;
    height: 300px;
  }


  .sp-award{
    background-color: rgb(255, 255, 255);
    text-align: right;
    padding-right: 10px;
    font-size: 14px;
  }
  .half-ironman-s{
    background-image: linear-gradient(to right, #fffdfd, #ffc8b0);
    color: black;
  }

  .ironman-s{
    background-image: linear-gradient(to right, #fffdfd, #ff915f);
    color: black;
  }
  .trainer-s
  {
    background-image: linear-gradient(to right, #fffdfd, #b4f391);
    color: #592d2d;
  }
  .ultra-runner-s{
    background-image: linear-gradient(to right, #fffdfd, #c5c5c5);
    color: #592d2d;
  }
  .general-runner-s{
    background-image: linear-gradient(to right, #fffdfd, #c5c5c5);
    color: #592d2d;
  }
  .bangla-channel-s{
    background-image: linear-gradient(to right, #fffdfd, #cbeaff);
    color: black;
  }
.badge-container {
  width: 100%;
  margin-right: 10px;
  box-sizing: border-box;
}
  .special-award {
    width: 100%;
}
.follow-btn {
  background-color: #000000;
  color: #fff;
  border: none;
  padding: 2px 15px;
  cursor: pointer !important;
  width: 100%;
  font-size: 12px;
  border-radius: 2px;
}
  .profile-achievements p {
    padding-top: 2px;
    line-height: 10px !important;
    font-size: 13px !important;
}
.profile-best p {
  line-height: 12px !important;
  font-size: 13px !important;
}
  
  .profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 5px;
  }
  .image-parent{
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
  
  .profile-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0;
    padding: 0;
  }
  .profile-link
  {
    font-size: 11px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .blue-shadow-01{
    background-color: #0021b7;
    color: white;
    padding: 0 10px;
    border-radius: 3px;
    margin-right: 5px;
  }
  .orange-shadow-01{
    background-color: #b75800;
    color: white;
    padding: 0 10px;
    border-radius: 3px;
    margin-right: 5px;
        min-width: 80px;
    height: 20px;
  }
  .profile-achievements{
    display: inline-flex;
    font-size: 12px;
    text-align: center;
  }
  .profile-achievements .text-parts{
    margin: 0 5px;
    font-weight: bold;
  }
  .profile-best{
    height: 200px;
  }

  .profile-likes{
    background-color: #edffb2;
    font-size: 13px;
    color: #9b7676;
    height: 53px;
  }
  
  .best-line
  {
    background-color: #d8f8ff;
    color: gray;
    margin-bottom: 10px;
  }

 .best-line-text{
  font-size: 12px;
  color: #007d00;
  text-align: left;
  padding: 0 10px;
  border-bottom: 1px solid #f7f7f7;
  }
  .madel-img-very-small{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }

  .national-line
  {
    background-color: #d8f8ff;
    color: gray;
    margin: 5px 0;
  }
  .international-line
  {
    background-color: #d8daff;
    color: gray;
    margin: 5px 0;
  }
  

  .details-button {
    padding: 5px 15px;
    border: none;
    background-color: #729f88;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .pagination-button {
    padding: 10px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
  }
  
  .pagination-button.active {
    background-color: #007bff;
    color: white;
  }
  
  .badge-ironman {
    background-color: #ffd700;
    color: #000;
}
.badge-bangla-channel {
  background-color: #a7ddfb;
  color: #000;
}
.badge-ultra-runner{
  background-color: #3cf324;
  color: #000;
}
.achievements-list-container
{
  display: flex;
  flex-wrap: wrap;
  min-height: 27px;
  border-radius: 5px;
  padding: 5px 5px;
  margin-bottom: 3px;

}

.badge-p {
    margin-right: 5px;
    font-size: 0.8em;
    padding: 0px 15px;
    border-radius: 12px;
}
.profile-achivement-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}


 .achievement-count {
  background-color: #e9ecef;
  border-radius: 15px;
  padding: 3px 8px;
  font-size: 0.85rem;
  margin: 2px;
  white-space: nowrap;
}
.achievement-count i {
  margin-right: 4px;
}


.profile-activity-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 5px;
}
.card-title{
  font-size: 13px;
  font-weight: 500;
  text-shadow: 1px 1px #9b9b9b;
}
.text-content-parent{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 2px solid #f5f5f5;
}
.card-text-content {
  display: flex; /* Makes label and value align side by side */
  justify-content: flex-start;
  align-items: center;
}

.card-text-content strong {
  margin-right: 0.5rem; /* Adds spacing between label and value */
}

.margin-right-10{
  margin-right: 10px;
}

.margin-left-10{
  margin-left: 10px;
}

.profile-activity-card{
  text-align: left;
  border: 1px solid #e7e7e7;
  padding: 10px;
  background-color: #ffffffee;
  border-radius: 15px;
  box-shadow: 5px 5px 7px #e3e3e3;
}

@media (min-width: 768px) {
  .badge-container {
    width: 50%; /* half width for desktop */
  }
}
  /* Small Screens (Mobile Devices) */
@media (max-width: 768px) {

  .profile-achivement-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .profile-activity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5px;
  }
  

  .achivement-card{
    width: 50%;
  }

  .search-bar-profile{
    width: 100%;
  }
  .container {
    padding: 10px;
  }
  .sp-award {
    padding-right: 10px;
    font-size: 11px;
  }
  .profile-best
  {
    display: none;
  }
  .profile-card .image-container
  {
   
    align-items: center;
    margin-top: 5px;
    padding-left: 10px;
  }
 
}


/* PROFILE LIST */


/* Profile List Styles */
.profile-list {
  margin: 0 auto;
  padding: 20px;
}

/* Profile Card Styles */
.profile-card {
  display: flex;
  flex-direction: column;
  height: auto;
  background-color: white;
  border: 1px solid rgb(209 223 253);
  border-radius: 5px;
  box-sizing: border-box;
}
.custom-rating{
  height: 19px;
    margin: 5px;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 3px;
}
.profile-name-container
{
  display: flex;
}

/* Profile Image */
.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

/* Profile Details */
.profile-name {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.achievement-badge {
  background-color: #198754;
  color: #ffffff;
  font-weight: 600;
  padding: 1px 10px;
  border-radius: 12px;
  margin: 2px;
}

/* Footer Section */
.profile-card-footer {
  margin-top: 6px;
  align-items: center;
  border-top: 1px solid #f7f7f7;
}

.achievement-count-select
{
  width: 50px;
  text-align: center;
  border-radius: 2px;
}

/* Styling for responsive layout */
@media (max-width: 768px) {
  .profile-card {
    height: auto; /* Allow auto height for smaller screens */
  }

  .profile-img {
    width: 80px;
    height: 80px;
  }

  .profile-name {
    font-size: 1.1rem;
  }

  .profile-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* User Profile Badge Color Variants */
.achievement-badge:hover {
  opacity: 0.9;
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.ultra-badge {
  background-color: #6a1b9a; /* purple */
}

.half-ironman-badge {
  background-color: #0277bd; /* blue */
}

.ironman-badge {
  background-color: #c62828; /* red */
}

.bangla-badge {
  background-color: #00897b; /* teal */
}

.trainer-badge {
  background-color: #f9a825; /* amber */
  color: #000;
}
.is-trainer-tracking
{
  position: absolute;
  top: 49px;
  left: -24px;
  background-color: rgb(0, 123, 255);
  color: rgb(255, 255, 255);
  padding: 0px 33px;
  font-size: 12px;
  transform: rotate(-45deg);
  transform-origin: left top;
  border-radius: 0px 0px 5px;
  z-index: 1;
  clip-path: polygon(22px 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%, 0 22px);
}

.pacer-badge {
  background-color: #5d4037; /* brown */
}
.country-background{
  font-size: 10px;
  background-color: #000000;
  color: white !important;
  padding: 0px 5px;
  border-radius: 2px;
  margin-left: 10px;
  height: 19px;
  text-transform: uppercase;
}
.profile-link-input{
 width: 100%;
    padding: 0 10px;
    margin-bottom: 10px;
}

.bg-green-shade{
  background-color: #007900;
    padding: 10px;
    border-radius: 6px;
    color: white;
}

.ddl-checkbox
{
    width: 100%;
    border: 2px solid #e1e1e1;
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 300px;
}

.scrollable-container {
    max-height: 180px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-bottom: 10px;
}

/* Button container */
.button-container {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .scrollable-container {
    max-height: calc(100vh - 448px); /* Less height on smaller screens */
  }
}

/* Container for filters */
.filter-container {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #b7b7b7;
}

/* Header styling */
.filter-header {
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}

/* List styling */
.filter-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* General filter item styling */
.filter-item {
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Specific background colors for different filter types */
.filter-badge {
  background-color: #f0f8ff; /* Light blue for badges */
}

.filter-name {
  background-color: #e6f7e6; /* Light green for name filter */
}

.filter-trainer {
  background-color: #fff4e6; /* Light orange for Is Trainer */
}

/* Label styling */
.filter-label {
  font-weight: bold;
}
.label-nowrap {
  white-space: nowrap;
  color: white; /* Keep the white color styling here */
}

.bg-deepyellow{
  background-color: #e98a1a;
  border-radius: 5px;
  margin-top: 0;
}

/* Individual filter item styles */
.filter-event-year {
  background-color: #f0e68c; /* Light Khaki */
}

.filter-event-name {
  background-color: #add8e6; /* Light Blue */
}

.filter-event-type {
  background-color: #ffa07a; /* Light Salmon */
}

.filter-race-distance {
  background-color: #98fb98; /* Pale Green */
}

.filter-event-status {
  background-color: #d8bfd8; /* Thistle */
}

.filter-organizer {
  background-color: #ffdab9; /* Peach Puff */
}

.filter-country {
  background-color: #ffcccb; /* Light Red */
}

.filter-is-custom {
  background-color: #87cefa; /* Sky Blue */
}

.filter-is-certified {
  background-color: #d3d3d3; /* Light Grey */
}

.pr-history{
  background-color: #6f5236;
  padding: 3px 5px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 10px;
}

.red-container{
    background-color: #ff0000;
    color: white;
    padding: 4px;
    border-radius: 5px;
    margin-bottom: 10px;
  
}
.point-container {
   border-radius: 3px;
    text-align: center;
    width: fit-content;
    background-color: #007bff;
    color: white;
    padding: 5px;
    font-size: 15px;
    line-height: 12px;
    height: 23px;
    margin-top: 2px;
    margin-bottom: 5px;
}
.black-shadow-filter{
  background-color: #000000;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 5px;
    margin-left: 5px;
}