body {
    font-family: 'IBM Plex Mono', 'Amiri Code', monospace;
    margin: 0;
    padding: 0;
    background-color: #222;
    text-align: center;
    display: flex;
    flex-direction: column;
}
html, body {
    height: 100%; /* Ensure the html and body take up the full viewport height */
    margin: 0;
}

a {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Inherits the color from its parent element */
}

a:hover {
    text-decoration: none; /* Ensures no underline on hover */
    color: inherit; /* Ensures the color stays the same on hover */
}

/* General Navbar Styling */
.navbar {
    background: #222;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    flex-wrap: wrap; /* Makes it responsive */
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

/* Hover Effects */
.nav-links a:hover {
    background-color: #333;
    transform: scale(1.05);
}

/* Admin Links */
.admin-link {
    background-color: #007BFF;
}

.admin-link:hover {
    background-color: #0056b3;
}

/* Login and Logout Buttons */
.login {
    background-color: #28a745;
}

.login:hover {
    background-color: #218838;
}

.logout {
    background-color: #dc3545;
}

.logout:hover {
    background-color: #c82333;
}

/* Navbar Responsiveness */
@media (max-width: 1024px) {
    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        padding-right: 20px;
        padding-left: 20px;
    }

    .navbar a {
        font-size: 16px; /* Smaller font size for smaller screens */
        padding: 12px;
        border-left: none;
        border-right: none;
    }

    .logo-container a {
        padding: 5px; /* Reduce padding for the logo */
    }

    .nav-links {
        display: flex;
        flex-direction: column; /* Stack links vertically */
        width: 100%;
    }

    .nav-links a {
        padding: 10px;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        padding-right: 20px;
        padding-left: 20px;
    }

    .navbar a {
        font-size: 14px; /* Even smaller font size */
        padding: 12px 10px;
        border-left: none;
        border-right: none;
    }

    .logo-container a {
        padding: 5px; /* Reduce padding for the logo */
    }

    .nav-links {
        display: flex;
        flex-direction: column; /* Stack links vertically */
        width: 100%;
        margin-top: 10px;
    }

    .nav-links a {
        padding: 10px;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px; /* Reduce navbar padding */
    }

    .navbar a {
        font-size: 12px; /* Smallest font size */
        padding: 10px 8px;
    }

    .logo-container a {
        padding: 5px;
    }

    .nav-links {
        display: flex;
        flex-direction: column; /* Stack links vertically */
        width: 100%;
    }

    .nav-links a {
        padding: 8px;
        font-size: 14px;
        text-align: center;
        width: 100%;
    }
}

/**************************************hero, latest-games, popular-games css*************************/
.hero {
    background: url('images/background.png') center/cover no-repeat;
    color: white;
    padding: 100px 20px;
    margin-bottom: 5px;
}

.search-box {
    background: white;
    padding: 10px;
    border-radius: 25px;
    width: 50%;
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    align-items: center;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.search-box button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #0056b3;
}

.search-results .game {
    background: #333f;
    padding: 10px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    margin: 10px;
}

.search-results .game:hover {
    transform: scale(1.01);
}

.search-results .game img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 10px;
}

.search-results .game h3 {
    font-size: 18px;
    margin: 10px 0;
}

.search-results .game p {
    font-size: 14px;
    margin: 5px 0;
}

/* Content Section */
.content {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    margin: 0;
}

.popular-games {
    width: 100%;
    max-width: 270px; /* 30% smaller than 600px */
    background-color: #2b2b2b;
    border-radius: 5px;
    padding: 10px;
    margin: 0 auto;
  
}

.popphp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 5px;
}

