/* Reset i baza dla formularza */
form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
}

/* Inputy tekstowe */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Hover i focus */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.3), inset 0 1px 3px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Button */
button,
input[type="submit"] {
    width: 100%;
    padding: 4px;                                           /*wysokość przycisku*/
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: whitek;                                          /*kolor napisu*/
    border: none;
    border-radius: 30px;                                    /*zaokraglenie rogów przysisku*/
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover,
input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
}

/* Checkbox i radio */
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: 10px;
    accent-color: #ff6b6b; /* Kolor dla nowoczesnych przeglądarek */
}

/* Responsywność */
@media (max-width: 480px) {
    form {
        margin: 10px;
        padding: 15px;
    }
}
