:root {
    --primary-color: #6B6B6B;
    --secondary-color: #121212;
    --text-color: #e0e0e0;
    --bg-color: #1e1e1e;
    --border-color: #333;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --hover-color: #4b4b4b;
    --input-bg: #2d2d2d;
    --header-bg: #181818;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo-container img {
    height: 30px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #aaa;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #fff;
}

main {
    flex: 1;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.container {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.container.wide {
    max-width: 1000px;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #ccc;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--input-bg);
    color: var(--text-color);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(92, 157, 237, 0.2);
}

button,
.button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: background-color 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: normal;
}

button:hover,
.button:hover {
    background-color: var(--hover-color);
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

button:active,
.button:active {
    transform: translateY(0);
}

.button-success {
    background-color: var(--success-color);
}

.button-success:hover {
    background-color: #27ae60;
}

.button-error {
    background-color: var(--error-color);
}

.button-error:hover {
    background-color: #c0392b;
}

.button-neutral {
    background-color: #555;
    color: #eee;
}

.button-neutral:hover {
    background-color: #666;
    color: #fff;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--bg-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #252525;
    font-weight: 600;
    color: #ccc;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #2a2a2a;
}

footer {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    background: var(--header-bg);
    margin-top: auto;
}

.timestamp {
    font-family: 'Consolas', 'Monaco', monospace;
    color: #cccccc;
    font-size: 0.9rem;
}

.card {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}