

.dashboard-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.left-section, .right-section {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.left-section {
  flex: 1 1 300px;
  background-color: #ff7300;
}

.right-section {
  flex: 2 1 450px;
  background-color: #2d3748;
}

.section-content {
  margin-bottom: 20px;
  border-bottom: 1px solid #4a5568;
  padding-bottom: 20px;
}

.section-content h1 {
  font-size: 12px;
  text-transform: uppercase;
  color: #a0aec0;
  margin: 0;
}

.section-content h2 {
  font-size: 28px;
  margin: 5px 0 0;
}

.coordinator-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.coordinator-info img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-right: 15px;
}

.coordinator-info h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.coordinator-info p {
  margin: 0;
  font-size: 14px;
  color: #a0aec0;
}

.header1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header1 h2 {
  font-size: 20px;
  margin: 0;
}

.date-range {
  font-size: 14px;
  color: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

thead {
  color: #ffffff;
  border-bottom: 1px solid #4a5568;
}

th, td {
  padding: 6px 5px;
  
}

tbody tr {
  border-bottom: 1px solid #4a5568;
}

tbody td:first-child {
  font-weight: bold;
}

tbody td div {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .dashboard-container {
      flex-direction: column;
  }
}

@media (max-width: 480px) {
  table tbody td {
      font-size: 12px;
      padding: 8px;
  }
  
  .header1 h2 {
      font-size: 18px;
  }
  
  .header1 .date-range {
      font-size: 7px;
  }
}




.card-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
}

.card {
  background-color: #66290002;
  border: 2px solid #f00000;
  border-radius: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 250px;
}
.card:hover {

  perspective: 1000px;
  transform: perspective(10000px) rotateX(0deg);
  transition: all 1s ease-in;

  perspective: 1000px;
  transition: all 1s ease-in;
  transform: perspective(10000px) rotateX(0deg);
  .text {
    opacity: 1;
  }
  & > div {
    opacity: 1;
    transition-delay: 0s;
  }
  .explainer {
    opacity: 0;
  }
  box-shadow: 0 0 30px 10px rgba(196, 104, 0, 0.37);
  background-color: rgba(80, 23, 0, 0.507);
}


.card-image {
  position: relative;
  padding: 20px;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.gradient-background {
  height: 200px;
  background: linear-gradient(to bottom, #ff7e5f, #feb47b);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 50% 100%, 0 95%);
  position: relative;
}

.overlay-text {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 72px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.411);
  mix-blend-mode: overlay;
  z-index: 1;
}

.player-image {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: auto;
  z-index: 2;
}

.player-number {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(to bottom, #ff7e5f, #feb47b);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  z-index: 3;
}

.badge {
  position: absolute;
  width: 76px;
  height: 76px;
  background-color: #1b0d00d7;
  
  border-radius: 50%;
  border: 1px solid #b92d2d00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-badge {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.right-badge {
  top: 0;
  right: 50%;
  transform: translate(50%, -50%);
}

.card-content {
  padding: 20px;
  text-align: center;
}

.player-name {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
}

.player-position {
  font-size: 14px;
  color: #969595;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 20px;
  font-weight: bold;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #777;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .card {
      width: 250px;
      
  }

  .overlay-text {
      font-size: 48px;
  }

  .player-number {
      font-size: 20px;
  }

  .stats {
      grid-template-columns: 1fr;
  }
}@media (max-width: 464px) {
  .card-container {
      width: 100%; /* Adjust as needed */
      margin: 60px ; /* Adjust as needed */
  }
}
/* Flexbox Styles */
.card-row {
  display: flex;
justify-content: space-around;
  flex-wrap: wrap;
}

.card-container {
  .card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Spacing between cards */
}
}


.discount__container{
  background: rgba(255, 235, 205, 0.096);
  border-radius: 1rem;
  padding: 1.5rem 0 1.5rem;
  row-gap: .75rem;
  border: 2px solid #f00000;
}

.discount__data{
  text-align: center;
}

.discount__title{
  color: #ff8800;
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
}
.discount__p{
  font-size: 1rcap;
  margin-bottom: var(--mb-2);
  color: #ffffff;
}

.discount__img{
  width: 100px;
  justify-self: center;
}

@media screen and (min-width: 767px){
  .discount__container{
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: center;
    column-gap: 3rem;
    padding: 3rem 0;
    border-radius: 3rem;
  }
  .discount__img{
    width: 250px;
    order: -1;
  }
  .discount__data{
    padding-right: 6rem;
  }
}

@media screen and (min-width: 992px){
  .discount__container{
    column-gap: 7rem;
  }
}

.button{
  display: inline-block;
  background-color: rgb(0, 0, 0);
  color: var(--title-color);
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover{
  background-color: wheat;
}

.button__icon{
  font-size: 1.25rem;
}

.button--ghost{
  border: 2px solid;
  background-color: transparent;
  border-radius: 3rem;
  padding: .75rem 1.5rem;
}

.button--ghost:hover{
  background: none;
}

.button--link{
  color: black;
}

.button--flex{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}
