/* Global Style for Body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0d0d0d; /* Dark cyberpunk background */
    color: #eeeeee;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
    padding-top: 80px; /* Account for fixed navbar height */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Form Container Styling */
.form-container {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Heading Styling */
h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #0ff;
    text-shadow: 0 0 10px #0ff;
}

/* Error Message Styling */
.error {
    color: #f00;
    font-size: 0.9em;
    margin-bottom: 15px;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input and Select Styling */
input, select {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #555;
    border-radius: 5px;
    background: #222;
    color: #eee;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    border-color: #0ff;
    outline: none;
}

/* Button Styling */
button {
    padding: 10px 15px;
    font-size: 1em;
    color: #121212;
    background: #0ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #ff0099;
    transform: scale(1.05);
}

/* Paragraph Styling */
p {
    font-size: 0.9em;
    color: #bbb;
}

/* Anchor Styling */
a {
    color: #0ff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff0099;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px; /* Padding on both sides */
    background-color: #111111; /* Dark background */
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.2); /* Neon effect */
    position: fixed;  /* Ensure navbar position is fixed at the top */
    top: 0;
    left: 0;
    width: 100%;  /* Full width */
    z-index: 1000; /* Ensure navbar stays on top */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

/* Logo Styling */
.navbar .logo a {
    color: #00fff0;
    font-size: 1.8em;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 5px #00fff0, 0 0 10px #9b00ff;
}

/* Navbar Links */
.navbar-items a {
    color: #00fff0;
    text-decoration: none;
    margin-left: 15px;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.navbar-items a:hover {
    color: #ff00ff;
    text-shadow: 0 0 5px #00fff0, 0 0 10px #9b00ff;
}

/* Hamburger Menu (Mobile) */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 2em;
    color: #00fff0;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: #111111; /* Dark background */
    position: fixed;  /* Position it on top of the page */
    top: 0;
    right: -100%; /* Initially position it off the right side */
    width: 100%; /* Adjust width of the menu */
    height: 50%;
    padding-top: 80px;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.2);
    z-index: 1000; /* Ensure it's above other content */
    transition: transform 0.3s ease-in-out; /* Smooth slide transition */
}

/* Show Mobile Menu when 'show' class is added */
.mobile-menu.show {
    transform: translateX(-100%); /* Move the menu from right to left */
}

/* Logo inside Mobile Menu */
.mobile-menu .logo-mobile {
    text-align: center;
    margin-bottom: 30px; /* Space between logo and menu items */
}

.mobile-menu .logo-mobile a {
    color: #00fff0;
    font-size: 2em; /* Larger size for logo on mobile */
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 0 5px #00fff0, 0 0 10px #9b00ff;
}


/* Mobile Menu Links */
.mobile-menu a {
    display: block;
    color: #00fff0;
    text-decoration: none;
    padding: 20px;
    text-align: center;
    font-size: 1.5em;
    transition: background-color 0.3s ease;
}

/* Hover Effect on Mobile Menu Links */
.mobile-menu a:hover {
    background-color: #00fff0;
    color: #111;
}

/* Close Button */
.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #00fff0;
    font-size: 2em;
    cursor: pointer;
    z-index: 1100; /* Ensure close button is above other elements */
}

/* Mobile Menu Visibility on Mobile Devices */
@media (max-width: 768px) {
    /* Hide navbar items on mobile */
    .navbar-items {
        display: none;
    }

    /* Show hamburger menu */
    .hamburger-menu {
        display: block;
    }

    /* Mobile Menu - Show when active */
    .mobile-menu {
        display: block;
    }

    /* Adjust padding for mobile */
    .navbar {
        padding: 10px 10px; /* Reduced padding on the sides */
    }

    /* Adjust logo size for smaller screens */
    .navbar .logo a {
        font-size: 1.6em;
    }

    /* Smaller font size for navbar links on mobile */
    .navbar-items a {
        font-size: 1.1em;
    }

    /* Adjust mobile menu link styles */
    .mobile-menu a {
        font-size: 1.2em;
        padding: 15px;
    }
}

/* Logout Button Styling */
.logout-button {
    background-color: #ff00ff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #0d0d0d;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.logout-button:hover {
    background-color: #00fff0;
    color: #000;
}