.popular-game {
    background: #212121;
    color: white;
    padding: 7px; /* slightly reduced */
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.popular-game:hover {
    transform: scale(1.02);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    color: white;
}

.popular-game img {
    width: 100%;
    height: 80px; /* smaller than 100px */
    object-fit: contain;
    border-radius: 6px;
}
.popular-game h3 {
    font-size: 14px;
}

.popular-game p {
    font-size: 12px;
}

.latestcontainer {
    flex: 1;
    background-color: #2b2b2b;
    border-radius: 5px;
    padding: 7px;
    margin: 0;
}

.latest-games {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 15px;
}

.latest-game {
    background: #333;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.latest-game img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
}

.latest-game h3 {
    font-size: 14px;
    color: white;
    margin: 5px 0;
}

.latest-game p {
    font-size: 12px;
    color: #ccc;
}

.latest-game:hover {
    transform: scale(1.01);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .latest-games {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .latest-games {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .latest-games {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .content {
        flex-direction: column;
        padding: 10px;
    }

    .popular-games,
    .latestcontainer {
        flex: 1;
        margin: 0;
        padding: 5px;

      
    }
      .popular-games
    {

      min-width: 360px;
      
    }

    .popular-game,
    .latest-game {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Misc */
.pop {
    text-align: center;
    color: azure;
    background-color: #212121;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

.game-page-h2 {
    color: red;
    padding: 10px;
}






/* load more button*/

#load-more-btn {
    background-color: #2b2b2b;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    margin: 20px auto;
    display: block;
    cursor: pointer;
    transition: 0.3s;
}

#load-more-btn:hover {
    background-color: #444;
}

#load-more-btn:disabled {
    background-color: #555;
    cursor: not-allowed;
}



























/* ads hillstopad button*/

.ad-container {
  margin: 10px auto;
  padding: 10px;
  width: 100%;
  max-width: 1028px;
  min-height: 150px; /* or 250px if you're expecting medium rectangle ads */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.ad-container a, .ad-container img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  box-sizing: border-box;
}

/* Laptops/Tablets */
@media screen and (max-width: 1024px) {
  .ad-container {
    max-width: 728px;
    min-height: 115px; /* adjust to ad size */
  }
}

/* Tablets (768px and below) */
@media screen and (max-width: 768px) {
  .ad-container {
    max-width: 468px;
    min-height: 115px;
    padding: 8px;
  }
}

/* Small mobile devices (400px and below) */
@media screen and (max-width: 400px) {
  .ad-container {
    max-width: 320px;
    min-height: 115px;
    padding: 5px;
  }
}

.ad-container iframe {
    width: 100%;
    height: 100% !important; /* Force iframe to take full height */
    object-fit: contain; /* Prevent stretching */
    display: block; /* Ensure it behaves as a block element */
}








.ad-container-native {
  margin: 10px auto;
  padding: 10px;
  width: 100%;
  max-width: 1028px;
  min-height: 150px; /* or 250px if you're expecting medium rectangle ads */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.ad-container-native a, .ad-container-native img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  box-sizing: border-box;
}

/* Laptops/Tablets */
@media screen and (max-width: 1024px) {
  .ad-container-native {
    max-width: 728px;
    min-height: 90px; /* adjust to ad size */
  }
}

/* Tablets (768px and below) */
@media screen and (max-width: 768px) {
  .ad-container-native {
    max-width: 468px;
    min-height: 90px;
    padding: 8px;
  }
}

/* Small mobile devices (400px and below) */
@media screen and (max-width: 400px) {
  .ad-container-native {
    max-width: 320px;
    min-height: 90px;
    padding: 5px;
  }
}

.ad-container-native iframe {
    width: 100%;
    height: 100% !important; /* Force iframe to take full height */
    object-fit: contain; /* Prevent stretching */
    display: block; /* Ensure it behaves as a block element */
}































/*   footer      */
footer {
    background-color: black;
    color: white;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content p {
    margin: 0;
    font-size: 16px;
}























@media (max-width: 900px) {
    .popular-games {
        width: 25%; /* Reduce width but keep it visually balanced */
        margin: 0 ; /* Center it inside the container */
    }

    .popphp {
        justify-content: center; /* Ensure elements align to center */
    }

    .popular-game {
        width: 95%; /* Each game takes full width in one column */
    }
}

@media (max-width: 600px) {
    .popular-games {
        width: 80%; /* Reduce width further but keep it inside the container */
    }
}
@media (max-width: 480px) {
    /* Container layout */
    .content {
        flex-direction: column;
        padding: 5px;
        gap: 10px;
    }

    .popular-games,
    .latestcontainer {
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }

    /* Maintain two columns with tighter spacing */
    .popphp {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 0 4px;
    }

    .popular-game {
        width: 100%;
        padding: 6px;
        font-size: 14px;
    }

    .popular-game img {
        height: 100px;
        object-fit: contain; /* Prevents cropping */
        border-radius: 8px;
    }

    .latest-games {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 10px 4px;
    }

    .latest-game {
        padding: 6px;
    }

    .latest-game img {
        height: 120px;
        object-fit: contain; /* Prevents cropping */
        border-radius: 8px;
    }

    .latest-game h3,
    .popular-game h3 {
        font-size: 13px;
        margin: 5px 0;
    }

    .latest-game p,
    .popular-game p {
        font-size: 11px;
        margin: 3px 0;
    }

    .search-box {
        width: 100%;
        padding: 8px;
        margin: 10px 0;
    }

    .search-box input {
        font-size: 14px;
        padding: 8px;
    }

    .search-box button {
        font-size: 14px;
        padding: 8px 12px;
    }
}




















































/*select button in game library*/
/* Genre filter container */
.genre-filter {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling the select element */
#genre-select {
    font-family: 'IBM Plex Mono', monospace; /* Custom font */
    font-size: 16px;
    padding: 10px;
    background-color: #2c3e50; /* Dark background */
    color: #ecf0f1; /* Light text */
    border: 2px solid #34495e; /* Border color */
    border-radius: 5px;
    width: 200px; /* Width of the dropdown */
    appearance: none; /* Remove default arrow */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition */
}

/* Custom arrow */
#genre-select::after {
    content: '▼';
    font-size: 18px;
    color: #ecf0f1;
    position: absolute;
    right: 20px;
    top: 10px;
}

/* Hover effect */
#genre-select:hover {
    background-color: #34495e; /* Lighter background on hover */
}

/* Focus effect */
#genre-select:focus {
    border-color: #1abc9c; /* Light green border when focused */
    outline: none;
}

/* Style for the dropdown options */
#genre-select option {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 10px;
    border: none;
}

#genre-select option:hover {
    background-color: #34495e;
}


































