/* Reset i podstawy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 40px;
}

/* Kontener */
.container {
    background: #1e1e1e;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Nagłówki */
h1, h2, h3 {
    color: #f5f5f5;
    margin-bottom: 20px;
}

/* Formularze */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"],
input[type="password"],
button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

input[type="text"],
input[type="password"] {
    background-color: #2a2a2a;
    color: #f0f0f0;
}

input::placeholder {
    color: #aaa;
}

/* Przyciski */
button {
    background: linear-gradient(135deg, #0066cc, #0099ff);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: linear-gradient(135deg, #005bb5, #008ae6);
}

/* Linki */
a {
    color: #0099ff;
    text-decoration: none;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
}

/* Komunikaty */
p.error {
    color: #ff6666;
    margin-bottom: 10px;
}

p.success {
    color: #66ff99;
    margin-bottom: 10px;
}

/* Tabela admina */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
}

table th {
    background-color: #222;
    color: #ddd;
}

table tr:nth-child(even) {
    background-color: #1a1a1a;
}
