        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }


	.map-container {
	height: 100%; /* Adjust the height as needed */
	width: 100%; /* Adjust the height as needed */
	margin-top: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	}


.card-container {
    position: relative; /* Required for absolute positioning of pseudo-element */
    display: flex;
    flex-direction: column;
    align-items: center;
    /*margin: 20px;*/
}

.card-container::before {
    content: ""; /* Required for pseudo-element */
    position: absolute; /* Position the pseudo-element */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/tenniscourt.jpg'); /* Replace 'your-image-url.jpg' with the URL of your background image */
    /*background-size: cover;*/
    background-position: center;
    opacity: 0.8; /* Adjust the opacity value as needed */
}

.card:first-child {
    margin-top: 20px; /* Add margin only to the first card */
}

.card:last-child {
    margin-bottom: 20px; /* Add margin only to the first card */
}

.card {
    width: 350px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff; /* Make sure background color is white or transparent */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    /*font-size: 10px;*/
    position: relative; /* Ensure the card content stays on top of pseudo-element */
}

        .card-header {
            display: flex;
            justify-content: space-between;
            background-color: #3498db;
            /*color: #fff;*/
            padding: 5px;
            text-align: center;
        }
		
/* Media query for larger cards on screens wider than 768px */
@media (min-width: 768px) {
    .card-header {
        height: 300px; /* Larger width */
    }
}		
		

.header-column {
    flex: 1; /* Make both columns share the available space equally */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    margin-right: 10px; /* Adjust as needed */
	position: relative;
}

.light-opacity {
background: url('/images/opacity.png');
}

        .card-headername {
            display: flex;
            justify-content: space-between;
            /*background-color: #3498db;*/
            /*color: #fff;*/
            padding: 5px;
            text-align: center;
        }
		
        .level-badge {
            background-color: #e74c3c;
            color: #fff;
            padding: 8px 12px;
            border-radius: 5px;
            font-size: 10px;
            margin-bottom: 10px;
        }

        .io-badge {
            background-color: #e74c3c;
            color: #fff;
            padding: 8px 12px;
            border-radius: 5px;
            font-size: 10px;
            margin-bottom: 10px;
        }
		

        .price-badge {
            background-color: #e74c3c;
            color: #fff;
            padding: 8px 12px;
            border-radius: 5px;
            font-size: 10px;
            margin-bottom: 10px;
        }	
		
        .io-badge-clay {
            background-color: #993300;
        }		

        .io-badge-hard {
            background-color: grey;
        }	


        .io-badge-grass {
            background-color: lightgreen;
        }	

        .io-badge-outdoor {
            background-color: lightblue;
        }
		
        .io-badge-indoor {
            background-color: lightgrey;
        }			
		
        .io-badge-distance {
            background-color: black;
        }	
		


        .price-badge-free {
            background-color: green;
            color: #fff;
            padding: 8px 12px;
            border-radius: 5px;
            font-size: 10px;
            margin-bottom: 10px;
        }	
		
        .round-badge {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .round-badge img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }


/* Media query for larger cards on screens wider than 768px */
@media (min-width: 768px) {
    .round-badge {
        height: 150px; /* Larger width */
	    width: 150px; /* Larger width */
    }
}		


        .card-body {
            padding: 15px;
        }

        .user-details {
            margin-bottom: 10px;
        }

        .user-details strong {
            font-weight: bold;
            margin-right: 5px;
        }

        .user-details span {
            color: #666;
        }

        .badge-container {
            /*display: flex;*/
            justify-content: space-between;
        }
		
		
		
		.floating-icon {
    position: fixed;
    top: 10%;
    right: 0px;
    z-index: 1000; /* Ensure it's above other elements */
}

.floating-icon img {
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
}


		
		
/* Media query for larger cards on screens wider than 768px */
@media (min-width: 768px) {
    .card {
        width: 50%; /* Larger width */
    }
}

        .action-button {
            background-color: #2ecc71;
            color: #fff;
            border: none;
            padding: 8px 12px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .action-button:hover {
            background-color: #27ae60;
        }
		
.price-badge, .io-badge, .level-badge {
    height: 30px; /* Adjust the height as needed */
    display: flex;
    align-items: center; /* Center text vertically within the badge */
    justify-content: center; /* Center text horizontally within the badge */
    text-align: center; /* Center text horizontally within the badge (backup) */
}	


.calendarhour {
  position: absolute;
  bottom: 0;
  right: 0;
 

      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 5px;
      background-color: #ff726b;
      text-align: center;
	  
}


.calendar {
  position: absolute;
  top: 0;
  right: 0;
  
    /*
  width: 40px;
  height: 40px;
  */
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 5px;
      background-color: #ff726b;
      text-align: center;
	  
}

.date {
  text-align: center;
}

.month {
  font-size: 7px;
}

.day-number {
  font-size: 12px;
}

.day-name {
  font-size: 6px;
}
	
.day-hour {
  font-size: 12px;
}
		
		
/* Media query for larger cards on screens wider than 768px */
@media (min-width: 768px) {

.calendarhour {
  position: absolute;
  right: 0;
 

      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 10px;
      background-color: #ff726b;
      text-align: center;
	  
}


.calendar {
  position: absolute;
  top: 0;
  right: 0;
  
  

      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 10px;
      background-color: #ff726b;
      text-align: center;
	  
}

.date {
  text-align: center;
}

.month {
  font-size: 14px;
}

.day-number {
  font-size: 24px;
}

.day-name {
  font-size: 12px;
}
	
.day-hour {
  font-size: 24px;
}




.floating-icon {
    position: fixed;
    top: 20%;
    right: 10%;
    z-index: 1000; /* Ensure it's above other elements */
}

.floating-icon img {
    width: 100px; /* Adjust size as needed */
    height: 100px; /* Adjust size as needed */
}














@media screen and (min-width: 768px) {
    .card-player {
        border-radius: 50%;
        width: 50px;
        height: 50px;
    }
}

/* Add border-radius to badges */
.level-badge, .io-badge, .price-badge {
    border-radius: 15px;
}

}













/* Popup container styles */
.popup-container {
    position: fixed;
    top: 50%; /* Center vertically */
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    width: 80%; /* Adjust the width as needed */
    max-height: 50%; /* Set maximum height to half of the screen height */
    overflow: auto; /* Enable scrolling if content exceeds maximum height */
    z-index: 999; /* Ensure popup is above other content */
    display: none; /* Hide popup by default */
}

/* Popup styles */
.popup {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Close button styles */
#closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
}


/* Define different icon sizes for mobile and desktop */
@media screen and (max-width: 767px) {
    .card-player {
        border-radius: 50%;
        width: 25px;
        height: 25px;
    }
}
		

.nickname {
    display: block; /* Display the nickname as a block-level element */
    text-align: center; /* Center the text horizontally */
    margin-top: 5px; /* Add some top margin to separate it from the image */
    font-size: 14px; /* Adjust the font size as needed */
}



	