/* Stylizacja pól z błędami */
.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Stylizacja komunikatów błędów */
#validation-errors {
    margin-bottom: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#validation-errors .alert {
    border-left: 4px solid #dc3545;
}

#validation-errors h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #721c24;
}

#validation-errors ul {
    margin-bottom: 0;
    padding-left: 20px;
}

#validation-errors li {
    margin-bottom: 5px;
    color: #721c24;
}

/* Stylizacja indywidualnych błędów pod polami */
.text-danger[id^="error-"] {
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

/* Stylizacja komunikatu o sprawdzaniu */
#nip-checking {
    color: #6c757d;
    font-size: 13px;
    margin-top: 5px;
}

#nip-checking i {
    margin-right: 5px;
}
