/* Logo styles */
.login-logo2 {
  display: block; /* Makes the image a block-level element */
  margin: 0 auto 20px; /* Centers the image and adds margin below */
  max-width: 200px; /* Adjusts the size of the logo */
  height: auto; /* Maintains the aspect ratio of the logo */
}

/* Login form styles */
.login-form,
.registration-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #eaeaea;
  /* Other styles here... */
}

/* Form fields styles */
.login-form .form-group {
  margin-bottom: 25px; /* Consistent spacing below form group */
}

.login-form .form-group label {
  color: #555;
  font-weight: bold;
  margin-bottom: 0px; /* Space between label and input */
  margin-left: 5px;
}

.login-form .form-group input[type="text"],
.login-form .form-group input[type="password"] {
  width: 100%;
  padding: 15px;
  border: 2px solid #cccccc;
  font-size: 16px;
  border-radius: 4px;
}

/* Checkbox styles */
.login-form .form-group input[type="checkbox"] {
  margin-top: 0px; /* Add top margin for spacing above the checkbox */
}

/* Form action styles */
.login-form-actions {
  text-align: center; /* Centers the action links */
  margin-top: 20px; /* Provides space between the button and the links */
}

.login-form-actions a {
  color: darkblue; /* Your existing link color */
  font-size: 16px; /* Your existing font size */
  text-decoration: none; /* Removes underline */
  margin: 0 10px; /* Provides horizontal spacing between links */
}
/* Button styles */
.login-button {
  padding: 15px 160px;
  background-color: darkblue;
  font-size: 18px;
  color: white;
  border: none;
  border-radius: 5px;
  display: block; /* To allow the button to occupy its own line */
  margin: 0 auto 20px; /* Centers the button and provi#des space below */
}

.login-button:hover {
  background-color: steelblue;
}

.register-button {
  padding: 15px 140px;
  background-color: darkblue;
  font-size: 18px;
  color: white;
  border: none;
  border-radius: 5px;
  display: block; /* To allow the button to occupy its own line */
  margin: 0 auto 20px; /* Centers the button and provi#des space below */
  margin-top: 30px; /* Increase space above the button */
  margin-bottom: 20px; /* Increase space below the button if needed */
}

.register-button:hover {
  background-color: steelblue;
}

/* Link styles */
.login-form a {
  color: darkblue;
  font-size: 16px;
  text-decoration: none;
}

.login-form a:hover {
  text-decoration: underline;
}
.login-form-actions a:hover {
  text-decoration: underline; /* Underline on hover for better user experience */
}

/* Styles for the custom navigation link bar */
.custom_navigation_wrapper {
  text-align: center; /* Center the links */
  margin-bottom: 20px; /* Space between the nav bar and the login title */
}

.custom_navigation_links {
  list-style: none; /* Removes bullet points from the list */
  padding: 0; /* Removes padding */
  margin: 0; /* Removes margin */
}

.custom_navigation_links li {
  display: inline-block; /* Displays list items inline-block for better spacing */
  position: relative; /* Needed for the custom underline */
  margin: 0 10px; /* Horizontal margin between items */
}

.custom_navigation_links a {
  text-decoration: none; /* Removes the underline from links */
  color: #000; /* Sets the link color */
  font-weight: bold; /* Makes the link text bold */
  padding-bottom: 5px; /* Padding for custom underline */
}

.custom_navigation_links a::after {
  content: "";
  display: block;
  margin: auto; /* Centers the underline */
  height: 3px; /* Thickness of the underline */
  width: 0px; /* Start with no width and then animate to full width */
  background: transparent; /* Start with a transparent background */
  transition: width 0.5s ease, background-color 0.5s ease;
}

.custom_navigation_links a:hover::after {
  width: 100%; /* Full width on hover */
  background: #000; /* Underline color */
}

/* Continue with your existing CSS for .sub_title_section, .login-form, etc. */
/* Active link styles */
.custom_navigation_links a.active::after {
  width: 100%; /* Full width to show the underline */
  background: #000; /* Underline color */
}

/* Styles for the input fields */
.input-field {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #dcdcdc; /* Light grey border */
  border-radius: 4px; /* Rounded corners */
  font-size: 16px; /* Comfortable reading size */
  color: #333; /* Dark color for text */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle inner shadow for depth */
  transition: border-color 0.3s ease-in-out; /* Smooth transition for focus effect */
  margin-bottom: 10px;
}