/* create account button   */
/* Create Account Link */
.create-account-link {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #3498db;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    margin-top: 20px;
    width: auto;
}

.create-account-link:hover {
    background-color: #2980b9;
    transform: translateY(-3px); /* Slight hover lift */
}

.create-account-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.6);
}

/* Create Account Section Styling */
.create-account-section {
    background-color: #f7f9fb;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 50px auto;
}

.create-account-container {
    text-align: center;
}

.create-account-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.create-account-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.input-field {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-color: #3498db;
    outline: none;
}

/* Error and Success Messages */
.error-message,
.success-message {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 15px;
}

.success-message {
    color: #2ecc71;
}

/* Button Style */
.submit-button {
    padding: 12px 25px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-button:hover {
    background-color: #2980b9;
    transform: translateY(-3px); /* Slight hover lift */
}

.submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.6);
}





















/* forgot password  css*/

.forgot-password-link {
    color: #007BFF;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password-link:hover {
    text-decoration: underline;
}


/* Forgot Password Section */
.forgot-password-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f9;
}

.forgot-password-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.forgot-password-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.forgot-password-label {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.forgot-password-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.forgot-password-button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.forgot-password-button:hover {
    background-color: #4cae4c;
}

.error-message, .success-message {
    font-size: 14px;
    color: #e74c3c;
    margin-top: 10px;
}

.success-message {
    color: #2ecc71;
}

.forgot-password-form {
    margin-top: 20px;
}














/* reset password */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */

/* Reset Password Section */
.reset-password-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f9;
}

.reset-password-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Title Styling */
.reset-password-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

