/* Reset some default styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* Container for the main content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Page titles */
h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

input, select {
    font-size: 1rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

input[type="submit"] {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    background-color: #0275d8;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #014c8c;
}

.submit-button {
    width: 50%;
    background-color: #0275d8;
    border: none;
    color: white;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition-duration: 0.4s;
}

.submit-button:hover {
    background-color: #014c8c;
}

.table {
    width: 99%;
    border-collapse: collapse;
    margin: 1em auto;
}

.table th,
.table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Error and success messages */
.error, .success {
    padding: 1rem;
    margin-bottom: 1rem;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

/* Success page content */
.success-content {
    text-align: center;
    padding: 2rem;
    border: 2px solid #155724;
    border-radius: 8px;
}

/* Error page content */
.error-content {
    text-align: center;
    padding: 2rem;
    border: 2px solid #721c24;
    border-radius: 8px;
}

/* Index page content */
.index-content {
    text-align: center;
    padding: 2rem;
    border: 2px solid #0275d8;
    border-radius: 8px;
}

/* Admin pages content */
.manage-content {
    text-align: center;
    padding: 2rem;
    border: 2px solid #5a6268;
    border-radius: 8px;
}

/* Gamekey entry styles */
.gamekey-entry {
    margin-bottom: 1rem;
}