/*global reset*/
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/*body*/
body
{
    background: #0a0f1c;
    color: #fff;
}

header
{
    background: #0f172a;
    padding: 15px 0;
    border-bottom: 1px solid #1f2937;
}

header h1
{
    color: #38bdf8;
}

nav a
{
    color: #cbd5f5;
    margin-left: 20px;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover
{
    color: #38bdf8;
}

/*cards*/
.auth-card
{
    max-width: 500px;
    margin: 60px auto;
    padding: 30px;
    background: #111827;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    text-align: center;
}

.card
{
    background: #111827;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1f2937;
}

/*inputs*/
input
{
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #0a0f1c;
    border: 1px solid #1f2937;
    color: white;
    border-radius: 6px;
}

input:focus
{
    outline: none;
    border-color: #38bdf8;
}

/*buttons*/
button
{
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    background: #38bdf8;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover
{
    background: #0ea5e9;
}

/*error*/
.error
{
    color: red;
    margin-top: 10px;
}

/*table (leaderboard)*/
table
{
    margin-top: 20px;
    border-collapse: collapse;
}

th, td
{
    padding: 10px;
    border-bottom: 1px solid #1f2937;
}

/*terminal*/
#terminal
{
    background: black;
    color: lime;
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    font-family: monospace;
    border-radius: 8px;
    margin-bottom: 10px;
}

/*links*/
a
{
    color: #38bdf8;
}

.card:hover
{
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.terminal-input
{
    background: black;
    color: lime;
    border: none;
    font-family: monospace;
}


/*header layout*/
.header-container
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*nav layout*/
nav
{
    display: flex;
    align-items: center;
    gap: 30px;
}

/*left links*/
.nav-left
{
    display: flex;
    gap: 15px;
}

/*right side*/
.nav-right
{
    display: flex;
    align-items: center;
    gap: 15px;
}

/*username*/
.nav-right span
{
    color: #38bdf8;
    white-space: nowrap;
}

nav
{
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-left,
.nav-right
{
    flex-wrap: nowrap;
}