body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f7;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

/* Spójne przyciski w górnym pasku nawigacji */
.btn-pulpit {
    background-color: #34495e !important;
    color: white !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: normal !important;
    transition: background-color 0.2s;
}

.btn-pulpit:hover {
    background-color: #2c3e50 !important;
}

.btn-pulpit.secondary {
    background-color: #7f8c8d !important;
}

.btn-pulpit.secondary:hover {
    background-color: #626d6e !important;
}

.logout-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.logout-btn:hover {
    background-color: #c0392b;
}

h2 {
    color: #2c3e50;
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #34495e;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 15px;
    background-color: #fafafa;
}

input:focus, select:focus {
    border-color: #3498db;
    outline: none;
    background-color: #fff;
}

.submit-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #219653;
}

.nav-links-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.nav-link-btn {
    background-color: #2980b9;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s;
}

.nav-link-btn:hover {
    background-color: #1f618d;
}

.nav-link-btn.secondary {
    background-color: #7f8c8d;
}

.nav-link-btn.secondary:hover {
    background-color: #626d6e;
}

.table-scroll-container {
    overflow-x: auto;
    margin-top: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: white;
}

th, td {
    padding: 14px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

th {
    background-color: #2c3e50;
    color: white;
    font-weight: bold;
}

tr:hover {
    background-color: #f8f9fa;
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 4px;
    margin-top: 10px;
}

.login-container {
    max-width: 420px;
    margin: 80px auto;
}