.input-field:focus {
  border-color: #5cb85c; /* Highlight color when focused */
  outline: none; /* Removing default focus outline */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 5px rgba(92, 184, 92, 0.5); /* Subtle glow effect */
}

/* General styles for input fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"] {
  width: 100%;
  padding: 15px;
  border: 2px solid #cccccc;
  font-size: 16px;
  border-radius: 4px;
  color: #333; /* Dark color for text entered by the user */
}

/* Placeholder styles */
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="date"]::placeholder {
  color: #c0c0c0; /* Light grey color for placeholders */
  font-style: italic; /* Optional: italic style for placeholders */
}

/* Checkbox and Label Alignment */
.form-group {
  display: flex; /* Utilizes Flexbox layout to align items on the same line */
  align-items: center; /* Centers the items vertically */
  gap: 10px; /* Optional: adds a small space between the checkbox and the label */
}

/* Additional styling for the checkbox itself if needed */
.form-group input[type="checkbox"] {
  margin-top: 1px; /* Resets any top margin for alignment */
  /* Rest of the styles */
}

/* Label styling */
.form-group label {
  margin-bottom: 0; /* Ensures label is aligned without extra bottom margin */
  /* Rest of the styles */
}

/* Message styling */
.message {
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
}

.success {
  background-color: lawngreen; /* Green background for success messages */
}

.error {
  background-color: #f44336; /* Red background for error messages */
}

/*ADMIN MEMBER Panel*/
.game-dashboard {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto; /* Keeps the div centered */
  max-width: 400px; /* Adjust as necessary */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min-content, max-content));
  gap: 20px;
  justify-content: center; /* This will center the grid items within the grid container if there is extra space */
}

