/* Ogólne ustawienia */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Pudełko dla logowania */
.login-container {
    background-color: white;
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 320px;
}

/* Pudełko dla strony głównej */
.container {
    background-color: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    text-align: center;
    width: 400px;
}

/* Nagłówki */
h1, h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e50;
}

/* Formularze (login) */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 0.7rem;
    margin: 0.5rem 0 1.2rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Przyciski */
button, .button {
    width: 100%;
    padding: 0.7rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

button:hover, .button:hover {
    background-color: #0056b3;
}

/* Komunikaty o błędach */
.error {
    color: red;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
}

/* Dodatkowe elementy strony głównej */
.welcome {
    font-size: 18px;
    margin-bottom: 10px;
}

footer {
    margin-top: 30px;
    font-size: 12px;
    color: #7f8c8d;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: #ddd;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  font-weight: 600;
  transition: background 0.3s;
}

.tab-btn:hover {
  background: #ccc;
}

.tab-btn.active {
  background: #007bff;
  color: white;
  font-weight: bold;
}

.tab-content {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 0 5px 5px 5px;
  background: white;
}
