/* Styles for My Games Page */

.games-container {
    padding: 20px; /* Padding for the games container */
}



/* Button Styles */
.card-content {
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between title and buttons */
    align-items: center; /* Center align items vertically */
}

.deregister-game,
.addGoogleCalendarButton {
    padding: 5px 10px; /* Padding for button */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor */
    z-index: 1; /* Ensure buttons are on top */
    margin-left: 10px; /* Space between buttons and title */
}

.deregister-game {
    background-color: var(--court-red) !important; /* Background color for unregister */
}

.addGoogleCalendarButton {
    background-color: var(--court-green) !important; /* Background color for calendar */
}

.deregister-game::before {
    margin-right: 5px; /* Space between emoji and text */
}

.addGoogleCalendarButton::before {
    margin-right: 5px; /* Space between emoji and text */
}

.view-game-button {
    display: inline-block; /* Inline-block for button */
    margin-top: auto; /* Push to the bottom */
    padding: 10px 15px; /* Padding for button */
    background-color: var(--court-red); /* Button background color */
    color: var(--background-gray); /* Button text color */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Font size for the view button */
}

.view-game-button:hover {
    background-color: #005177; /* Button hover color */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .game-card {
        width: calc(100% - 20px); /* Full width on small screens */
    }
}