.game-dashboard .dashboard-section {
  background: #ffffff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.game-dashboard .dashboard-section a.button,
.game-dashboard .dashboard-section a.logout-button {
  display: inline-block;
  margin: 0 auto; /* This will center the button if the display is block or inline-block */
  text-align: center; /* This centers the text inside the button */
}

.game-dashboard .logout-section {
  grid-column: 1 / -1; /* Makes the logout button span all columns */
  padding: 15px;
  text-align: center; /* Center text for consistency */
}

.game-dashboard .dashboard-section a.logout-button {
  display: block; /* Change to block to fill the container */
  width: 90%; /* Button takes full width of the container */
  margin: 10px 0; /* Add some top and bottom margin */
}

.button,
.logout-button {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  background-color: steelblue;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}
.button:hover,
.logout-button:hover {
  background-color: #366635; /* Darker shade for hover state */
}
.logout-button:hover {
  background-color: #d14032; /* Darker shade for hover state */
}

.logout-button {
  background-color: #f44336;
}

.account-settings h3 {
  text-align: center;
  margin-bottom: 30px;
}

.form-settings {
  width: 100%;
}

.form-section {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.form-section:last-child {
  border-bottom: none;
}

.form-settings h4 {
  margin-bottom: 15px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #666;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="date"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box; /* Include padding and border in the element's total width */
}

/* Setting Form */
/* General Styles for Account Settings Form */
.account-settings-form {
  background-color: #fff; /* White background for the form section */
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.account-settings-form h4 {
  margin-bottom: 20px; /* Spacing below section headings */
}

/* Styles for Individual Form Settings */
.form-setting {
  margin-bottom: 15px; /* Spacing between form groups */
}

.form-setting label {
  display: block; /* Labels take the full width */
  margin-bottom: 5px; /* Spacing below each label */
}

.form-setting input[type="password"],
.form-setting input[type="date"],
.form-setting input[type="email"] {
  width: 100%; /* Input fields take the full width */
  padding: 10px; /* Padding inside input fields */
  border: 1px solid #ddd; /* Border for input fields */
  border-radius: 4px; /* Rounded corners for input fields */
  box-sizing: border-box; /* Ensures border and padding are included in width */
}

/* Button Styles */
.account-settings-form .button {
  background-color: steelblue; /* Green background for buttons */
  color: white; /* White text on buttons */
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%; /* Button takes the full width */
  box-sizing: border-box; /* Ensures border and padding are included in width */
}

.account-settings-form .button:hover {
  background-color: darkblue; /* Darker green on hover */
}

/* Responsive Container for Form */
.contents_setting {
  max-width: 500px;
  margin: 30px auto 0; /* Centered with margin at the top */
}

/* Download Form */
.contents_download {
  max-width: 800px;
  margin: 30px auto 0; /* Centered with margin at the top */
}

.download-settings-form {
  text-align: center;
  background-color: #fff;
  margin-top: 20px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.download-title {
  margin-bottom: 30px;
  font-size: 24px;
  color: #333;
}

.download-option {
  margin-bottom: 20px;
}

.download-option h4 {
  font-size: 20px;
  color: #444;
  margin-bottom: 10px;
}

.download-banner {
  margin: 10px 0;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.download-banner img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.download-banner:hover {
  transform: scale(1.05);
}

.download-description {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
}
.download-option h4 i {
  margin-right: 10px;
  color: steelblue; /* Example color, you can change it */
}

/* Donate Form */
.contents_donate {
  max-width: 800px;
  margin: 30px auto 0;
}

.donation-container {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.donation-header {
  font-size: 26px;
  color: #4a4a4a;
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
}

.donation-username-field,
.donation-amount-field {
  margin-bottom: 20px;
  text-align: center; /* Centering the fields */
}

.donation-username-label,
.donation-amount-label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #333333;
  font-weight: 500;
}

/* Adjusted CSS for username input and amount select */
.contents_donate .donation-container .donation-username-input,
.contents_donate .donation-container .donation-amount-select {
  width: 80%;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  color: #333333;
  text-align: center; /* Center text in input */
}

/* CSS for the confirm button */
.contents_donate .donation-container .confirm-button {
  width: 80%; /* Adjusted button width */
  padding: 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 0 auto; /* Centering the button */
  display: block; /* Ensure it's a block-level element */
  transition: all 0.3s ease;
}

.confirm-button:hover {
  background-color: #0056b3;
}

.qr-code-section {
  margin-top: 25px;
  padding: 20px;
  background-color: #f7f7f7;
  border-radius: 5px;
}

.qr-code-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.game-art-placeholder {
  width: 100%;
  height: 200px;
  background-image: url("../images/banner/download1.jpg");
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #666;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.donation-rate-table {
  margin-top: 20px;
  background-color: #f0f8ff; /* Light blue background */
  border-radius: 10px;
  padding: 15px;
}

.donation-table {
  width: 100%;
  border-collapse: collapse;
}

.donation-table thead {
  background-color: #0066cc; /* Dark blue header */
  color: white;
}

.donation-table th,
.donation-table td {
  padding: 10px;
  border: 1px solid #ddd; /* Light grey border */
  text-align: center;
}

.donation-table tbody tr:nth-child(odd) {
  background-color: #e6f7ff; /* Zebra striping for rows */
}

/* Ranking Form */
.contents_rank {
  max-width: 1000px;
  margin: 30px auto 0; /* Centered with margin at the top */
}

.rank-settings-form {
  text-align: center;
  background-color: #fff;
  margin-top: 20px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.rank-title {
  margin-bottom: 30px;
  font-size: 24px;
  color: #333;
}

.rank-option {
  margin-bottom: 20px;
}

.rank-option h4 {
  font-size: 20px;
  color: #444;
  margin-bottom: 10px;
}

.rank-banner {
  margin: 10px 0;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.rank-banner img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.rank-banner:hover {
  transform: scale(1.05);
}

.rank-description {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
}
.rank-option h4 i {
  margin-right: 10px;
  color: steelblue; /* Example color, you can change it */
}

/* Responsive */
@media (max-width: 1023px) {
  .register-button {
    padding: 15px 70px;
  }
  .login-button {
    padding: 15px 70px;
  }
}




/* Style for birthday select inputs */
.birthday-wrapper {
  display: flex; /* Use flexbox for alignment */
  justify-content: space-between; /* Space out the items evenly */
  gap: 10px; /* Add some space between the items */
}

.birthday-wrapper .select1,
.birthday-wrapper .select2,
.birthday-wrapper .select3 {
  flex: 1; /* Make each select take equal space */
}

.birthday-wrapper select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cccccc;
  font-size: 16px;
  border-radius: 4px;
  color: #333;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease-in-out;
}

.birthday-wrapper select:focus {
  border-color: #5cb85c;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 5px rgba(92, 184, 92, 0.5);
}
