/* Trade Wars 2002 PHP Version - Main Stylesheet */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #000;
    color: #0f0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #0f0;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2rem;
    color: #0f0;
}

.user-info {
    text-align: right;
}

.user-info a {
    color: #0ff;
    text-decoration: none;
}

.user-info a:hover {
    text-decoration: underline;
}

/* Game container */
.game-container {
    display: flex;
    gap: 20px;
}

.sidebar {
    width: 300px;
    background-color: #001100;
    padding: 15px;
    border: 1px solid #0f0;
}

.main-content {
    flex: 1;
    background-color: #001100;
    padding: 15px;
    border: 1px solid #0f0;
}

/* Player and ship stats */
.player-stats, .ship-stats {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #0f0;
}

.player-stats h3, .ship-stats h3 {
    color: #0ff;
    margin-bottom: 10px;
}

/* Navigation */
.navigation ul {
    list-style: none;
}

.navigation li {
    margin-bottom: 8px;
}

.navigation a {
    color: #0ff;
    text-decoration: none;
    display: block;
    padding: 5px;
    border: 1px solid transparent;
}

.navigation a:hover {
    border-color: #0f0;
    background-color: #002200;
}

/* Sector information */
.sector-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #0f0;
}

.sector-info h2 {
    color: #0ff;
    margin-bottom: 10px;
}

/* Sector contents */
.sector-contents > div {
    margin-bottom: 20px;
}

.sector-contents h3 {
    color: #0ff;
    margin-bottom: 10px;
}

.sector-contents ul {
    list-style: none;
}

.sector-contents li {
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #003300;
    background-color: #001100;
}

/* Authentication forms */
.auth-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #001100;
    padding: 20px;
    border: 1px solid #0f0;
}

.auth-form h2 {
    color: #0ff;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #0ff;
}

.form-group input {
    width: 100%;
    padding: 8px;
    background-color: #000;
    border: 1px solid #0f0;
    color: #0f0;
    font-family: 'Courier New', Courier, monospace;
}

.form-group small {
    display: block;
    color: #0a0;
    margin-top: 5px;
}

.form-actions {
    margin-top: 20px;
    text-align: center;
}

.form-actions button {
    padding: 10px 20px;
    background-color: #003300;
    border: 1px solid #0f0;
    color: #0f0;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

.form-actions button:hover {
    background-color: #004400;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: #0ff;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Error messages */
.error-message {
    background-color: #300;
    border: 1px solid #f00;
    color: #f00;
    padding: 10px;
    margin-bottom: 20px;
}

.error-message ul {
    margin-left: 20px;
}

/* Footer */
footer {
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #0f0;
    text-align: center;
    font-size: 0.8rem;
    color: #0a0;
}