/* FORMS & LISTS: Formularze, listy usług, interakcje z elementami formularzy */

.uslugi-lista {
    max-width: 600px;
    margin: 40px auto;
    padding: 0;
    list-style: none;
}

.uslugi-lista li {
    background: #f8f8f8;
    border-left: 6px solid #0077b6;
    margin-bottom: 18px;
    padding: 18px 24px;
    font-size: 1.15em;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s, border-color 0.2s;
}

.uslugi-lista li:hover {
    background: #e3f2fd;
    border-left-color: #023e8a;
}

/* Linki wewnątrz li */
.uslugi-lista a {
    text-decoration: none;
}

.uslugi-lista a,
.uslugi-lista a:link,
.uslugi-lista a:visited {
    color: #222;
}

.uslugi-lista a:hover {
    text-decoration: none;
    color: #023e8a;
}

.problem-form {
    max-width: 500px;
    margin: 32px auto;
    padding: 32px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-form label {
    font-weight: 600;
    color: #023e8a;
    margin-bottom: 4px;
}

.problem-form input,
.problem-form textarea {
    padding: 10px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    font-size: 1em;
    background: #fff;
    transition: border-color 0.2s;
}

.problem-form input:focus,
.problem-form textarea:focus {
    border-color: #0077b6;
    outline: none;
}

.problem-form button {
    background: #0077b6;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.problem-form button:hover {
    background: #023e8a;
}

/* Styl dla tekstu, który ma wyglądać jak placeholder */
.placeholder-text {
    color: #999;
}

.problem-form textarea:focus {
    color: #333;
}

/* STYLIZE INPUT DLA PLIKÓW */
.problem-form input[type="file"] {
    font-size: 1em;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    margin-bottom: 20px;
}

.problem-form input[type="file"]:hover {
    border-color: #0077b6;
}

/* ========================================= */
/* MEDIA QUERY: OPTYMALIZACJA MOBILNA (max-width: 768px) */
/* ========================================= */
@media (max-width: 768px) {
    
    /* Zapewnienie lepszego odstępu dla list i formularzy na małym ekranie */
    .uslugi-lista {
        max-width: 100%;
        padding: 0 15px;
        margin: 20px auto;
    }

    .uslugi-lista li {
        font-size: 1.05em;
        padding: 15px;
    }

    .problem-form {
        max-width: 90%;
        padding: 20px 15px;
        margin: 20px auto;
    }
}