/* styles.css */

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.topbar {
	display: flex;
    flex-direction: row;
    align-items: center;
/*    justify-content: flex-start;*/
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 5px;
    
}
.topbar-item {
    width: 60px; /* Or another value that works for you */
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu_left{
    width: 70px;
    display: flex;
    justify-content: flex-start;
    header-padding-x: 10px;
    header-height: 45px;
   

}

.menu_heading{
    flex-grow: 1;
    font-size: 36px;
    text-align: center; 
    font-family: "Lucida Console";
    font-weight: 700;
    letter-spacing: .01em;
    color: #4CAF50;
    text-shadow: 0 1px #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu_right{
    width: 70px;
    display: flex;
    justify-content: flex-end;
    header-padding-x: 10px;
    header-height: 45px;
   
}

.review-button-container {
    display: none; /* Initially hide the container */
}

@media screen and (orientation: landscape) {
    .review-button-container {
        display: block; /* Display the container only in landscape orientation */
    }
}


.menu-icon {
    font-size: 40px;
    width: 20%;
    cursor: pointer;
    position: relative;
   
}
.user-actions {
    display: flex; /* Use flexbox for user actions */
    width: 20%;
    align-items: center; /* Vertically center user actions */
}
/* Adjust the styles of user action links as needed */
.user-actions a {
    margin-left: 10px; /* Add some spacing between links */
    /* Additional styles for links */
}
.user-actions {
    margin-left: auto; /* Push links to the right */
}

.games-container {
  max-width: 800px;
  margin: auto;
}

.games-table {
  width: 100%;
  max-width: 800px; /* Set a max-width for the container */
  border-collapse: collapse;
}

.games-table col {
}

/* Adjust the font size of Daily Digits */
.daily-digits {
    font-size: 24px; /* Adjust the size as needed */
    color: #4CAF50;
    margin: 0 auto; /* Center horizontally */

     
}



.games-table td {
  padding: 10px;
  text-align: left;
  vertical-align: top; /* Align content to the top of the cell */

}

.games-table img {
  max-width: 100%; /* Set the maximum width to one-third of the screen width */
  height: auto;
  border: 2px solid #ddd; /* Set the border color and width */
  border-radius: 8px;    /* Optional: Add some border-radius for rounded corners */
}





#forgot-password-form,
#login-form,
#registration-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f1f1f1;
    padding: 20px;
    border: 1px solid #ccc;
    width: 300px; 
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center; 
    z-index: 1000;
}

/* Styling for the Profile Icon */
.profile-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: #fff; /* Still the icon color, though fixed if it's an emoji */
    border-radius: 50%; /* Make the border rounded */
    border: 2px solid transparent; /* Default transparent border */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Smooth border color transition */
    user-select: none;
    position: relative; /* Keep this if you plan to add other elements inside later */
}

/* Remove hover effect from background-color to only highlight the border */
.profile-icon:hover {
    background-color: transparent; /* No background change on hover */
    border-color: rgba(255, 255, 255, 0.3); /* Lighter border on hover */
}

/* Red outline for not logged-in state */
.profile-icon:not(.logged-in) {
    border-color: red; /* Red border when not logged in */
}

/* Green outline for logged-in state */
.profile-icon.logged-in {
    border-color: #4CAF50; /* Green border when logged in */
}


/* Styling for the Profile Dropdown Menu - (No changes needed here from previous versions) */
.profile-dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 60px; /* Adjust this to position below the topbar */
    right: 10px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it's on top of other content */
    padding: 5px 0;
    min-width: 80px;
    animation: fadeIn 0.3s ease-in-out;
}

.profile-dropdown-menu a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.profile-dropdown-menu a:hover {
    background-color: #575757;
}

/* Class to show the menu */
.profile-dropdown-menu.show {
    display: block;
}






.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;

}

#forgot-password-form label,
#login-form label,
#registration-form label {
    display: inline-block;
    margin-bottom: 10px;
    width: 40%;
}

#forgot-password-form label,
#login-form input,
#registration-form input {
    display: inline-block; 
    width: 50%;
    padding: 12px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

#forgot-password-form input[type="submit"],
#login-form input[type="submit"],
#registration-form input[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 3px;
    cursor: pointer;
}
#forgot-password-form input[type="submit"]:hover,
#login-form input[type="submit"]:hover,
#registration-form input[type="submit"]:hover {
    background-color: #45a049;
}

.close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}


.logout-form {
    display: inline; /* Ensure the form doesn't create a new line */
    margin-left: 10px; /* Provide some spacing */
}


.logout-form input[type="submit"] {
    background: none;
    border: none;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}





.divider {
    color: #4CAF50;
}

/* Dropdown menu styles */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 3px;
    background-color: #4CAF50;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 10px; /* Added rounded corners */


}

.dropdown-menu button {
    display: block;
    width: 140px; /* Adjusted the width */
    padding: 10px;
    background-color: #4CAF50;
    color: #fff;
    border: 2px solid #000;

    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
	font-size: 150%;
	border-radius: 5px; /* Added rounded corners to the buttons */

}

.dropdown-menu button:hover {
    background-color: #555;
}

.show {
   display: block;

}
