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

body {
    font-family: Arial, sans-serif;
    background-color: #1b2838;
    color: #c7d5e0;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Re-add this to center content horizontally */
    min-height: 100vh;
    margin: 0;
    padding-top: 70px;  /* Add padding to account for fixed header */
}

a {
    color: #4da6ff;
}

header {
    position: fixed;  /* Change from absolute to fixed */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background-color: #171a21;
    border-bottom: 1px solid #2a475e;
    z-index: 1000;  /* Ensure header stays on top */
}

.top-menu-item {
    margin-right: 20px;
}

.language-switcher {
    color: #c7d5e0;
    font-size: 14px;
}

.language-switcher select {
    background-color: #2a475e;
    color: #c7d5e0;
    border: none;
    padding: 5px;
    border-radius: 4px;
    font-size: 14px;
}

.message {
    margin-bottom: 20px;
}

.container {
    text-align: center;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid #2a475e;
    border-radius: 8px;
    background-color: #2a475e;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input {
    width: 90%;
    max-width: 350px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #4a4a4a;
    border-radius: 4px;
    background-color: #1b2838;
    color: #c7d5e0;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: #66c0f4;
}

button {
    width: 90%;
    max-width: 350px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 25px;
    background-color: #66c0f4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #4a9ccc;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    input, button {
        font-size: 14px;
    }
}

/* Dashboard-specific styles */

.dashboard-container {
    width: 100%;
    padding: 20px;
    margin-top: 50px;  /* To account for the header height */
}

.dashboard-container h2,
.dashboard-container h3 {
    margin-bottom: 20px;
}

.dashboard-stats {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    margin: 20px 0;
}

.stat-box {
    background-color: #2a475e;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    width: 200px;
}

.stat-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #2a475e;
    margin-bottom: 10px;
    font-size: 14px;
}

button {
    background-color: #4da6ff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.successful-links ul {
    list-style-type: none;
    padding: 0;
}

.successful-links li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #2a475e;
}

.successful-links .grayed-out {
    color: #777;
}

.pagination {
    margin-top: 10px;
    text-align: center;
}

.pagination a {
    margin: 0 10px;
    text-decoration: none;
    color: #4da6ff;
}

/* CSS for Admin Panel */
.steam-ids-button:hover {
    background-color: #4a9ccc !important;
}