/* Error and Success Messages */
.error-message,
.success-message {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
}

/* Form Styling */
.reset-password-form {
    display: flex;
    flex-direction: column;
}

.reset-password-label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    text-align: right;
}

.reset-password-input {
    padding: 12px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

.reset-password-input:focus {
    border-color: #007bff;
}

.reset-password-button {
    padding: 12px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reset-password-button:hover {
    background-color: #0056b3;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .reset-password-container {
        padding: 20px;
        width: 80%;
    }

    .reset-password-title {
        font-size: 24px;
    }
}
 


































































/* contact us page*/
/* Contact Us Page Styles */
.hero {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.contact-form-container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background: #ecf0f1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

label {
    font-size: 14px;
    color: #34495e;
}

input, textarea {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #bdc3c7;
    background-color: white;
    color: #34495e;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button.submit-btn {
    padding: 12px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button.submit-btn:hover {
    background-color: #34495e;
}

























/* admin logging css*/


.h1 {
    text-align: center;
    margin-top: 20px;
    color: #333;
}

.form-container {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.input[type="text"],
.input[type="password"] {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.button[type="submit"]:hover {
    background-color: #45a049;
}













































/* add game page */


/* Container for the form */
.form-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Heading Styling */
.addgamehead {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Form Styling */
.addgameform {
    display: flex;
    flex-direction: column;
}



/* Textarea Styling */
.textarea1 {
    resize: vertical;
    height: 150px;
}

/* Label Styling */
.label1 {
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
}

/* Button Styling */
.add-game-btn {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}



/* Input and Textarea Focus Styling */
.input1:focus, .input2:focus, .input3:focus, .input4:focus, .input5:focus, .input6:focus, .input7:focus, .input8:focus, .input9:focus {
    border-color: #4CAF50;
    background-color: #e9f7e1;
    outline: none;
}



.tags-input-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-top: 10px;
    min-height: 40px;
}

.tags-input-wrapper .tag {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tags-input-wrapper .tag .remove-tag {
    cursor: pointer;
    font-weight: bold;
}

.genre-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.genre-item {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.genre-item:hover {
    background-color: #ddd;
}



.add-game-btn:hover {
    background-color: #45a049;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
        margin: 20px;
    }

    .addgamehead {
        font-size: 20px;
    }

    .input1, .input2, .input3, .input4, .input5, .input6, .input7, .input8, .input9 {
        font-size: 16px;
    }

    .add-game-btn {
        font-size: 14px;
    }
}












































/*login page*/


.login-container {
    width: 100%;
    max-width: 400px;
    background: #2a2a3b;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title */
.login-title {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.login-label {
    text-align: right;
    font-size: 16px;
    margin-bottom: 5px;
}

.login-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    background-color: #1e1e2f;
    color: #fff;
}

.login-input::placeholder {
    color: #bbb;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    justify-content: right;
    margin-bottom: 15px;
}

.remember-me input {
    margin-left: 8px;
}

/* Submit Button */
.login-button {
    width: 100%;
    padding: 12px;
    background: #ff9800;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-button:hover {
    background: #e68900;
}

/* Error Message */
.login-error {
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 15px;
}
.login-section{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

























/*  dark mode css*/
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --button-bg: #007bff;
    --button-text: #ffffff;
}

.dark-mode {
    --bg-color: #121212;
    --text-color: #ffffff;
    --button-bg: #1e90ff;
    --button-text: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

button {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}


































/*   delete game page css       */

.delete-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.delete-title {
    font-size: 22px;
    color: #d9534f;
    margin-bottom: 10px;
}

.delete-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.delete-game-name {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.delete-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.delete-btn, .cancel-btn {
    padding: 8px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.delete-btn {
    background-color: #d9534f;
    color: white;
}

.delete-btn:hover {
    background-color: #c9302c;
}

.cancel-btn {
    background-color: #5bc0de;
    color: white;
    display: inline-block;
    line-height: 1.5;
}

.cancel-btn:hover {
    background-color: #31b0d5;
}














