/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    margin: 0;
    padding: 0;
    padding-top: 60px;  /* Add padding to avoid overlap with navbar */
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally center the content */
    justify-content: center; /* Vertically center the content */
    height: 100vh;
    text-align: center;
}

h1, h2, h3 {
    color: #f1c40f; /* Gold color */
    font-weight: bold;
}

/* Navbar Style - fixed at the top */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Links */
a {
    color: #f1c40f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
button {
    background-color: #f1c40f;
    color: #1a1a1a;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #e67e22;
}

/* Form Styles */
input[type="text"], input[type="email"], input[type="password"], input[type="submit"], textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #333;
    border: 1px solid #ccc;
    color: #fff;
    border-radius: 5px; /* Add rounded corners for consistency */
    font-size: 16px;    /* Ensure consistent font size */
    box-sizing: border-box; /* Prevent padding from affecting width */
    font-family: Arial, sans-serif; /* Ensure consistent font */
    outline: none;  /* Remove outline on focus */
}

/* Reset specific styling for email input */
input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #333;
    border: 1px solid #ccc;
    color: #fff;
    border-radius: 5px;  /* Same rounded corners */
    font-size: 16px;      /* Same font size */
    font-family: Arial, sans-serif;  /* Consistent font family */
    box-sizing: border-box; /* Prevent padding from affecting width */
    outline: none;  /* Remove outline on focus */
}

/* Focus Styles */
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    border-color: #f1c40f; /* Gold color on focus */
    box-shadow: 0 0 5px rgba(241, 196, 15, 0.5); /* Subtle glow effect */
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 8px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #2c3e50;
}

/* Container */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Page Content Styling */
h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Center page content - applies to all pages */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
