/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000000; /* czarne tło zgodnie z dashboardem */
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Kontener formularza + logo */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

/* Formularz */
form {
    background-color: #111; /* ciemny panel jak menu */
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Logo nad formularzem */
.logo {
    display: block;
    width: 180px; /* większe logo */
    margin-bottom: 20px;
}

/* Nagłówek nad logo */
.header-text {
    font-size: 1.5rem;
    color: #bfa34a; /* złoty */
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

/* Tytuł formularza */
.form-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffd700; /* jaśniejsze złoto */
}

/* Pola input */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: background 0.3s, border 0.3s;
}

input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #bfa34a;
}

/* Checkbox */
input[type="checkbox"] {
    margin-right: 8px;
}

label {
    font-size: 0.9rem;
    color: #fff;
}

/* Przycisk */
button {
    width: 100%;
    padding: 12px 0;
    background-color: #bfa34a; /* złoty */
    border: none;
    border-radius: 6px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

button:hover {
    background-color: #ffd700;
}

/* Linki pod formularzem */
.center-link {
    margin-top: 15px;
    font-size: 0.9rem;
}

.center-link a {
    color: #bfa34a;
    text-decoration: none;
    transition: color 0.3s;
}

.center-link a:hover {
    color: #ffd700;
}

/* Lista błędów */
ul {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

ul li {
    color: #ff6b6b; /* czerwony dla błędów */
    margin-bottom: 5px;
}

/* Informacja o sile hasła */
#password-strength {
    display: block;
    font-size: 0.85rem;
    color: #bfa34a;
    margin-bottom: 10px;
}

/* Responsywność */
@media (max-width: 500px) {
    form {
        padding: 30px 20px;
    }

    .logo {
        width: 140px;
        margin-bottom: 15px;
    }

    .header-text {
        font-size: 1.2rem;
    }

    .form-title {
        font-size: 1.1rem;
    }
}
