/* gametables.css */
.game-table-container {
    margin-top: 20px;
}


#button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
	gap: 2%;
}

        /* CSS for responsive buttons */
        .game-table-button {
			flex-grow: 1;
            margin-bottom: 10px;
			 font-size: 90%;
            /* Add any other styling as needed */
        }
		
		@media screen and (max-width:  500px) {
			
			.game-table-button {
			flex-grow: 1;
            margin-bottom: 10px;
			 font-size: 60%;
            /* Add any other styling as needed */
        }
		}
		
		/* Adjust the left padding of the platform filter */
.dataTables_length {
    padding-right: 30px;
	padding-bottom: 30px; /* Adjust the value as needed */
}
		
/* Default font sizes */
.rank {
    font-size: 16px; /* Example font size for rank column */
}

.title {
    font-size: 14px; /* Example font size for title column */
}

.game-details-title {
   font-size: 14px;
   }

.change {
    font-size: 14px; 
}

.game-details-cell {
	font-size: 14px;
}
/*
.gamepass {
    font-size: 14px; /* Example font size for gamepass column */
}

/* Font sizes for resolutions less than 800px */
@media screen and (max-width: 800px) {
    .rank {
        font-size: 14px;
    }

    .title {
        font-size: 12px;
    }

    .change {
        font-size: 12px;

    }
	
	.game-details-title {
   font-size: 12px;
   }
   
   .game-details-cell {
   	font-size: 12px;
	
   }
   
/*
    .gamepass {
        font-size: 12px;
    }*/
}


/* CSS for the title cell */
.title {
    display: flex;
    align-items: center; /* Align items vertically */
}

/* CSS for the title content */
.title-content {
    display: flex;
    align-items: center; /* Align items vertically */
}

/* CSS for the box art */
.box-art {
    max-width: 75px;
    vertical-align: middle;
    margin-right: 10px; /* Adjust margin as needed */
}

@media screen and (max-width: 500px) {
	
	.box-art {
    max-width: 60px;
    vertical-align: middle;
    margin-right: 10px; /* Adjust margin as needed */
}
}

/* CSS for the title text */
.title-content span {
    padding-right: 10px; /* Adjust padding as needed */
}

/* CSS for the change and gamepass cells */
.change,
.gamepass {
    white-space: nowrap; /* Prevent text from wrapping */
}

/* CSS to center the Gamepass logo */
.gamepass img {
    display: block; /* Ensure the image is a block element */
    margin: 0 auto; /* Center the image horizontally */
}


.positive-number {
    color: darkgreen;
}

.negative-number {
    color: red;
}

.positive-number-white-text {
    color: white;
}

.negative-number-white-text {
    color: white;
}

.center {
    text-align: left;
}

/* game-tables.css */
.game-table-container {
    margin-top: 20px;
}

/* Set the width of the tables to 100% */
#standard-charts,
#top-free-games-table,
#top-paid-games-table,
#best-rated-games-table,
#phil-tracker

 {
    width: 100% !important;
}

/* CSS to change header font size */
#standard-charts th,
#top-free-games-table th,
#top-paid-games-table th,
#best-rated-games-table th,
#phil-tracker th {
    font-size: 14px; /* Change the font size to your desired value */
	text-align: left;
}

@media screen and (max-width: 768px) {
  #phil-tracker th {
    font-size: 13px;
  }
}

@media screen and (max-width: 550px) {
  #phil-tracker th {
    font-size: 12px;
  }
}

@media screen and (max-width: 400px) {
  #phil-tracker th {
    font-size: 11px;
  }
}

#phil-tracker th {
font-size: 14px; /* Change the font size to your desired value */}

/* CSS for the game details table */
#game-details-table {
    width: 100%;
   border-collapse: collapse;
    /*  margin-top: 20px; */
}

#game-details-table th,
#game-details-table td {
   border: 1px solid #ddd;
   /* padding: 8px; */
    text-align: left; 
}

#game-details-table th {
    background-color: #f2f2f2;
}

#game-details-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#game-details-table tbody tr:hover {
    background-color: #ddd;
}

/* CSS for responsive design */
@media screen and (max-width: 500px) {
    #game-details-table {
        font-size: 12px; /* Adjust font size for smaller screens */
    }
    #game-details-table th,
    #game-details-table td {
        padding: 6px; /* Adjust padding for smaller screens */
    }
}

/* Container holding the image and the overlay text */
.image-container-pt {
    position: relative;
    display: inline-block;
  /*  width: 100px; /* Ensure the container width matches the image width */
}

/* Style for the image */
.image-container-pt img {
    width: 100%;
	max-width: 100px; /* Make sure the image takes the full width of the container */
	display: block; /* Prevents any space below the image */
}

/* The overlay that holds the text */
.overlay-pt {
    position: absolute;
    bottom: 0; /* Position it at the bottom of the container */
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent black background */
    padding: 5px; /* Add some padding for aesthetics */
    display: flex; /* Use flexbox for better alignment */
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center vertically */
    overflow: hidden; /* Hide overflow text */
}

/* Text styling */
.image-text-pt {
    color: white; /* White text for good contrast */
    font-size: 12px; /* Adjust the font size as needed */
    line-height: 1.2; /* Tweak the line height for spacing */
    max-height: 2.4em; /* Limit to two lines (line-height * 2) */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Show ellipsis if text is too long */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
	margin-bottom: 0px;
}

.pt-name, 
.pt-time, 
.pt-playtime {
	
	font-size: 0.9em;
	
}

charts-title-content {
	
font-size: 0.9em;
}

.loading-message {
    font-size: 1.2em;
    text-align: center;
    color: #888;
    margin: 20px 0;
}

.gamepass-row {
    background-color: #0e7a0d !important; /* Green background for Game Pass */
    color: #ffffff; /* White text for contrast */
}
